This content originally appeared on DEV Community and was authored by Ustariz Enzo
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/Learntocreate/videos
See you soon!
Enzo.
This content originally appeared on DEV Community and was authored by Ustariz Enzo

Ustariz Enzo | Sciencx (2022-01-27T08:40:05+00:00) VSCode: Awesome Multi-cursors/selection Tricks. Retrieved from https://www.scien.cx/2022/01/27/vscode-awesome-multi-cursors-selection-tricks/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.