Take Multiple Cursors at Start/End of Each Line in VS Code

Published on July 4, 2021 26 sec read

Hi artisans, sometimes we baldy need to insert multiple cursors at the start or end of every line. We can easily do it with Visual Studio Code. I’m working on Windows 10. Let’s see:

Table of Contents

Problem

I’m taking a text file and we will insert multiple cursors at the start and end of every line.

Solution

Open the desired file and press CTRL + A to select all lines. Then press SHIFT + ALT + I to insert multiple cursors at the end of each line.

So, all cursors are at the end and we can add the same text at the end of every line.

Now press HOME button to move all cursors to the start of each line:

That’s it. Thanks for reading. 🙂

Monthly Newsletter

One email a month, packed with the latest tutorials, delivered straight to your inbox.
We'll never send any spam or promotional emails.
Author

Hey, I'm Md Obydullah. I build open-source projects and write article on Laravel, Linux server, modern JavaScript and more on web development.

Follow

Leave a Reply