Enhanced Hover is a VS Code extension that adds AI-assisted code hovers and a symbol details sidebar for TypeScript, JavaScript, and Python.
It combines local editor context with the VS Code language model API to explain symbols, show their definition, and surface real usage examples from the workspace.
- Hover summaries for supported languages.
- A right-click command to open symbol details directly.
- A sidebar panel with dense symbol explanations, definition code, and usage snippets.
- Background summary prefetch after hover dwell.
- Configurable model selection through the VS Code language model API.
- Built-in diagnostics command for troubleshooting editor/model integration issues.
- TypeScript
- JavaScript
- Python
- VS Code
^1.100.0 - Access to a compatible model through the VS Code language model API
- GitHub Copilot or another supported provider configured in VS Code, depending on the selected model vendor
- Open a supported source file.
- Hover a symbol to see the short explanation.
- Click
Read more, or right-click and chooseEnhanced Hover: Open Symbol Details. - Run
Enhanced Hover: Initialize AI Accessonce if you want model-generated explanations.
If AI access is unavailable, the extension falls back to local symbol analysis so the sidebar still shows useful information.
Enhanced Hover: Initialize AI AccessEnhanced Hover: Open Symbol DetailsEnhanced Hover: Refresh Current SymbolEnhanced Hover: Run Diagnostics
enhancedHover.prefetchEnabledenhancedHover.hoverDwellMsenhancedHover.cacheTtlMsenhancedHover.maxContextLinesenhancedHover.requestTimeoutMsenhancedHover.model.vendorenhancedHover.model.familyenhancedHover.model.idenhancedHover.model.version
npm install
npm run compile
npm run lint
npm testLaunch the extension with F5 in VS Code to open an Extension Development Host.
npm run test:integrationThis downloads a VS Code test build into .vscode-test/, launches the extension in an isolated host, and runs end-to-end integration tests against test-fixtures/.
- This extension uses the VS Code language model API. It does not require direct third-party API keys in the extension itself.
- The
Run Diagnosticscommand is intended for troubleshooting model access, symbol resolution, and sidebar rendering.
MIT. See LICENSE.md.
