Podcast
Questions and Answers
Which keyboard shortcut is used to move the active editor group?
Which keyboard shortcut is used to move the active editor group?
What is the keyboard shortcut to toggle the Sidebar visibility?
What is the keyboard shortcut to toggle the Sidebar visibility?
How can you copy the path of the active file?
How can you copy the path of the active file?
Which shortcut is used to perform column (box) selection?
Which shortcut is used to perform column (box) selection?
Signup and view all the answers
How can you toggle the integrated terminal?
How can you toggle the integrated terminal?
Signup and view all the answers
Which shortcut is used to comment/uncomment a line of code?
Which shortcut is used to comment/uncomment a line of code?
Signup and view all the answers
How can you insert a cursor above the selected line?
How can you insert a cursor above the selected line?
Signup and view all the answers
Which shortcut is used to trigger parameter hints?
Which shortcut is used to trigger parameter hints?
Signup and view all the answers
How can you select all occurrences of the current word?
How can you select all occurrences of the current word?
Signup and view all the answers
How can you navigate to the next error or warning?
How can you navigate to the next error or warning?
Signup and view all the answers
Which shortcut is used to insert a cursor at the end of each selected line?
Which shortcut is used to insert a cursor at the end of each selected line?
Signup and view all the answers
How do you add a line comment in Visual Studio Code?
How do you add a line comment in Visual Studio Code?
Signup and view all the answers
Which shortcut key combination allows you to move the cursor to the beginning of a file?
Which shortcut key combination allows you to move the cursor to the beginning of a file?
Signup and view all the answers
How do you toggle word wrap in Visual Studio Code?
How do you toggle word wrap in Visual Studio Code?
Signup and view all the answers
What is the shortcut to select the current line and all occurrences of the same text in Visual Studio Code?
What is the shortcut to select the current line and all occurrences of the same text in Visual Studio Code?
Signup and view all the answers
Which shortcut inserts a line below the current line?
Which shortcut inserts a line below the current line?
Signup and view all the answers
How do you select a column/box of text in Visual Studio Code?
How do you select a column/box of text in Visual Studio Code?
Signup and view all the answers
Study Notes
Basic Editing
- Cut line: Ctrl+X
- Copy line: Ctrl+C
- Move line up/down: Alt+↑/↓
- Copy line up/down: Ctrl+Shift+Alt+↑/↓
- Delete line: Ctrl+Shift+K
- Insert line below: Ctrl+Enter
- Insert line above: Ctrl+Shift+Enter
- Jump to matching bracket: Ctrl+Shift+\
- Indent/outdent line: Ctrl+]
- Go to beginning/end of line: Home/End
- Go to beginning of file: Ctrl+Home
- Go to end of file: Ctrl+End
- Scroll line up/down: Ctrl+↑/↓
- Scroll page up/down: Ctrl+PgUp/PgDn
File Management
- New file: Ctrl+N
- Open file: Ctrl+O
- Save file: Ctrl+S
- Save as: Ctrl+Shift+S
- Close file: Ctrl+K Ctrl+W
- Close all files: Ctrl+K Ctrl+X
- Reopen closed file: Ctrl+Shift+T
- Copy file path: Ctrl+K Ctrl+R
- Reveal file in Explorer: Ctrl+K Ctrl+O
Navigation
- Go to definition: F12
- Open definition to the side: F9
- Go to line: Ctrl+G
- Go to file: Ctrl+P
- Go to symbol: Ctrl+Shift+O
- Toggle block comment: Shift+Alt+A
- Toggle word wrap: Alt+Z
Search and Replace
- Find: Ctrl+F
- Find and replace: Ctrl+H
- Find next: F3
- Find previous: Shift+F3
- Select all occurrences of Find match: Ctrl+Shift+L
Debugging
- Start debugging: F5
- Stop debugging: Shift+F5
- Step into: F11
- Step out: Shift+F11
- Step over: F10
Multi-Cursor and Selection
- Insert cursor: Ctrl+Alt+Click
- Insert cursor above/below: Ctrl+U
- Insert cursor at end of each line: Ctrl+Shift+L
- Select all occurrences of current selection: Ctrl+Shift+L
- Select current line: Ctrl+I
Column (Box) Selection
- Column selection: Ctrl+Shift+Alt+Mouse
- Column selection page up/down: Ctrl+Shift+Alt+PgUp/PgDn
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge of Visual Studio Code shortcuts for navigating, searching, and editing code. Identify the correct shortcut keys for common actions like search and replace, toggling tab focus, and using multi-cursor selections.