7 little-known VS code combinations to speed up development
VS Code has many tools and commands to make your life easier. But often people don't know how to use them, which leads to excessive manual work and wasted time.
This article will cover 7 shortcuts that can greatly speed up your development!
Enable word transposition.
Windows: ALT + Z
Mac: ⌥ + Z.
Need a quick look at an entire line without scrolling? Just turn on word-forwarding!
Switch workspace.
Windows: CTRL+R.
Mac: ⌘ + R
The normal way to switch workspaces: navigate to the workspace you want to switch to and open VS Code.
The smart way to switch workspaces: open VS Code anywhere and switch to the workspace you want.
open the settings
Windows: CTRL+,
Mac: ⌘ + ,
Need to change some settings? Instead of looking for where the "Open Settings" drop-down list is hidden, just use the command!
open a terminal
Windows: CTRL +
Mac: ^ +
Need to run some commands in the terminal? Instead of using another shell, create one in the editor!
Switching tabs.
Windows: CTRL + Tab
Mac: ^ + Tab.
The more advanced you become as a developer, the less you avoid using the mouse to speed up development. Switching tabs with the keyboard is a must-have skill for the job!
Navigate to the line
Windows: CTRL + G
Mac: ^ + G.
Just like switching tabs, switching to a row saves time by eliminating unnecessary scrolling!
Jump to file.
Windows: CTRL + P
Mac: ^ + P.
Another must-have skill for the modern developer! Jumping to a file saves you from having to search for files in Explorer, which is often time-consuming!