Daily Software Tips & Tricks
Bite-sized knowledge to improve your coding skills daily.
The Secret Power of Alt+Click in VS Code
February 2, 2026
Stop editing repetitive lines one by one! If you need to change the same variable name across several non-contiguous lines, just hold down `Alt` (or `Option` on Mac) and click exactly where you want a new cursor to appear. You can now type simultaneously in multiple spots. This multi-cursor editing technique is an absolute lifesaver for refactoring small blocks of code quickly without needing complex find-and-replace regex. Master this, and you’ll instantly feel faster.