5 VSCode Shortcuts and commands to improve your workflow

Umberto Grando
3 min readFeb 8, 2022

Hello World!

Today we are going to take a look at some of my favorite VSCode shortcuts and commands, that can help you get faster at coding.

For those of you who don’t know what VSCode is, i’ll quote it’s website:

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).

Let’s start:

Add Selection to Next Find Match

This one is really useful to quickly select the next match in the text based on what you’ve selected at the moment:

Select All Occurrences of Find Match

This one is similar to the one above, but it selects all the words inside the document and not just the next one:

Join Lines

This one doesn’t have a shortcut by default but it’s super useful. With this you can join multiple lines of text into a single one in a single click:

Expand Line Selection

With this shortcut you can select rapidly a full line of text based on where your cursor is.

Add Cursor

This is another fundamental shortcut to get faster at coding. With Ctrl+Alt+Up/Down Arrows you can quickly add multiple cursors in your editor:

Bonus: Quick Example

And now let’s see how these shortcuts can improve your workflow with this quick example:

That’s all for today!

--

--

Umberto Grando

I’m Umberto Grando, an IoT Specialist with a passion for programming, gaming and technology in general.