DEV Community

loading...
Cover image for Best VS Code Shortcuts To Make Your Coding Faster

Best VS Code Shortcuts To Make Your Coding Faster

animeshdhanuk profile image Animesh Dhanuk Originally published at cmsinstallation.blogspot.com ・2 min read

As a programmer, developer, or coder you have to faster speed for coding. And Every programmer wants fast typing speed to complete the work as soon as possible. Even they don't waste a second of time after any unnecessary things.

For programmers, coders, and developers, I'm giving some best VS Code shortcut keys to speed up coding faster.

19 Best vscode shortcuts

1. Combine Line vscode shortcut

Alt Text

This Shortcut use to combine the line when lines are not in sequence as you want. That's one of the best vs code shortcut to make your coding faster.
For Mac: ctrl + j
For Windows and Ubuntu: Open keyboard shortcuts from File >

2. Code Formate vscode shortcut

Alt Text
The priority of the programmer, developer, and coder is formatting a code in sequence to easily understand. And it's looking good for reading. So, this is one of the useful vs code shortcuts to make your coding faster.

For Mac: Shift + Option + F
For Windows: Shift + Alt + F
For Mac: Shift + Option + F

3. Remove White Space vscode shortcut

Alt Text

When we do coding unnecessary space creates it's a very irritable thing. There is a shortcut key available to remove unnecessary space from code. And this is a very useful vs code shortcut to make the coding speed faster.
Open VS Code settings(Preferences > Settings > User Settings tab) and click the {} icon and add new setting("files.trimTrailingWhitespace": true) most of time it

4. Code Folding vscode shortcut

Alt Text
Sometimes there is very huge code created by developers, so make it readable they can do cod folding to easily read and understand it. Code folding vs code shortcut key is the best key to make coding faster for developers, programmers, and coders.
For Mac: Command+ Option + [ or ]
For Mac: Command+ Option + [ or ]

5. Copy Line Up/Down vscode shortcut

Alt Text

There is a lot of syntax in coding that is the same. You can't type it many times when it's long. Then you can copy it from where above you can use it that's the only way to do your work fast. This is one of the best vs code shortcuts to make your coding faster.
For Mac: Shift + Option + Up/Down
For Windows: Shift + Alt + Up/Down
For Ubuntu: Ctrl + Shift + Alt + Up/Down

6. Split Editor Layout vscode shortcut

Alt Text

This tool allows you to open multiple screens at a time in VS code editor. With the help of this tool, you can solve any problem from one screen to another one. That's one of the best vs code shortcuts to make your coding faster.
For Mac: Command + \
For Windows: Shift + Alt + \
For Ubuntu: Shift + Alt + \

Get all vscode shortcuts from here

Discussion (0)

Forem Open with the Forem app