跳转到内容

Navigate and search

此内容尚不支持你的语言。

Most moves in a project start with a name: of a file, a class, a function or a command. Search Everywhere finds all of them from one field, and the code insight of the language server takes you from a name to its declaration, its usages and its callers. Search Everywhere, go to declaration, usages and hierarchies: Works. The / commands of Search Everywhere: Experimental.

From a name to its declaration, usages and callers
Editor with cart.py: the class Cart with the methods add, subtotal_cents and total_cents, the caret in the call apply_discount on line 27
  1. Editor with cart.py: the class Cart with the methods add, subtotal_cents and total_cents, the caret in the call apply_discount on line 27
  2. Search Everywhere popup with the tabs All, Classes, Files, Symbols, Actions, Text and Endpoints and an empty search field listing recent files
  3. Search Everywhere with the query OrSe: under Symbols the class OrderService of shop.orders at orders.py:5 and a test function, under Actions Unindent Line or Selection
  4. Editor with cart.py again, the caret in the call apply_discount
  5. Editor with pricing.py in a second tab, the caret on the function apply_discount on line 6
  6. Popup Usages of apply_discount (2) under the caret with two rows: the import line at shop/cart.py:4 and the call at shop/cart.py:27
  7. Hierarchy tool window on the right with the tabs Callers and Callees: apply_discount called by total_cents of class Cart, called by place of class OrderService and by test_total_includes_tax, and place called by test_order_service_records_revenue

Real frames of the application · ferris-idea drive, then ferris-idea drive screenshot after each step (docs/site/scripts/record-tour.py) · v1.6.0 release build, 2026-12-04 · throwaway demo project, a small Python shop with Pyright as language server; theme Ferris IDEA Dark

Search Everywhere’s files, actions and text work in any folder. Classes, symbols, declarations, usages and hierarchies come from the language server of the file’s language; the page of your language names the server and how to install it. Without one, those lists stay empty and the status bar says why.

  1. Press Shift twice. The popup opens on the All tab.
  2. Type a few letters of what you look for. Fragments match at word starts and camel humps: OrSe finds OrderService, GoDe finds GotoDeclaration. Words may come in any order; a * lets a fragment match anywhere in the name.
  3. Press ↓ and ↩, or click a row. ⇧↩ opens it in a split to the right.

The All tab shows up to eight results per group (Files, Symbols, Actions, Text). A tab of its own shows up to 50: switch with Tab and ⇧Tab, or open a tab directly:

Tab Opens with Finds
Classes Navigate › Class… classes, interfaces, structs and enums
Files Navigate › File… files by name or path
Symbols Navigate › Symbol… functions, methods, fields, constants
Actions Navigate › Action…, Help › Find Action… every command of the window, with its shortcut, and the Settings pages
Text Navigate › Text… lines of text, with Cc (match case), W (words) and .* (regex)
Endpoints Navigate › Endpoint… the HTTP endpoints of the project

Useful extras:

  • An empty field lists the files you opened recently.
  • name:line or name:line:column opens the file at that place: cart.py:42.
  • A sum like 12*7 shows = 84 on the All tab; ↩ copies the result.
  • Include non-project items widens the search to libraries and ignored files. Pressing the tab’s shortcut a second time switches it as well. It is off again at the next opening, so a search never surprises you with library files.
  • Commands. Experimental Type / to choose a tab by name: /files, /symbols, /actions, /text. Tab completes the command.
  • Open in Find Window on the Text tab moves the results to the Find in Files panel, where they stay: Find and replace.

Go to a line, a recent file, a recent place

Section titled “Go to a line, a recent file, a recent place”
  • Navigate › Line:Column… asks for 42, 42:7 or :7.
  • View › Recent Files lists the files you opened, the current one first and the previous one selected, so ↩ takes you back. Show edited only keeps the files you changed. The left column lists the tool windows.
  • View › Recent Locations shows the last 50 places you worked, each with its code, the enclosing class and function, and how long ago. Type to filter; press the shortcut again inside to keep only places you changed.
  • Navigate › Back and Forward step through the places you jumped to, up to 100.

