Skip to content

Find in Files

You can use Find in Files to search for text and patterns across all files in your repository.

To open Find in Files, click Tools > Find in Files.

To search for files containing specified characters, click Text and type into the Search in files field. Find in Files starts searching after you type at least two characters into the Search in files field. The header updates to show the current search.

You can use the Include field to include only specified files and the Exclude field to skip specified files using comma-separated glob patterns. You can also toggle the following icons to filter your search results.

FilterDescription
Match CaseMatches the exact letter casing.
Use RegexInterprets the query as a regular expression.
Match Whole WordMatches only complete words.

To search files for a specific symbol when language servers are enabled, click Symbol. Then, click the Choose Symbol dropdown and select a symbol.

Click Choose Symbol again, click outside the dropdown, or press Escape to close it.

Results

Find in Files results are sorted by file. Each file group shows the file name, the number of search results, and the line containing the matching text or symbol.

Text searches show up to 1,000 matches. Long lines show a short preview around each match, with an ellipsis where text is omitted. If results are truncated, refine the query or use Include and Exclude to narrow the search.

Click the file name to collapse or expand the file group. Click Collapse All or Expand All to collapse or expand all file groups. Click a search result to open the file at the exact line.

Click Clear to reset the search and search results.

Find in Files ignores files excluded by your .gitignore file.

Assist with This

Right-click a Find References result and point to Assist with This. Under Zide Assist, click Add to Conversation to attach the file of the result to a Zide Assist tab. You can also drag the result into a Zide Assist tab. For more information, see Attach items to a message.

Under Ask Zide, click Open Ask Zide. Zide opens the file with an Ask Zide panel beside it. In the panel, click Explain File or Review File. See Ask Zide beside a tab.