How to format file in Visual Studio Code (hotkeys)?

Sergii picture Sergii · Jul 8, 2017 · Viewed 8.1k times · Source

How to format file | project folder | all project files (using hot keys AND using menu) in Visual Studio Code?

Answer

nick picture nick · Jul 9, 2017

If you're on Windows use Shift + Alt + F to make your code "pretty".

(This is similar to Ctrl + K + D in Visual Studio)

You will have to do this for each individual file though. I don't know of a way to format all files at once.