vscode auto save code example
Example 1: autoformating for code in vscode when i save it
"editor.formatOnSave": true
Example 2: vscode autoindent on save
Use [Ctrl]+[Shift]+[p]
Type "Preferences"
Select "Preferences: Open User Settings"
Search for "format"
Change "Editor: Format On Save" or "Editor: Format On Paste".
Example 3: multiple word select in vs code
//Selects the word at the cursor, or the next occurrence of the current selection.
Ctrl+D
//To add cursors to all the occurrences of a highlighted word
Ctrl+Shift+L
//Then select all occurrences of that word
Example 4: command palette vscode
On windows: Use Ctrl+Shift+P to open the commmand palette