Skip to content

VS Code

General

  • Ctrl+Shift+P, F1: Show Command Palette
  • Ctrl+P: Quick Open, Go to File…
  • Ctrl+Shift+N: New window/instance
  • Ctrl+W: Close window/instance

Basic Editing

  • Ctrl+X: Cut line (empty selection)
  • Ctrl+C: Copy line (empty selection)
  • Alt+ ↑ / ↓: Move line up/down
  • Shift+Alt + ↑ / ↓: Copy line up/down
  • Ctrl+Shift+K: Delete line
  • Ctrl+Enter: Insert line below
  • Ctrl+Shift+Enter: Insert line above
  • Ctrl+G: Go to line…
  • F8: Go to next error or warning
  • Shift+F8: Go to previous error or warning
  • Ctrl+Shift+M: Show Problems panel

Search and Replace

  • Ctrl+F: Find
  • Ctrl+H: Replace
  • F3 / Shift+F3: Find next/previous
  • Alt+Enter: Select all occurrences of Find match