Skip to content

Instantly share code, notes, and snippets.

@jerkovicl
Forked from rauschma/vscode favorite shortcuts.md
Last active July 26, 2018 16:53
Show Gist options
  • Save jerkovicl/67bed7320d7042f05e620333368d5294 to your computer and use it in GitHub Desktop.
Save jerkovicl/67bed7320d7042f05e620333368d5294 to your computer and use it in GitHub Desktop.

Visual Studio Code shortcuts I use often

Open file:

  • Open a file through @code's quick pick Ctrl/Cmd+P in a new editor group with Ctrl+Enter

Navigate:

  • F8 : jump to next error
  • Alt+leftarrow : go back to previous code location
  • F7 : to jump between occurrences of a highlighted symbol, F7 goes to next occurrence, Shift+F7 goes to the previous one
  • Ctrl/Cmd+Shift+O : navigate between symbols in the current file
  • :<line number> : navigate to specific line

Refactor:

  • F2 : rename current symbol

  • Ctrl/Cmd+Shift+L : Quick rename all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment