Skip to content

Visual Studio Code

Reference

  • Command (or Cmd)
  • Shift
  • Option (or Alt)
  • Control (or Ctrl)

Shortcuts

  • Go to File -> ⌘p
  • Open Command Palette -> ⇧⌘p
  • Open Recent Workspaces -> ⌃r
  • Go Back (in definition trail) -> ⌃-
  • Go Forward (in definition trail) -> ⇧⌃-
  • Force show code suggestions -> ⌃space
  • Toggle Terminal -> ⌃`
  • Quick Fix -> ⌘.
  • Open Output Log -> ⇧⌘u
  • Open Problems -> ⇧⌘m
  • Open Debug Console -> ⇧⌘y
  • Fold code block -> ⌥⌘[
  • Unfold code block -> ⌥⌘]
  • Toggle Case Sensitvity in Find & Replace -> ⌥⌘c
  • Replace Next -> Enter
  • Replace All -> ⌘Enter
  • Show symbols in current file -> ⌘r

Custom Shortcuts

To make changes, go to Keyboard Shortcuts, using the shortcut: ⌘k ⌘s.

  • Go to Definition -> ⌘b
  • Toggle Side Bar Visibility -> ⌥1
  • Format Document -> ⇧⌃f
  • Git: View File History -> ⌥⌘h
  • Rename Symbol: ⌃⌘r