News for hackers. Stuff that matters.
Re:Microsoft Launches Visual Studio Code, a Free Cross-Platf... by tracker1 on Wednesday April 29, 2015 @01:30PM (#9460014)
I actually tried it for about a half hour, and so far like it a lot... I don't know if/what plugins will become available. I do like that the side menu makes it much easier to show/hide the file directory view (which is indispensable imho). Also, the git integration seems very nice, I haven't tried it as I'm editing via a samba share to a nix machine and don't want to screw up the file permissions.

A couple nitpicks...

* There doesn't seem to be a way to set the file encoding... can I assume that files will always be saved in UTF8 w/o BOM? * There doesn't seem to be a way to set line endings... can I assume that files will always be saved with unix (lf) line endings? By extension, will this fix windows line endings, or mixed to LF line endings? * It would be really nice if there was an integrated command prompt, similar to cloud9's, that could be shown/hidden. Configurable to use a given shell (in windows, I'd prefer a git-bash prompt).

All in all, really nice work, and this may well replace sublimetext everywhere for me. I don't use any of the more advanced plugins with sublime, and I actually like the VSC editor's UI more. They seem to have burrowed the hotkeys from sublimetext.

Re:Microsoft Launches Visual Studio Code, a Free Cross-Platf... by qhe on Wednesday April 29, 2015 @02:35PM (#9460626)
You can set line endings on the bottom right on the blue toolbar right next to the language, where it should say LF or CRLF.
Re:Microsoft Launches Visual Studio Code, a Free Cross-Platf... by tracker1 on Wednesday April 29, 2015 @04:30PM (#9461519)
Thanks... do you know if files save as UTF8 w/o BOM by default? Most MS/Windows apps seem to set BOM, which is problematic in nix tools.
Re:Microsoft Launches Visual Studio Code, a Free Cross-Platf... by alexdima on Thursday April 30, 2015 @11:11AM (#9465524)
If you open a file with a UTF8 BOM, then the BOM will be preserved. New files don't have the UTF8 BOM.