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 consume credits from your subscription's shared credit balance.
Managing usage
Sourcegraph administrators can configure entitlements for their users, for example "60 smart hover summaries per hour", in /site-admin/entitlements.
To learn more, refer to Entitlements.
Feedback
Please share feedback on this feature with us at feedback@sourcegraph.com or via your customer success manager.