Find in Files
Find in Files provides a dedicated search interface for searching text and patterns across all files in your repository.
Opening Find in Files
- Ctrl+click the search button in the File Browser toolbar to open as a standalone tab
- Right-click search results in the File Browser and select Pop out search results
Searching
Type your search query in the input field. Search begins automatically after a short delay (300ms debounce), or press Enter to search immediately. A minimum of 2 characters is required.
Search Options
Three toggle buttons next to the search input control matching behavior:
| Toggle | Shortcut | Effect |
|---|---|---|
| Aa | Alt+C | Match case — require exact letter casing |
| .* | Alt+R | Use regex — interpret the query as a regular expression |
| ab | Alt+W | Whole word — match only complete words |
Include / Exclude Patterns
Two additional fields let you narrow the search scope using comma-separated glob patterns:
- Include — only search files matching these patterns (e.g.,
*.js, *.ts, src/**) - Exclude — skip files matching these patterns (e.g.,
node_modules, dist)
Results
Results are grouped by file. Each file group shows:
- File path with an Open button
- Match rows — each showing the line number, the matching line with the match highlighted, and the file path
Navigating Results
- Click a match row to open the file at that exact line
- Click a file header to collapse or expand that file’s matches
- Use Collapse All / Expand All to toggle all file groups at once
- Clear resets the search and removes all results
Stale Results
If repository files change after a search completes, a banner appears with the message “Results may be outdated” and a Refresh button to re-run the search.
Tab Title
The tab title updates to show the current query: Find: [query].
Session Persistence
Your search query, toggle states, and filter patterns persist when switching between tabs. On session restore, if files have changed since the cached results, a Search Again button appears instead of showing stale results.