DEV Community

Discussion on: Why I switched from Atom to Visual Studio Code

Collapse
 
stephenjbell profile image
Stephen Bell

I love Git integration. Highlighting the changed lines in the document and the scrollbar makes it easy to see where you're working when you're scrolling through your document.

One of the sore points for me with VS Code was a lack of "paste and indent", but that's easy to fix with an extension: marketplace.visualstudio.com/items...

Collapse
 
ben profile image
Ben Halpern

Nice, installed.

Collapse
 
johnbwoodruff profile image
John Woodruff

There's also several auto formatting user settings that accomplish the same thing:

"editor.formatOnType"
"editor.formatOnPaste"
"editor.formatOnSave"
Enter fullscreen mode Exit fullscreen mode

Note that this will format the whole document as opposed to just the pasted lines. However, if you like a cleanly formatted document, that won't be a problem. It may, however, take some tweaking to get the formatting rules to how you like them.

Thread Thread
 
johnbwoodruff profile image
John Woodruff

UPDATE: Just got a new version of VS Code released today! Now includes auto indentation:

code.visualstudio.com/updates/v1_1...

Helps if you don't want the full formatting, just indentation.

Collapse
 
moopet profile image
Ben Sinclair • Edited

Hasn't that sort of git integration been available in every IDE for years? I seem to remember NetBeans doing it with an option to use its own internal revision system as well as git, svn, cvs, etc, and that was several years ago. Even vim has had plugins to show git changes with little coloured markers in the gutter for that long.
Not that I'm saying it's not good in VCS, I haven't tried it - I'm just saying that what you're describing is not something that would make me think it was anything special.