Daily Software Tips & Tricks

Bite-sized knowledge to improve your coding skills daily.

The Secret Power of Alt/Option-Click in VS Code

February 4, 2026

Stop repeating the same edit 10 times! If you need to change a variable name or add a prefix across non-contiguous lines in VS Code, don't just rely on Find and Replace. Hold down `Alt` (Windows/Linux) or `Option` (Mac) and click wherever you need a new cursor. This enables multi-cursor editing, allowing you to type simultaneously in multiple spots. It drastically speeds up those small, repetitive refactoring tasks.