DEV Community

Discussion on: What's Been Your Biggest "Why Didn't Someone Tell Me" Discovery?

Collapse
 
damjand profile image
Damjan Dimitrov

That dragging the middle mouse button in VSCode lets you add multiple cursors on different lines and/or select just a portion of a text on multiple lines at the same time.

Collapse
 
murrayvarey profile image
MurrayVarey

Yeah, that's a nice one. Did you see @peacefullatom 's Visual Studio Productivity post yesterday? Well worth a read.

Collapse
 
peacefullatom profile image
Yuriy Markov

Here's one more trick. Select portion of text and press Ctrl + Shift + L - this will select all fragments within opened document, this you can edit them all at once 🙃