Visual Studio Code Shortcuts

InnocuousStrength avatar
InnocuousStrength
·

Start Quiz

Study Flashcards

10 Questions

What keyboard shortcut is used to move the active editor group?

Ctrl+K Ctrl+V

Which keyboard shortcut is used to toggle the visibility of the Sidebar?

Ctrl+K Ctrl+B

What is the keyboard shortcut to open the Markdown preview to the side?

Ctrl+Shift+V

Which keyboard shortcut is used to reveal the active file in the Explorer?

Ctrl+K Ctrl+R

What is the keyboard shortcut to toggle the Zen Mode?

Ctrl+K Ctrl+Z

Which keyboard shortcut is used to copy the path of the active file?

Ctrl+K Ctrl+P

What is the keyboard shortcut to close the active editor?

Ctrl+F4

Which keyboard shortcut is used to save all open files?

Ctrl+K Ctrl+S

What is the keyboard shortcut to open a new file?

Ctrl+N

Which keyboard shortcut is used to open the Integrated Terminal?

Ctrl+`

Study Notes

Navigation and Editor Management

  • Go to previous/next error or warning: Ctrl+Shift+M
  • Navigate editor group history: Ctrl+Shift+P
  • Go back/forward: Ctrl+Shift+Tab
  • Toggle tab moves focus: Ctrl+P

Editing and Formatting

  • Cut line (empty selection): Ctrl+X
  • Copy line (empty selection): Ctrl+C
  • Move line up/down: Alt+↑/↓
  • Copy line up/down: Shift+Alt+↑/↓
  • Delete line: Ctrl+Shift+K
  • Insert line below/above: Ctrl+Shift+Enter
  • Jump to matching bracket: Ctrl+Shift+\
  • Indent/outdent line: Ctrl+]

Search and Replace

  • Search: Ctrl+F
  • Find and replace: Ctrl+H
  • Find next/previous: F3/Shift+F3
  • Select all occurrences of Find match: Ctrl+D
  • Move last selection to next Find match: Ctrl+K

File Management

  • New file: Ctrl+N
  • Open file: Ctrl+O
  • Save: Ctrl+S
  • Save as: Ctrl+Shift+S
  • Close: Ctrl+K
  • Close all: Ctrl+Shift+W

Debugging

  • Start debugging: F5
  • Step into/out: F11/Shift+F11
  • Step over: F10
  • Show hover: Ctrl+K
  • Toggle breakpoint: F9

Integrated Terminal

  • Open integrated terminal: Ctrl+`
  • Create new terminal: Ctrl+Shift+`
  • Copy selection: Ctrl+C
  • Paste into active terminal: Ctrl+V
  • Scroll up/down: Ctrl+Home/End
  • Show integrated terminal: Ctrl+Shift+`

Test your knowledge on Visual Studio Code shortcuts to navigate the editor, search and replace, toggle tab focus, use multi-cursor selections, and more.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Visual Studio Code Shortcuts
17 questions
COPY: Visual Studio Code Shortcuts
10 questions

COPY: Visual Studio Code Shortcuts

SpellbindingStatueOfLiberty avatar
SpellbindingStatueOfLiberty
Use Quizgecko on...
Browser
Browser