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

  1. Type your search term
  2. Matches highlight in yellow throughout the file
  3. The current match highlights in a different color
  4. Match count shows “X of Y”
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

  1. Enter your search term in the first field
  2. Enter the replacement text in the second field
  3. 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

Search works in the markdown editor too:

  1. Press Cmd/Ctrl+F to open search
  2. Type to search - matches highlight in yellow
  3. Current match shows in orange
  4. Navigate with Enter / Shift+Enter

Replace in Markdown

  1. Click the replace icon to expand the replace section
  2. Enter replacement text
  3. 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