Shortcut Keys of VS Code

press Alt + Click to add multiple cursors at different locations

press Ctrl + D repeatedly to select the next occurrence of the highlighted word one by one

press Ctrl + Shift + L to select all occurrence of the highlighted word

press Ctrl + Alt + Down Arrow key or Up Arrow key to insert a new cursor below or above

press Alt + Down Arrow key or Up Arrow key to move that line down or up.

press Alt + Shift + Down Arrow key or Up Arrow key to add one more line

press Ctrl + X to cut that line

press Ctrl + C to copy that line

press Ctrl + V to paste wherever you want

press Ctrl + / to comment that line, you can use after selection

press Ctrl + Enter to keep the current search term but move to a new line

press Ctrl + Shift + Enter to insert a new line above the current line

press Ctrl + Shift + P to open the Command Palette

press Ctrl + K,S to open the keyboard shortcuts settings

press Ctrl + Shift + H to open the search and replace panel for all files

press Ctrl + Shift + T to reopen the last closed tab