Smart hover summaries
Supported on Enterprise plans.
When precise code intelligence is available, Sourcegraph will provide a generated summary of the meaning of the symbol, and usage of the symbol across the codebase. In combination with the precise code intelligence hover information, this often saves the need to jump to a symbol and back which interrupts the flow of reading, and simplifies understanding complex codebases. Linked citations can even serve as an alternative to traditional code navigation.

Summaries are powered by a small, fast model, but only compiler-grade precise code intelligence data is used to inform the LLM of actual usage patterns across your repositories, allowing the LLM to cite factual usage locations in its answers — even across repositories.
Requirements
- Precise code navigation must be configured for your repositories. Smart hover summaries only appear when precise code intelligence data is available.
- Summaries are only provided for top-level symbols (function names, types, interfaces, etc.) and are not available for local symbols (e.g. variables inside a function)
Billing
Smart hover summaries are a Beta feature and free while the feature is in Beta. The feature may become billable with credits once it becomes generally available. At least 30 days notice will be given before such a change goes into effect.
Feedback
Please share feedback on this feature with us at [email protected] or via your customer success manager.