Replace in Files in VS Code

From the VS Code Shortcuts cheat sheet Ā· Search & Replace Ā· verified Jul 2026

Replace in Files

Search and replace across all files

text
Ctrl+Shift+H (Windows)
⌘+Shift+H (Mac)
šŸ’” Project-wide find and replace
⚔ Preview changes before applying
šŸ” Exclude files and folders
search

More VS Code tasks

Back to the full VS Code Shortcuts cheat sheet