Visual Studio Code Shortcuts
10 Questions
20 Views

Visual Studio Code Shortcuts

Created by
@InnocuousStrength

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

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

  • Ctrl+K Ctrl+G
  • Ctrl+K Ctrl+W
  • Ctrl+K Ctrl+V (correct)
  • Ctrl+K Ctrl+M
  • Which keyboard shortcut is used to toggle the visibility of the Sidebar?

  • Ctrl+K Ctrl+S
  • Ctrl+K Ctrl+B (correct)
  • Ctrl+K Ctrl+V
  • Ctrl+K Ctrl+T
  • What is the keyboard shortcut to open the Markdown preview to the side?

  • Ctrl+Shift+V (correct)
  • Ctrl+K Ctrl+M
  • Ctrl+K Ctrl+P
  • Ctrl+K Ctrl+V
  • Which keyboard shortcut is used to reveal the active file in the Explorer?

    <p>Ctrl+K Ctrl+R</p> Signup and view all the answers

    What is the keyboard shortcut to toggle the Zen Mode?

    <p>Ctrl+K Ctrl+Z</p> Signup and view all the answers

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

    <p>Ctrl+K Ctrl+P</p> Signup and view all the answers

    What is the keyboard shortcut to close the active editor?

    <p>Ctrl+F4</p> Signup and view all the answers

    Which keyboard shortcut is used to save all open files?

    <p>Ctrl+K Ctrl+S</p> Signup and view all the answers

    What is the keyboard shortcut to open a new file?

    <p>Ctrl+N</p> Signup and view all the answers

    Which keyboard shortcut is used to open the Integrated Terminal?

    <p>Ctrl+`</p> Signup and view all the answers

    Study Notes

    • 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+`

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

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

    More Like This

    Use Quizgecko on...
    Browser
    Browser