News for hackers. Stuff that matters.
Re:Visual Studio Code 1.9 by majkinetor on Thursday February 02, 2017 @02:25PM (#13553637)
This is preciselly the reason I and many of my collegues love it - no GUI for settings. This means you can use hundreeds of tools to manage your settings and it is in true spirit of unix philosophy to keep everything as a text file.

Much more time is wasted by looking for options in GUI equivalent and reproducibility, sharing, backup and comparing (diff) are way harder or nonexistent. Creating frontend for it is trivial, but honestly, why drop from horse to donkey as they say.

All the apps should have settings like that.

Re:Visual Studio Code 1.9 by yokohummer7 on Thursday February 02, 2017 @02:37PM (#13553777)
Yeah, like many others I maintain my configuration files in Git, so having to use files to configure is a pro, not a con, at least for me! I haven't been using VS Code but this sole factor might be the reason I will reconsider using it in the future.

Some might say having both manual configuration and automated dialog would be better, but many such interfaces ruin the structures of my intentionally organized setting files. I will take no GUI than misbehaving GUI at any time.

Re:Visual Studio Code 1.9 by koffiezet on Thursday February 02, 2017 @05:24PM (#13555429)
This is one of the things I really like about VC, they just implemented their config editing largely the way they support any language: just a json-file (but with comments) which has full-blown intellisense, and offers you a complete example of the defaults side-to-side with clear examples and explanations.

It also allows you to override certain settings per project/directory, which can then easily be included in git (like files to exclude from the file view for a specific project, path/tool settings, indentation settings, ...)

Re:Visual Studio Code 1.9 by joekrill on Thursday February 02, 2017 @02:29PM (#13553688)
To your point, Atom allows both. Don't like the UI? Just edit config.cson or whatever directly! You're not locked into it.

I just find that if I have to go through a LOT more steps without a UI.

Re:Visual Studio Code 1.9 by majkinetor on Thursday February 02, 2017 @02:33PM (#13553745)
I would rather have devs invest time in serious functionality then doing stuff like GUI.

Otherwise, this quickly turns to nonsence such as Nano server image builder [1] because Microsoft is still babysitting people who CBB to spend few hours to learn Powershell basics and need a GUI that generate 1 liner script.

Microsoft should definitelly rise beyond click next culture.

[1] https://blogs.technet.microsoft.com/nanoserver/2016/10/15/in...

Re:Visual Studio Code 1.9 by st3v3r on Thursday February 02, 2017 @02:42PM (#13553824)
Discoverability and ease of use ARE serious functionality.
Re:Visual Studio Code 1.9 by AsyncAwait on Thursday February 02, 2017 @04:06PM (#13554652)
To be fair, the settings editor in VSCode shows all the settings possible in a split window with user settings, with neat categories and auto-completion. It's almost like a GUI setting dialog noways and makes it way easier to see what you have changed.
Re:Visual Studio Code 1.9 by mixedCase on Thursday February 02, 2017 @04:28PM (#13554821)
This: https://i.imgur.com/oPYr6Ch.png isn't discoverable?

The comments tell you in detail how each setting works (as you can see, they are even translated), you can search for a specific setting on the top, and it's categorized as well; defaults on the left, your own on the right.

Re:Visual Studio Code 1.9 by st3v3r on Thursday February 02, 2017 @05:18PM (#13555379)
No, wading through a huge text file is not discoverable.
Re:Visual Studio Code 1.9 by kupiakos on Thursday February 02, 2017 @05:44PM (#13555658)
How would you suggest that many settings be implemented in a GUI? It'd have to break them up into groups, and it appears that's exactly what VS Code is doing.
Re:Visual Studio Code 1.9 by majkinetor on Thursday February 02, 2017 @02:56PM (#13553978)
There are different ways to discover stuff. Powershell itself clearly proves that it can be done on system level without any GUI whatsoever.

We had the "ease of use" in GUI paradigm for decades and it didn't hold. Why don't you give it a chance as a text ?

Re:Visual Studio Code 1.9 by st3v3r on Thursday February 02, 2017 @05:19PM (#13555395)
Why do you want to limit yourself to only one way of doing things?
Re:Visual Studio Code 1.9 by yokohummer7 on Thursday February 02, 2017 @02:48PM (#13553877)
Just curious, is Atom's UI considerate about modifying the content of a configuration file? I'm tired of programs changing the structure of it willy-nilly without even notifying the user (e.g. a click in the toolbar implicitly loads the configuration file and saves it with a different layout). Is Atom OK with this?
Re:Visual Studio Code 1.9 by etatoby on Thursday February 02, 2017 @02:59PM (#13554000)
This is a problem with Sublime Text too. Don't bother putting comments in your settings file, or rearranging its contents. One hit of Ctrl-minus, even by accident, and your config file is wiped out and replaced with an auto-generated one, which incidentally contains your updated font size. You're welcome.
Re:Visual Studio Code 1.9 by vvanders on Thursday February 02, 2017 @02:28PM (#13553662)
Seriously, Ctrl+Shift+P and start typing gets me to what I need 99% of the time, it's glorious.

Combined with the VIM plugin and I rarely need to touch the mouse.

Re:Visual Studio Code 1.9 by majkinetor on Thursday February 02, 2017 @02:58PM (#13553994)
I didn't try vim plugin but in general, no vim plugin is substitute for vim.
Re:Visual Studio Code 1.9 by AsyncAwait on Thursday February 02, 2017 @04:08PM (#13554669)
If you mostly just want the memorized shortcuts to work, they tend to work OK in VSCode, Atom, IntelliJ and even Emacs - Spacemacs is even a better ViM for some.
Re:Visual Studio Code 1.9 by emidln on Thursday February 02, 2017 @06:53PM (#13556240)
As someone who did a fair amount of hacking in vimL, evil-mode is a drastically improved vim. It gets basically everything right, out of the box, and extending it isnt nearly as painful as using vimL or interacting with vim's Python API.
Re:Visual Studio Code 1.9 by flukus on Thursday February 02, 2017 @06:57PM (#13556280)
> It gets basically everything right, out of the box

Custom bindings don't work on the default document. That's a pretty big failure right out of the box.

And I still prefer vimL to lisp, it's the php of editor extension languages. It's not great for big plugins but ok great to slap things together quickly.

Re:Visual Studio Code 1.9 by Lio on Friday February 03, 2017 @02:54AM (#13558444)
It doesn't, in my experience, get insert mode shortcuts like C-h right out of the box because it clashes with emacs' help mode functionality.
Re:Visual Studio Code 1.9 by st3v3r on Thursday February 02, 2017 @02:41PM (#13553809)
I don't get that mindset at all. I can see desiring a file/command line interface for settings, but to want no GUI option at all for others is just strange.
Re:Visual Studio Code 1.9 by baldfat on Thursday February 02, 2017 @02:58PM (#13553999)
The difference back in the years of old between running a Linux Server and running a Windows Server is one was GUI based and one is text based. I prefer text based a thousand times over. GUI is fine for single use but for text files it is a simple softlink and git away from having everything the same everywhere.

I use VS Code in three locations in three different OS and I love how it works the same everywhere because I just have text files.