DEV Community

Cover image for VSCode: Awesome Multi-cursors/selection Tricks
Ustariz Enzo
Ustariz Enzo

Posted on • Edited on

5 1

VSCode: Awesome Multi-cursors/selection Tricks

Hey fellow creators

Learn some multi-cursors and selection tricks that you can use in VSCode!

If you prefer to watch the video version, it's right here :

 

1. [ctrl + alt + arrow down|up].

It will simply create some multi-cursors below or above your line.

If you want to exit the multi-cursor, press escape.

 

2. [pushed mouse wheel + go down|up].

It will create some multi-cursors too, it's a bit faster than the one above.

 

3. [ctrl + d].

[ctrl + d] will help you find some occurrences. For example, if you want to change several divs into paragraphs, pressing [ctrl + d] after highliting one will allow you to do that faster!

 

4. [ctrl + shift + l].

You can also find all occurrences at once after highliting something with [ctrl + shift + l]. For example, this will select all the divs!

 

5. [alt + click].

Finally, you can use [alt + click] to place a new cursor wherever you want.

 
Come and take a look at my Youtube channel: https://www.youtube.com/c/TheWebSchool

See you soon!

Enzo.

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (1)

Collapse
 
einsteintechnology205 profile image
Abhimanyu Kumar

yes its helpful

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay