Search & Replace
Find text in files and replace it
Overview
TeamIDE provides search functionality within files. Use Find
to locate text and Find & Replace to make changes.
Find in File
Opening Find
- Press Cmd+F (Mac) or
Ctrl+F (Windows/Linux)
- The find panel appears at the top of the editor
Using Find
- Type your search term
- Matches highlight in yellow throughout the file
- The current match highlights in a different color
- Match count shows “X of Y”
Navigation
| Action |
Method |
| Next match |
Press Enter or click
↓ |
| Previous match |
Press Shift+Enter or click
↑ |
| Close find |
Press Escape |
Search Options
Click the icons in the find panel to toggle:
| Option |
Description |
| Aa |
Match case (case-sensitive search) |
| .* |
Regular expression mode |
| W |
Whole word only |
Find & Replace
Opening Replace
- Press Cmd+H (Mac) or
Ctrl+H (Windows/Linux)
- Or click the arrow in the find panel to expand replace
Using Replace
- Enter your search term in the first field
- Enter the replacement text in the second field
- Use the buttons to replace:
| Button |
Action |
| Replace |
Replace current match and move to next |
| Replace All |
Replace all matches at once |
Tips
- Preview matches before replacing by navigating through
them
- Use Replace to replace one at a time for
careful changes
- Use Replace All for bulk changes when
you’re confident
Markdown Search
Search works in the markdown editor too:
- Press Cmd/Ctrl+F to open search
- Type to search - matches highlight in yellow
- Current match shows in orange
- Navigate with Enter /
Shift+Enter
Replace in Markdown
- Click the replace icon to expand the replace section
- Enter replacement text
- Click Replace or All
Search Highlighting
| Highlight |
Meaning |
| Yellow background |
Match found |
| Orange/darker background |
Current match (where cursor is) |
Regular Expressions
Enable regex mode (.* button) to use
patterns:
| Pattern |
Matches |
\d+ |
One or more digits |
\w+ |
One or more word characters |
^ |
Start of line |
$ |
End of line |
. |
Any character |
* |
Zero or more of previous |
+ |
One or more of previous |
Example: Find console\.log\(.*\) to match all
console.log statements.
Keyboard Shortcuts
Summary
| Shortcut |
Action |
| Cmd/Ctrl+F |
Open find |
| Cmd/Ctrl+H |
Open find & replace |
| Enter |
Next match |
| Shift+Enter |
Previous match |
| Escape |
Close find panel |
Limitations
- Search works within the current file only
- No project-wide search across all files (use terminal:
grep or rg)
- Replace only affects the current file
Tips
- Quick find: Select text first, then press
Cmd/Ctrl+F - your selection auto-fills the search
- Case matters: Enable case-sensitive search
when looking for specific variable names
- Regex power: Use regex for complex patterns
like email addresses or URLs
Changelog
| Date |
Change |
| 2026-02-02 |
Initial documentation |