0% found this document useful (0 votes)
23 views1 page

Use Macos Linux / Win

This document provides a table listing keyboard shortcuts for Visual Studio Code for Linux, Windows, and macOS. The shortcuts allow users to perform common tasks like opening the command palette, splitting editors, toggling the terminal, searching files and code, commenting lines, and more.

Uploaded by

cvpn55
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views1 page

Use Macos Linux / Win

This document provides a table listing keyboard shortcuts for Visual Studio Code for Linux, Windows, and macOS. The shortcuts allow users to perform common tasks like opening the command palette, splitting editors, toggling the terminal, searching files and code, commenting lines, and more.

Uploaded by

cvpn55
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Visual Studio Code Keyboard Shortcuts

Use Linux / Win macOS

Show All Commands


Opens Command Palette
CTRL + SHIFT + P or F1 SHIFT + ⌘ + P or F1
Split Vertically Or Horizontally
View codes of multiple files at once
CTRL + \ ⌘+\
To change focus into editor group CTRL + 1/2/3 ⌘ + 1/2/3
Either use number or arrow keys CTRL + K CTRL + ← /→ ⌘ + K ⌘ + ← /→
Toggle Integrated Terminal
Execute the task quickly without switching windows
CTRL + ` ⌘+`
Go To File
Search and navigating to a file in a repository
CTRL + P ⌘+P
Go To Line
CTRL + G ^+G
Jump to a specific line

Search Complete Project


Search for text, variable, or function in whole project
CTRL + SHIFT + F ⌘ + SHIFT + F
Zen Mode
Distraction-free environment to stay more focused
CTRL + K Z ⌘+KZ
Add Selection To Next Find Match
Select the next occurrences of a selected text
CTRL + D ⌘+D
Toggle Line Comment
Reach start of a line and add double forward slash to comment
CTRL + / ⌘+/
Jump To The Beginning Or End Of File
Quickly reach either start or end of the file
CTRL + HOME/END ⌘ + ↑ /↓
Code Folding Or Unfolding
Collapse/uncollapse a region of code
CTRL + SHIFT + [ or ] ⌥+ ⌘ + [ or ]
Peek Implementation
To understand the working of functions and variables
CTRL + SHIFT + F12 ⌘ + SHIFT + F12
Delete Current Line
Sum up two tasks of selecting a current line and pressing delete
CTRL + SHIFT + K SHIFT + ⌘+K
Find And Replace CTRL + F ⌘+F
Find and replace all occurrences of a text in a file with a new one CTRL + H ⌥+⌘+F

Keyboard Shortcuts
View all available commands for your editor
CTRL + K CTRL + S ⌘+K⌘+S
https://itsfoss.com/vs-code-shortcuts/

You might also like