Daily Software Tips & Tricks
Bite-sized knowledge to improve your coding skills daily.
Master the Multi-Cursor Magic
February 12, 2026
If you find yourself manually editing ten lines of code that all need the same change, stop right there. In VS Code, you can place multiple cursors by holding Alt (or Option on Mac) and clicking in different spots. Even better, highlight a word and hit Ctrl+D (or Cmd+D) to select the next occurrence of that same word.
This is a total game-changer for renaming local variables or wrapping a list of strings in quotes. It feels like having superpowers once it becomes muscle memory, and it’s significantly faster than running a find-and-replace for small, scoped changes.