how to format document in vs code code example
Example 1: vscode format code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Example 2: format in visual studio code
Ctrl+K Ctrl+F
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Ctrl+K Ctrl+F