DEV Community

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

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.