Daily Software Tips & Tricks

Bite-sized knowledge to improve your coding skills daily.

Speed Up Refactoring with Multi-Cursor Magic

February 17, 2026

If you're still manually clicking every instance of a variable to rename it, you're working too hard! In VS Code, highlight a word and hit `Cmd+D` (Mac) or `Ctrl+D` (Windows) to select the next occurrence. Keep hitting it to grab every instance you need, then just type to edit them all at once. It’s perfect for those quick local refactors where a full "Rename Symbol" (F2) feels like overkill.