Put the caret on a name, or just after it, and:

Command Menu What you get
Declaration Navigate › Declaration or Usages, or ⌘-click (Ctrl-click) the declaration; on the declaration itself, its usages
Implementation Navigate › Implementation(s) the implementations of an interface, trait or abstract method
Type declaration Navigate › Type Declaration the declaration of the variable’s type
Super method Navigate › Super Method the method this one overrides (Java, Kotlin)
Quick Definition View › Quick Definition the target’s source in a popup, without leaving the file
Test Navigate › Test the test of this class, or the class of this test
Related symbol Navigate › Related Symbol… the style sheets of an HTML file, and back
Header/Source Navigate › Header/Source the header of a C or C++ file, or its source

With several targets, a list such as Choose implementation of apply(int) (2) lets you pick. A jump into folded code unfolds it. With nothing to go to, the status bar says Cannot find a declaration to go to.

  • Edit › Find Usages › Show Usages opens a popup under the caret, Usages of total (5), one line per usage with its file:line. Choose one to go there.
  • Edit › Find Usages › Find Usages lists them in the Find tool window at the bottom, grouped by file, with a preview. Navigate › Next Occurrence and Previous Occurrence step through them without the mouse.
  • Edit › Find Usages › Highlight Usages in File marks every usage in the open file, reads and writes in two colors, until you press Esc.

Resting the caret on a name highlights its usages in the file by itself after a moment. The setting is Highlight usages of the symbol at the caret under Settings › Editor › General › Code Insight.

If the language server is too slow, Show Usages falls back to Text occurrences of total: the places where the name appears as text, which may include unrelated ones.

  • Navigate › Call Hierarchy opens the Hierarchy tool window with Callers of apply, five levels deep. The Callees tab turns it around. Recursion is marked (recursive), and the tree stops at 500 entries.
  • Navigate › Type Hierarchy shows the supertypes and subtypes of a class.
  • Navigate › Method Hierarchy shows which classes define, inherit or must define a method (Java and Kotlin).

The window stays open while you jump from its rows; ⇧Esc hides it.

Navigate › Next Highlighted Error (F2) goes to the next error of the file, or to the next warning if there are no errors, and shows its message. View › Error Description shows the whole message. Fixing a problem: Inspections and quick fixes.

Keyboard of
ActionShortcut
Edit › Find Usages › Find Usages⌥F7AltF7
Edit › Find Usages › Highlight Usages in File⇧⌘F7CtrlShiftF7
Edit › Find Usages › Show Usages⌥⌘F7CtrlAltF7
Navigate › Action⇧⌘ACtrlShiftA
Navigate › Back⌘[ or ⌥⌘←CtrlAlt←
Navigate › Call Hierarchy⌃⌥HCtrlAltH
Navigate › Class⌘OCtrlN
Navigate › Declaration or Usages⌘B or mouse:ForcetouchCtrlB
Navigate › File⇧⌘OCtrlShiftN
Navigate › Forward⌘] or ⌥⌘→CtrlAlt→
Navigate › Implementation(s)⌥⌘BCtrlAltB
Navigate › Last Edit Location⇧⌘⌫CtrlShiftBackspace
Navigate › Line:Column⌘LCtrlG
Navigate › Method Hierarchy⇧⌘HCtrlShiftH
Navigate › Navigate in File › Next Method⌃⇧↓Alt↓
Navigate › Navigate in File › Previous Method⌃⇧↑Alt↑
Navigate › Next Highlighted ErrorF2F2
Navigate › Next Occurrence⌥⌘↓CtrlAlt↓
Navigate › Previous Highlighted Error⇧F2ShiftF2
Navigate › Previous Occurrence⌥⌘↑CtrlAlt↑
Navigate › Search Everywhere⇧then⇧ShiftthenShift
Navigate › Super Method⌘UCtrlU
Navigate › Symbol⌥⌘OCtrlShiftAltN
Navigate › Text⌥⇧⌘ECtrlShiftAltE
Navigate › Type Declaration⇧⌘B or ⌃⇧BCtrlShiftB
Navigate › Type Hierarchy⌃HCtrlH
View › Quick Definition⌥Space or ⌘YCtrlShiftI
View › Recent Files⌘ECtrlE
View › Recent Locations⇧⌘ECtrlShiftE
  • Classes or Symbols stay empty. The language server of that language is not installed or still loading. The status bar names it; in a project in safe mode some servers do not start at all (trust the project).
  • A file is not found. Files outside the project’s own sources (dependencies, node_modules, build output, files Git ignores) appear only with Include non-project items.
  • Cannot find a declaration to go to. The server has no answer for that place: the name may come from a library it does not index, or the file has syntax errors around the caret.
  • The hierarchy is cut off. It stops after five levels and 500 entries; start a new hierarchy from a deeper function.

