Format document

VS Code keyboard shortcut

Shift + Alt + F

Press Shift + Alt + F to format document.

Practice this shortcut All VS Code shortcuts