vs code cheatsheet code example

Example 1: command palette vscode

On windows: Use Ctrl+Shift+P to open the commmand palette

Example 2: vs code open file shortcut

To open a file:
  1. press ctrl + p
  2. enter filename
  3. To go to line append ":10"
  4. To go to function append "@foo"

Example 3: visual studio code terminal window shortcut back

// Toggle between terminal and editor focus
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus"},
{ "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus"}