Re:Visual Studio Code is now open source
by tapoxi on Wednesday November 18, 2015 @11:01AM
(#10588415)
As an Atom user that's only dabbled with VS Code when it was announced, what are its advantages? Last time I tried Code it seemed like a fork of Atom with Microsoft branding.
[ Parent
| on HN ]
Re:Visual Studio Code is now open source
by afiedler on Wednesday November 18, 2015 @11:04AM
(#10588440)
One of the biggest advantages that I know of is that VSC has a very good NodeJS debugger for Javascript and Typescript[1]. Having the debugger integrated into the editor is huge improvement over Node Inspector. Last time I tried Atom's debuggers, they were not very good.
Re:Visual Studio Code is now open source
by thebaer on Wednesday November 18, 2015 @11:25AM
(#10588659)
The new Go extension [1] supports debugging as well. Just starting to play with it, but so far it's giving me a reason to start using VS Code.
Re:Visual Studio Code is now open source
by shankun on Wednesday November 18, 2015 @11:40AM
(#10588796)
VS Code's debugger has an open extension model that allows adding debuggers for other languages. We have Node, Go, and Chrome debugging today, and are planning on adding others.
Re:Visual Studio Code is now open source
by igravious on Thursday November 19, 2015 @09:45AM
(#10595013)
Ruby please, general Ruby (& Rails) support!
Re:Visual Studio Code is now open source
by lewisl9029 on Wednesday November 18, 2015 @12:00PM
(#10588960)
Long time Atom user here as well.
When I first tried VS Code, the first thing that I noticed was how much better the performance was compared to Atom. From general snappiness of basic editing tasks to startup times to working with large files, VS Code simply outperformed Atom across the board according to my brief unscientific observations.
At the time, I ended up sticking with Atom mainly because VS Code wasn't open source and lacked extensions, but it looks like this release addresses both issues.
Well done, Microsoft. I'm definitely going to give VS Code another serious look and recommend other Atom users to do the same.
Re:Visual Studio Code is now open source
by plexicle on Wednesday November 18, 2015 @12:55PM
(#10589433)
This is spot on for me as well. I always wondered how VSC was so much faster given that they are both on top of Electron. In either case, this is all great news.
Re:Visual Studio Code is now open source
by ehaughee on Wednesday November 18, 2015 @01:40PM
(#10589775)
Electron, iirc, is just the UI layer. Atom actually has a lot of code written to render, edit, and rerender text (they were initially using React at one layer of the process). I can't find it now, but there was a good blog post from the Atom team that discussed their efforts in detail. So I guess I'm trying to say that I believe the code handling the slow parts is predominantly unrelated to the UI layer. Also, iirc, VSCode's editor is based on Monaco (http://www.zdnet.com/article/microsofts-browser-based-dev-to...).
Re:Visual Studio Code is now open source
by spleeder on Wednesday November 18, 2015 @01:24PM
(#10589665)
This is my experience as well. I am really impressed at how VS Code as no problem working with large and minified files.
Re:Visual Studio Code is now open source
by dancsi on Wednesday November 18, 2015 @06:52PM
(#10591650)
It really depends on how large is considered large, since for me it crashes when opening a 60MB XML file...
Re:Visual Studio Code is now open source
by edgyswingset on Wednesday November 18, 2015 @11:03AM
(#10588429)
There's other features, but the biggest for me is if you're writing TypeScript or C# you get first-class visual debugging support. Also the live Markdown Preview (cmd-shift-v) is pretty awesome.
Re:Visual Studio Code is now open source
by lcnmrn on Wednesday November 18, 2015 @11:09AM
(#10588483)
You can use Split Editor and Markdown Preview to have live preview while editing.
Re:Visual Studio Code is now open source
by hekul on Wednesday November 18, 2015 @12:22PM
(#10589150)
The most recent release of VS Code includes a new `Markdown: Open Preview to the Side` command (cmd+k, v) which does this with a single command.
Re:Visual Studio Code is now open source
by krisdol on Wednesday November 18, 2015 @02:19PM
(#10590029)
I don't see how that's different from atom.
Re:Visual Studio Code is now open source
by edgyswingset on Wednesday November 18, 2015 @11:20AM
(#10588605)
Yep! That's how I do it.
Re:Visual Studio Code is now open source
by city41 on Wednesday November 18, 2015 @12:09PM
(#10589041)
Atom also has live Markdown preview (ctrl-shift-M)
Re:Visual Studio Code is now open source
by BruceM on Wednesday November 18, 2015 @11:07AM
(#10588464)
When writing extensions, you get full TypeScript typings for everything.
Re:Visual Studio Code is now open source
by ihsw on Wednesday November 18, 2015 @11:05AM
(#10588444)
You can set breakpoints for your NodeJS code, be it TypeScript or vanilla JavaScript.
Re:Visual Studio Code is now open source
by royka118 on Wednesday November 18, 2015 @11:02AM
(#10588423)
I tried it out but too but Atom pulled me back because of its plugins and linters
Re:Visual Studio Code is now open source
by ihsw on Wednesday November 18, 2015 @11:04AM
(#10588438)
VSCode is extensible now -- they are called extensions.
Re:Visual Studio Code is now open source
by JorgeGT on Wednesday November 18, 2015 @11:11AM
(#10588505)
Interesting! I see there's a LaTeX highlighter but it seems there's no compiling add-on :(
Re:Visual Studio Code is now open source
by WorldMaker on Wednesday November 18, 2015 @12:17PM
(#10589098)
You probably don't need a dedicated compiling add-on VS Code has a very simple, but capable, generic task running system. If you hit Ctrl+Shift+B ("Build" shortcut) it will launch and if it is the first time you've run it in that folder it will scaffold for you a sample JSON config file with a bunch of examples of how to configure it (and more examples are online).
Re:Visual Studio Code is now open source
by JorgeGT on Wednesday November 18, 2015 @06:20PM
(#10591478)
Thanks! I tried the most basic building command possible and it works well. Displaying the PDF on the right panel would be very nice but it's a start. For reference I used the following tasks.json:
{
"version": "0.1.0",
"command": "texify",
"isShellCommand": true,
"args": ["-p","${file}"],
"isBuildCommand": true,
"showOutput": "always"
}