vs format code code example
Example 1: format code in vs code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Example 2: format in visual studio code
Ctrl+K Ctrl+F
Example 3: visual studio code windows auto indent
Shift + Alt + F
Example 4: how to replace text for same words vs code
(1) Select your code
(2) Ctrl+Shift+L (which is editor.action.selectHighlights)
(3) voila, multiple cursors done - type away.