# Search and traces

Search every file in the folder, and turn a pasted error into a jump list.


Search in Rip has two homes. The search bar finds text in the current file. The search tab finds text in the whole folder. A third tab, Locations, turns any text with file references into a list you can jump through.

## Search the folder

Press <kbd>secondary-shift-f</kbd>. A search tab opens with a query field. Results appear while you type, grouped by file, with each match highlighted. Rip searches on background threads, so a long query never blocks the editor.

<kbd>down</kbd> and <kbd>up</kbd> move through the results. <kbd>enter</kbd> opens the selected match in the editor at that line.

To find text in one file, use the search bar. [Editing](/docs/editing.md#find-and-replace) describes it.

## Locations: paste a trace

An error message, a stack trace, or compiler output names files and lines. Copy that text and press <kbd>secondary-shift-j</kbd>. The Locations tab opens and lists every `path:line:col` reference it finds, each with a few lines of context. Paste other text into the tab to replace the list.

<kbd>down</kbd> and <kbd>up</kbd> move through the list. <kbd>enter</kbd> opens the file at that line. <kbd>escape</kbd> returns to the editor.

## Keys

| Keys | What happens |
| --- | --- |
| <kbd>secondary-shift-f</kbd> | Search the folder. |
| <kbd>secondary-shift-j</kbd> | Open Locations, filled from the clipboard. |
| <kbd>secondary-f</kbd> | Search the current file. |
