Skip to content

Instantly share code, notes, and snippets.

@niczero
Created May 13, 2023 08:22
Show Gist options
  • Save niczero/9520c0c18157fc6648e3bdb2f80ede28 to your computer and use it in GitHub Desktop.
Save niczero/9520c0c18157fc6648e3bdb2f80ede28 to your computer and use it in GitHub Desktop.
VS Code tips

Key bindings

eg To add keybinding for jump-to-matching-element

  • Go to File > Preferences > Keyboard Shortcuts
  • enter: editor.emmet.action.matchTag
  • click on the result record
  • enter: ctrl+shift+5
  • once that's accepted (warning you of duplicates) right-click and select Change When Expression
  • enter: editorTextFocus
  • now go to some source window and test that ctrl+% can jump between elements, eg 'div' elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment