DEV Community

Toolloom
Toolloom

Posted on • Originally published at toolloom.com on

Mastering Multi-Cursor Selection in VS Code

Stop repetitive copy-pasting when renaming variables or adding similar attributes to multiple lines! In VS Code, one of the fastest ways to edit code is using multi-cursor selection. You can hold Alt (or Option on Mac) and click to place multiple cursors anywhere in your file. Even better, if you want to select the next occurrence of a highlighted word, use Ctrl+D (or Cmd+D). Keep hitting it until all the instances you need are selected, then type awayโ€”it's a massive productivity booster that will instantly make you feel faster.

Top comments (0)