This feature is only available with an active Enterprise license. Please add your license key to activate it.
Features
| Feature | Description |
|---|---|
| Hover popover | Hovering over a symbol reveals the symbol’s definition signature as a inline preview. |
| Go to definition | Clicking the “go to definition” button in the popover or clicking the symbol name navigates to the symbol’s definition. |
| Find references | Clicking the “find all references” button in the popover lists all references in the explore panel. |
| Explore panel | Lists all references and definitions for the symbol selected in the popover. |
| Cross-repository navigation | You can search across all repositories by clicking the globe icon in the explore panel. By default, references and definitions are scoped to the repository where the symbol is being resolved. |
How does it work?
Code navigation is search-based, meaning it uses the same code search engine and query language to estimate a symbol’s references and definitions. We refer to these estimations as “search heuristics”. We have two search heuristics to enable the following operations:Find references
Given asymbolName, along with information about the file the symbol is contained within (git_revision, and language), runs the following search:
Find definitions
Given asymbolName, along with information about the file the symbol is contained within (git_revision, and language), runs the following search:
sym: prefix is used to filter the search by symbol definitions. These are created at index time by universal ctags.
