Photo by Pankaj Patel on Unsplash
7 Lesser-Known VS Code Shortcuts to Speed Up your Development (with GIF Demos)
VS Code has a plethora of tools and commands to make your life easier. But often, people don't know how to use them, resulting in excessive manual work and lost time.
This article will cover 7 shortcuts that can drastically speed up your development!
Shortcuts
Toggle Word Wrap
Windows | Mac |
ALT + Z | ⌥ + Z |
Need a quick view of the entire line without scrolling? Just enable word-wrap!
Switch workspace
Windows | Mac |
CTRL + R | ⌘ + R |
Regular Way of Switching Workspaces: Navigate to the workspace you want to switch to & open up VS Code
Smart Way of Switching Workspaces: Open up VS Code anywhere & switch to the required workspace
Open Settings
Windows | Mac |
CTRL + , | ⌘ + , |
Need to modify some settings? Instead of searching where the Open Settings Dropdown is hidden, just use the command!
Open Terminal
Windows | Mac |
CTRL + ` | ⌃ + ` |
Need to execute some commands in the terminal? Instead of using another shell, conjure one within the editor!
Switch Tabs
Windows | Mac |
CTRL + Tab | ^ + Tab |
The more advanced developer you become, the more you avoid using the mouse to speed up your development. Switching tabs from the keyboard is the must-have skill for the job!
Go To Line
Windows | Mac |
CTRL + G | ^ + G |
Just like switching tabs, go to line saves time by eliminating unnecessarily scrolling!
Go to file
Windows | Mac |
CTRL + P | ⌘ + P |
Another must-have skill for the modern developer! Go to file eliminates the need to search for the files in the explorer view, which often is a massive time sink!
If you want to know all VS Code the shortcuts, check out the following: