Learn how to navigate your code and understand its dependencies with high precision.
Code Navigation helps you quickly understand your code, its dependencies, and symbols within the Sourcegraph file view while making it easier to move through your codebase via:
Some common examples of precise navigation.
IndexersLearn how SCIP Code Intelligence Protocol works and how you can write an indexer to emit SCIP.
FeaturesCode Navigation helps you with the following tasks:
Feature Description Popover Quickly view a symbol's type signature and documentation without switching to another source file Go to definition Click the button or symbol name, navigates you to the symbol's definition Find references Selecting it in the popover lists all references, definitions, and implementations at the bottom, including precise and search-based results Find implementations Click to go to a symbol's interface definition or, at the interface, see all implementations across repositories, including interfaces implemented by a struct Perform an action When browsing code, you can perform a couple of actions like open in code host, raw download and view blame. Code Navigation typesThere are two types of Code Navigation that Sourcegraph supports:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4