My Favorite Top 15 VS Code Keyboard Shortcuts

Man Using Laptop on Table Against White Background

Have you ever attempted to build an application without using any built-in keyboard shortcuts? I have, so therefore, my workflow felt inefficient. Eventually, I decided to research a couple I think would help ease the development process. There are hundreds of shortcuts, but hopefully, you’ll find these select few to be just as helpful for you as they have been for me.

1. Format Document

shift + ⌥ + F

2. Cursor Left/Right Select

shift + ← / →

3. Move by Word

⌥ + ← / →

4. Go To Start & End Of File

⌘ + ↑ / ↓

5. Insert Additional Cursor

⌥ + click

6. Move Line Up/Down

⌥ + ↑ / ↓

7. Copy Line Up/Down

shift + ⌥ + ↑ / ↓

8. Insert Line Above/Below

Above - shift +⌘ + enter

Below - ⌘ + enter

9. Jump To Matching Bracket

shift + ⌘ + \

10. Toggle Line Comment

⌘ + /

11. Toggle Block Comment

shift +⌥ + A

12. Select/Deselect Next Match

Select - ⌘ + D

De-select - ⌘ + U

13. Add Cursors to Line Ends

shift +⌥ + i

14. Box Selection — Add Cursors to Line Ends

shift +⌥ + drag mouse

15. Find & Replace

Find - ⌘ + F

Replace - ⌘ + enter

If you’d like to know about a couple more short-cuts then feel free to look into some of these resources below. Happy Coding!

Resources

--

--

--

Creativity is my Passion

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What I learned coding a Command Line Interface Application using an external data source.

CS371p Fall 2021: Sean Yu

A web3 beginner’s experience with the NEAR Protocol

Unable to Stop Unwanted Startups in Windows

Spreadsheets and low-code— it’s the grid, not the syntax

Profiling GCF functions

Class Attribute and Instance Attribute of Python

Interview with Rivo Laks about Docker

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kevin Rodriguez

Kevin Rodriguez

Creativity is my Passion

More from Medium

9 VS Code shortcuts you should have started using yesterday.

The Best Fonts for Development

The tutorial of developing a vscode plugin/extension(2)

VS Code extensions