Search & Find
Powerful search and replace capabilities
AnySlate provides comprehensive search functionality from quick in-document search to workspace-wide find and replace. Use regex patterns for advanced matching, and benefit from automatic .gitignore filtering to keep results relevant.
Overview
In-Document Search
Find text within the current file with instant highlighting.
Find & Replace
Replace single matches or all occurrences at once.
Workspace Search
Search across all files in your workspace simultaneously.
Regex Support
Use regular expressions for advanced pattern matching.
In-Document Search
Press Cmd/Ctrl + F to open the search bar and find text in your current document.
Instant Highlighting
All matches are highlighted in real-time as you type your search query.
Match Counter
See the total number of matches and your current position (e.g., 3 of 15).
Navigate Results
Use arrow buttons or Enter/Shift+Enter to jump between matches.
Case Sensitivity
Toggle case-sensitive search for precise matching.
Quick Navigation
EnterShift + EnterEscapeFind & Replace
Press Cmd/Ctrl + H to open Find & Replace and modify text throughout your document.
Replace Options
Replace One
Cmd/Ctrl + Shift + 1Replace the current match and move to the next one.
Replace All
Cmd/Ctrl + Shift + EnterReplace all matches in the document at once.
Preview Changes
Hover over matchSee which text will be replaced before confirming.
Preserve Case
Toggle in optionsMaintain original capitalization when replacing.
Undo Support
All replacements can be undone with Cmd/Ctrl + Z. Even "Replace All" is treated as a single undo operation, so you can safely revert if needed.
Search Options
Toggle these options to refine your search results.
Case Sensitive
Match exact capitalization (Hello ≠ hello)
Alt + CWhole Word
Match complete words only (cat won't match category)
Alt + WUse Regex
Enable regular expression pattern matching
Alt + RRegex Support
Enable regex mode for powerful pattern matching. Here are some common patterns to get you started.
Common Regex Patterns
\d+Match any numberMatches: 123, 45, 6789
\b\w+\bMatch whole wordsMatches each word individually
https?://\S+Match URLsMatches: http://... or https://...
TODO:|FIXME:Match code commentsFind TODO or FIXME markers
Capture Groups in Replace
Use capture groups in your pattern (parentheses) and reference them in the replacement with $1, $2, etc. For example, pattern (\w+)@(\w+) can be replaced with $2:$1.
Workspace-Wide Search
Press Cmd/Ctrl + Shift + F to search across all files in your workspace.
Search All Files
Search across every file in your workspace simultaneously.
File Type Filter
Limit search to specific file types (*.md, *.txt, etc.).
Folder Filter
Include or exclude specific folders from search results.
Results Preview
See matching lines with context without opening the file.
.gitignore Filtering
Automatic Filtering
Workspace search automatically respects your .gitignore file. This keeps search results clean by excluding build artifacts, dependencies, and other files you typically don't want to search.
Excluded by Default
- node_modules/
- .git/
- dist/ and build/
- *.log files
Override Options
You can temporarily include ignored files or add custom exclusions:
- Toggle 'Include Ignored Files'
- Add custom exclude patterns
- Use file type filters
Search Results Navigation
Navigate through workspace search results efficiently.
Previous Result
Shift + Enter or click up arrow
Next Result
Enter or click down arrow
Open File
Click result to open at match
Results Panel Features:
Keyboard Shortcuts
Search Shortcuts
Cmd/Ctrl + FCmd/Ctrl + HCmd/Ctrl + Shift + FEnterShift + EnterEscapeCmd/Ctrl + GCmd/Ctrl + Shift + GSearch Tips
Use keyboard navigation
Press Enter to jump to the next match and Shift+Enter for the previous. No need to click buttons.
Leverage .gitignore
Workspace search automatically respects your .gitignore file, keeping results clean and relevant.
Learn basic regex
Even simple patterns like \d+ (numbers) or .* (anything) can make your searches much more powerful.
Use replace preview
Before replacing all, hover over matches to see exactly what will change to avoid mistakes.
Ready to explore more?
Learn about other workspace features like multi-tab editing, Quick Switcher, and bookmarks.
Back to Workspace Guide