Formatting Code in VS Code

1) Highlight the code you want formatted (Ctrl-A if you want it all)

2) Hit Alt+Shift+F

Advertisements