Text Editors & IDEs

How do I add a cursor on every line?

→  Select multiple lines, then press Ctrl+Shift+L in VS Code or Sublime Text to create a cursor at the end of each selected line.

Answer

How do I add a cursor on every line?

Select multiple lines, then press Ctrl+Shift+L in VS Code or Sublime Text to create a cursor at the end of each selected line.

This splits a block selection into individual line cursors. It's useful for adding text to the end of multiple lines or making the same change across many lines simultaneously.

Q

A

← All FAQs