The same searches and jumps, as tools. None of them needs a right.

  • call_hierarchyreadsCall hierarchy of the function at a position of a workspace file, from its language server: direction callers lists who calls it, callees what it calls, as a tree depth levels deep (default 3, at most 10; at most 500 nodes).
  • document_highlightsreadsOccurrences of the symbol at a position within its file, from the language server's document highlights: occurrences in text order with 0-based ranges and kind (write, read, text).
  • file_diagnosticsreadsErrors and warnings of workspace files from their language server (clangd, rust-analyzer, pyright, typescript-language-server, gopls), followed by Ferris IDEA's own findings (source Ferris IDEA).
  • find_symbol_locationsreadsDefinition, all references (including the declaration), the declaration of its type (type_definition) or its implementations and overrides (implementation) for the symbol at a position of a workspace file, from its language server.
  • find_usagesreadsFind Usages for the symbol at a position of a workspace file (saved content): declaration and usages grouped by file (path, line, character, line text) from the language server within timeout_s; when slower or no server is installed, whole-word text occurrences in files of the same extension, marked source: text with a note why.
  • goto_testreadsGo to Test for a workspace file: the tests of a source file, or the files a test file tests, by file names alone among the project's own files.
  • header_sourcereadsHeader/Source for a workspace file: the headers of a C, C++ or Objective-C source file, or the sources of a header, by file names alone among the project's own files.
  • method_hierarchyreadsMethod hierarchy of the method at a position of a workspace .java file or of the function or property at a position of a .kt file (v6, from the project's syntax trees, overloads told apart by parameter count): the types from the topmost project supertype declaring the method down through every subtype, each with mark + (defines the method), - (inherits it) or ! (concrete type that must define it).
  • quick_definitionreadsQuick Definition for the symbol at a position (saved content): the source of its implementations from the language server, else its definition (kind).
  • related_filesreadsGo to Related for a workspace file: the files Ferris IDEA's own model relates to it.
  • search_everywherereadsSearch Everywhere: workspace files, classes, symbols (C, Go, Java, JavaScript, Python, Rust, TypeScript), IDE actions with shortcuts and text lines, by a few characters of the name.
  • super_methodreadsGo to Super Method for a position of a workspace .java or .kt file (SPEC-0082 v5, v6): the method the one at the position overrides or implements (searched through the project's supertypes), or on a type outside a method its superclass.
  • type_hierarchyreadsType hierarchy of the type at (or around) a position of a Java file (from jdtls, SPEC-0082 v5), a Kotlin file (from the project's syntax trees, SPEC-0082 v6: project types only, a library supertype is a leaf placed where it is named) or a JavaScript/TypeScript file (without typescript-language-server, or when it fails, from the project's syntax trees through imports and re-exports, v5): direction class (default) gives the superclass chain from the topmost class down to the type (marked *) with all its subtypes below; supertypes and subtypes start at the type.