Select All Occurrences in VS Code

From the VS Code Shortcuts cheat sheet Ā· Multi-cursor & Selection Ā· verified Jul 2026

Select All Occurrences

Select all instances of current word

text
Ctrl+Shift+L (Windows)
⌘+Shift+L (Mac)
šŸ’” Multi-cursor for all matching text
⚔ Rename variables instantly
šŸ” Case-sensitive matching
multi-cursor

More VS Code tasks

Back to the full VS Code Shortcuts cheat sheet