How to edit the all rows (multi positions) in Notepad ++ or Visual Studio Code (VSCode)?

In this post I will show you how you can easily edit column values in multiple rows at once. Thanks to this trick, you will save a lot of time, which you could lose by tedious editing each row separately.

Visual Studio Code

The following gif shows how to remove columns from all marked rows and how to add any text.

Key combination

To be able to edit the text, position the mouse cursor where you want to start editing, then hold down Shift + Alt and press the left mouse button. We can use arrows instead of mouse.


In Notepad ++, the situation is very similar, but only the key combination is equal. Namely, hold down the key: Alt and select the area you want to edit with the mouse cursor.

If you enjoyed this post please add the comment below or share this post on your Facebook, Twitter, LinkedIn or another social media webpage.
Thanks in advanced!

0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments