vscode Cheatsheet
Start VS Code from commandline: $ code .
Cmd+B
: open / close left panel.
Command Pallete
Cmd + P
or Ctrl + P
: Open command pallete
>
: commands@
(orCmd + Shift + .
): scroll to symbol#
global symbol search:
(orControl + G
): go to line
Editor
Shift + left/right arrow
: select textoption + left/right arrow
: got to previous/next wordCmd + D
: select the word. Press multiple times to select multiple same word.Cmd + L
: select the lineoption/Alt + click
: set multiple cursorsoption/Alt + up/down arrow
: move the line up or downoption/ALt + Shift + up/down arrow
: copy the line up or downCmd + /
: toggle comment