Daily Software Tips & Tricks

Bite-sized knowledge to improve your coding skills daily.

The Hidden Power of Multi-Cursor Selection in VS Code

February 6, 2026

If you need to change the same variable name or add a missing semi-colon to the end of multiple lines, stop copying and pasting! Instead, try using VS Code's multi-cursor selection. Select the first instance of the word, then hit `Ctrl+D` (Windows/Linux) or `Cmd+D` (Mac) repeatedly. VS Code intelligently selects the next occurrence, placing a cursor at each spot. Now you can type, delete, or modify simultaneously across all selected locations. It’s a massive time saver for quick refactoring tasks.