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

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


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


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.

Software Engineer | Ethical Hacker & Cybersecurity...

Md Obydullah is a software engineer and full stack developer specialist at Laravel, Django, Vue.js, Node.js, Android, Linux Server, and Ethichal Hacking.