Skip to main content

Visual Studio Code

Keyboard Shortcutsโ€‹

  • ctrl+shift+P - Open command palette
  • ctrl+K ctrl+S - Show keyboard shortcuts
  • alt+up or alt+down - Move line up/down
  • shift+alt+up or shift+alt+down - Copy line up/down
  • ctrl+shift+K - Delete current line
  • ctrl+shift+\ - Jump to matching bracket
  • ctrl+[ or ctrl+] - Indent/Outdent
  • ctrl+shift+[ or ctrl+shift+] - Collapse/Uncollapse Region
  • ctrl+/ - Comment/Uncomment
  • alt+Z - Toggle word wrap
  • ctrl+tab - Navigate open tabs
  • ctrl+alt+up or ctrl+alt+down - Vertical select
  • ctrl+D - Select word
  • ctrl+G - Go to line number
  • ctrl+P - Go to file
  • ctrl+K Z - Zen mode (Esc Esc to exit)
  • ctrl+R - switch workspace
  • ctrl+B - Open/Close side bar

Useful extensionsโ€‹

  • GitLens
  • Python
  • Docker
  • SQLTools
  • Thunder Client
  • Data Wrangler

Nice extensionsโ€‹

  • indent-rainbow
  • Rainbow Brackets
  • Rainbow CSV
  • Markdown Emoji

Preview browser from within VS Codeโ€‹

  • Ctrl+Shift+P
  • Type: Simple browser:Show
  • Indicate desired url to visit then Enter to confirm.
  • This will open the specified url to a new tab. This is best used in split editor view.

Open Github Repo in ipadโ€‹

  1. Log into your github account using Safari browser in ipad.
  2. Go to a repository.
  3. Type . to open VS Code in the browser.