News for hackers. Stuff that matters.
Re:Visual Studio Code 1.0 by jhasse on Thursday April 14, 2016 @03:58PM (#11499860)
Having the git diff in your editor gives you syntax highlighting and let's you edit it (the right side) like you're used to.

I guess the killer feature of VS Code is multiple cursors (Ctrl+D). I only know of Sublime Text and Atom who also have this feature on Linux, not sure about Kate. Sublime Text is closed source and not gratis, Atom is slow and buggy.

Re:Visual Studio Code 1.0 by Skinney on Thursday April 14, 2016 @06:18PM (#11500765)
Not allowed to reply to your post, so replying here.

No, not built-in. They both have plugins, and allow you to set the key shortcut to whatever you please.

That they are not built-in really doesn't matter though. All these editors revolve around plugins, and it's common practice to save your preferences on github or the like so that it's easy to use the same settings and plugins on every machine.

Re:Visual Studio Code 1.0 by jhasse on Thursday April 14, 2016 @08:45PM (#11501343)
> Not allowed to reply to your post, so replying here.

I think you have to wait a few minutes, then it gets activated.

> No, not built-in. They both have plugins, and allow you to set the key shortcut to whatever you please.

That's too complicated for me. Last time I've tried to set up vim and emacs to my liking it was a mess: A lot of copying and pasting around random code, changing configuration files I didn't understand, ...

Re:Visual Studio Code 1.0 by Skinney on Friday April 15, 2016 @05:46AM (#11503152)
In all respect, but you are presumably a software developer. If someone approached you saying that language x is a mess, as they've copy-pasted around random code and changed configuration files they didn't understand. Would you accept that as valid criticism or told the person to actually learn their tools?

Granted, Atom, Sublime, VSCode etc. are easier to start with because they expose customization through JSON files instead of a custom programming language. But if someone where to tell you that they didn't understand how multiple cursors worked in VSCode, you would tell them to learn their tools and send them a link to the relevant page of the documentation (if that).

If you know your editor, adding functionality like multiple cursors is easy. The greatest strengths of extensible lightweight editors like VSCode and Emacs, is that such functionality is only a package away.

Re:Visual Studio Code 1.0 by jhasse on Friday April 15, 2016 @05:54AM (#11503179)
> they didn't understand how multiple cursors worked in VSCode, you would tell them to learn their tools and send them a link to the relevant page of the documentation (if that).

No that's the thing: I would tell them to press Ctrl+D, simple as that. Multiple cursors in Sublime Text, Atom and VSCode are intuitive and it's the first time in an editor that I actually use them.

Re:Visual Studio Code 1.0 by Skinney on Thursday April 14, 2016 @06:04PM (#11500698)
Emacs and Vim also have multiple cursors.
Re:Visual Studio Code 1.0 by jhasse on Thursday April 14, 2016 @06:14PM (#11500749)
Built-in? What is the equivalent of Ctrl+D (Sublime Text, Atom and VS Code) in vim and emacs?