First published on MSDN on Apr 11, 2017
We've all been in the position where we are doing research and need to add commas or single quotes around a list and it's a pain to go through one line at a time to add them.
While working with Scott Epperly, Support Engineer with Microsoft, I saw him quickly add a comma before about 10 lines all at once and I was shocked! This is not a new feature but is something that very few people know about.
What you do put your cursor where you want to add a character on a line, then use SHIFT+ALT and either the arrow keys or your mouse (you have to click to the same column position the line that you are selecting to) to select all the lines that you want to edit the same way. You'll notice a light blue line appear, that's where what you type will be echoed on each line.
Here is a screenshot of how it looks after you use SHIFT+ALT and select many lines. Note the very light blue line before all the numbers in the list.
Here is how it looks after you add a comma:
You can both add text and delete an entire column of text (for something like removing double quotes). I hope that you find this quick tip helpful!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.