- Ashik Nesin
When I want to change some variable name or something, I usually hit
Cmd + D over and over again to select all occurrences.
I wish I'd learned this before to save so much time 😅
VS Code has a feature to do that instantly
How to do it?
- Select the word
- Select Select all Occurrences of Find Match in Command Palette
- In MacOS, you can use
⇧⌘L(Shift + Cmd + L) to do it. Similarly, in Windows, you can use
Happy selecting texts!