DELAPARRA
Index
Color
NL
Category: Keyboard shortcuts

Add Cursor at Click

Explained by Updated

What is Add Cursor at Click?

Add Cursor at Click: Drop an additional cursor anywhere you click while holding the modifier. Holding a modifier key while clicking adds an extra cursor at that spot. In VS Code it is Alt+Click on Windows and Linux and Option+Click on a Mac. In JetBrains IDEs it is Alt+Shift+Click. This is the flexible version of multi-cursor editing. The places you want to edit do not have to be aligned or match the same text. You click where you need a cursor, then type, delete or paste in all of them at once.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Add Cursor at Click

What should you keep in mind with Add Cursor at Click?

It is useful for small, irregular edits, such as adding the same attribute to a few HTML elements spread over a template. Press Escape to go back to a single cursor. If you find yourself clicking twenty cursors into place, a regular expression search and replace is probably faster and less error-prone.

At a glance

CategoryKeyboard shortcuts
Explained by
Updated

More Keyboard shortcuts terms

All terms starting with A

Skills

Manuals

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.