Skip to content

Instantly share code, notes, and snippets.

@rendorHaevyn
Last active March 25, 2021 06:59
Show Gist options
  • Save rendorHaevyn/3c2bf14bcb21b0d4135eeb5331d6a22d to your computer and use it in GitHub Desktop.
Save rendorHaevyn/3c2bf14bcb21b0d4135eeb5331d6a22d to your computer and use it in GitHub Desktop.
VSCode_Commands
ctrl-shift-k: delete selected link
alt-shift-up: duplicate current line, below
alt-shift-down: duplicate current line, below
ctrl-shift-{: collapse bracketed region
ctrl-shift-}: expand bracketed region
ctrl-shift-\: move cursor between bracketed region start and end bracket
ctrl-shift-.: peek and navigate sections within file, such as python classes and functions
ctrl-up: code scroll up
ctrl-down: code scroll down
alt-up: move selected line up
ald-down: move selected line down
alt-z: word wrap toggle
ctrl-backspace: delete word prior to cursor
ctrl-delete: delete work ahead of cursor or all whitespace to line end
ctrl-shift-f: global find
ctrl-shift-h: global replace
ctrl-f: find in current filegit
ctrl-h: replace in current file
ctrl-alt-,: move code editor to left group window
ctrl-alt-.: move code editor to right group window
ctrl-\: duplicate code group window to new group window at right
ctrl-1: focus on first group window
ctrl-2: focus on second group window
ctrl-3: focus on third group window
ctrl-b: toggle side bar
ctrl-j: toggle bottom bar
ctrl-`: toggle terminal
ctrl-p: open file drop down
ctrl-shift-p: run menu action drop down
ctrl-tab: iterate files in current group window
ctrl-shift-e: open side bar explorer
ctrl-shift-x: open side bar extensions
ctrl-shift-d: open side bar run and debug
ctrl-shift-g g: open side bar git source control
ctrl-f5: run current file in debug mode
ctrl-shift-b: build task
F8: go to next code style error, across files
Shift-F8: go to previous code style error, across files
alt-F8: go to next code style error, within current file
alt-shift-F8: go to previous code style error, within current file
F3: go to next search or selected token in current file
ctrl-shift-l: select all occurences of current selection within entire document
ctrl-d: select all occurences of current selection within current line
alt-c: toggle search by case, in current file or in global search
alt-w: toggle search by whole word, in current file or in global search
alt-r: toggle search by regex, in current file or in global search
alt-shift-right once: select word right of cursor
alt-shift-right twice: select line of cursor
alt-shift-right thrice: select all text
alt-left click multiple: create multiple cursors at location
alt-shift-left click drag: select specific text selected
ctrl+shift+o: symbol lookup dropdown, ie: classes / defs
F12: go to definition of highlighted fucntion
alt-F12: peek references to highlighted fucntion
shift-F12: goto references to highlighted fucntion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment