Visual Studio Code
Microsoft's lightweight yet powerful code editor supporting development in any language with rich extensions and excellent IntelliSense
Ctrl+Shift+P
Show Command Palette
Shows the Command Palette with access to all commands.
π‘ Hint: Palette
Ctrl+P
Quick Open, Go to Fileβ¦
Opens the Quick Open dialog to quickly navigate to files.
π‘ Hint: Pick file
Ctrl+Shift+N
New window/instance
Opens a new VS Code window/instance.
π‘ Hint: New window
Ctrl+Shift+W
Close window/instance
Closes the current VS Code window/instance.
π‘ Hint: Window close
Ctrl+,
User Settings
Opens User Settings.
π‘ Hint: Comma (,) separates settings
Ctrl+K β Ctrl+S
Keyboard Shortcuts
Opens Keyboard Shortcuts settings.
π‘ Hint: Keyboard Shortcuts
Ctrl+X
Cut line (empty selection)
Cuts the current line when no selection is made.
π‘ Hint: Extract
Ctrl+C
Copy line (empty selection)
Copies the current line when no selection is made.
π‘ Hint: Copy
Alt+β
Move line up
Moves the current line up.
π‘ Hint: Up arrow moves line up
Alt+β
Move line down
Moves the current line down.
π‘ Hint: Down arrow moves line down
Shift+Alt+β
Copy line up
Copies the current line up.
π‘ Hint: Shift + up arrow copies line up
Shift+Alt+β
Copy line down
Copies the current line down.
π‘ Hint: Shift + down arrow copies line down
Ctrl+Shift+K
Delete line
Deletes the current line.
π‘ Hint: Kill line
Ctrl+Enter
Insert line below
Inserts a new line below the current line.
π‘ Hint: Enter creates new line below
Ctrl+Shift+Enter
Insert line above
Inserts a new line above the current line.
π‘ Hint: Shift + Enter creates new line above
Ctrl+Shift+\
Jump to matching bracket
Moves cursor to the matching bracket.
π‘ Hint: Backslash jumps between brackets
Ctrl+]
Indent line
Indents the current line.
π‘ Hint: ] indents to the right
Ctrl+[
Outdent line
Outdents the current line.
π‘ Hint: [ outdents to the left
Home
Go to beginning of line
Moves cursor to the beginning of the current line.
π‘ Hint: Home = beginning
End
Go to end of line
Moves cursor to the end of the current line.
π‘ Hint: End = ending
Ctrl+Home
Go to beginning of file
Moves cursor to the beginning of the file.
π‘ Hint: Ctrl + Home = file beginning
Ctrl+End
Go to end of file
Moves cursor to the end of the file.
π‘ Hint: Ctrl + End = file ending
Ctrl+/
Toggle line comment
Toggles line comment on/off for the current line.
π‘ Hint: / = comment character
Shift+Alt+A
Toggle block comment
Toggles block comment on/off for the selection.
π‘ Hint: All around
Alt+Z
Toggle word wrap
Toggles word wrap on/off.
π‘ Hint: Zig-zag wrap
Ctrl+T
Show all Symbols
Searches for all symbols in the workspace.
π‘ Hint: Type/Token
Ctrl+G
Go to Line...
Goes to a specific line number.
π‘ Hint: Go to line
Ctrl+P
Go to File...
Searches and opens files.
π‘ Hint: Pick file
Ctrl+Shift+O
Go to Symbol...
Goes to symbols in the current file.
π‘ Hint: Outline
Ctrl+Shift+M
Show Problems panel
Opens the Problems panel showing errors and warnings.
π‘ Hint: Mistakes
F8
Go to next error or warning
Goes to the next error or warning.
π‘ Hint: F8 = next error
Shift+F8
Go to previous error or warning
Goes to the previous error or warning.
π‘ Hint: Shift + F8 = previous error
Ctrl+F
Find
Searches for text in the current file.
π‘ Hint: Find
Ctrl+H
Replace
Replaces text in the current file.
π‘ Hint: Hijo (sound of replace)
F3
Find next
Goes to the next search result.
π‘ Hint: F3 = next
Shift+F3
Find previous
Goes to the previous search result.
π‘ Hint: Shift + F3 = previous
Ctrl+N
New File
Creates a new file.
π‘ Hint: New
Ctrl+O
Open File...
Opens the file open dialog.
π‘ Hint: Open
Ctrl+S
Save
Saves the current file.
π‘ Hint: Save
Ctrl+Shift+S
Save As...
Saves the file with a specific name.
π‘ Hint: Shift + Save = Save As
Ctrl+K β Ctrl+S
Save All
Saves all open files.
π‘ Hint: Keyboard Save all
Ctrl+F4
Close editor
Closes the current editor tab.
π‘ Hint: F4 = Close
F9
Toggle breakpoint
Toggles a breakpoint on the current line.
π‘ Hint: F9 = breakpoint
F5
Start/Continue
Starts or continues debugging.
π‘ Hint: F5 = start
Shift+F5
Stop
Stops debugging.
π‘ Hint: Shift + F5 = stop
F11
Step into
Steps into functions.
π‘ Hint: F11 = step into
Shift+F11
Step out
Steps out of the current function.
π‘ Hint: Shift + F11 = step out
F10
Step over
Steps over to the next line.
π‘ Hint: F10 = step over
F11
Toggle full screen
Toggles full screen mode.
π‘ Hint: F11 = fullscreen
Shift+Alt+0
Toggle editor layout (horizontal/vertical)
Toggles editor layout between horizontal and vertical.
π‘ Hint: 0 = layout zero (reset)
Ctrl+=
Zoom in
Zooms in the editor.
π‘ Hint: = is + (plus/zoom in)
Ctrl+-
Zoom out
Zooms out the editor.
π‘ Hint: - is minus (zoom out)
Ctrl+B
Toggle Sidebar visibility
Toggles sidebar visibility.
π‘ Hint: Bar (sidebar)
Ctrl+Shift+E
Show Explorer / Toggle focus
Shows Explorer or toggles focus.
π‘ Hint: Explorer
Ctrl+Shift+F
Show Search
Shows the global search panel.
π‘ Hint: Find
Ctrl+Shift+G
Show Source Control
Shows the Source Control (Git) panel.
π‘ Hint: Git
Ctrl+Shift+D
Show Debug
Shows the Debug panel.
π‘ Hint: Debug
Ctrl+Shift+X
Show Extensions
Shows the Extensions panel.
π‘ Hint: eXtensions
Ctrl+`
Show integrated terminal
Shows/hides the integrated terminal.
π‘ Hint: Backtick (`) is terminal symbol
Ctrl+Shift+`
Create new terminal
Creates a new terminal instance.
π‘ Hint: Shift + backtick for new terminal