WrightAI — AI Code Documentation for VS CodeWrightAI brings AI-powered documentation directly into your editor. Generate docstrings, track coverage, detect drift, and chat with your codebase — all without leaving VS Code. No local server or Python installation required — the backend is fully hosted. Getting Started
FeaturesGenerate DocstringsClick the Generate Docs CodeLens button above any function, or press A side-by-side diff preview shows the generated docstring before anything is written — accept or discard with one click. Accepting applies the docstring directly to your file and saves it, automatically refreshing the coverage panel. You can also:
Generate Docs for an Entire FileOpen the Command Palette (
Wright documents every undocumented function in the file with a live progress bar showing per-function status. Gutter IconsEvery function line shows a real-time status icon in the editor gutter:
Hover over a gutter icon to see the function name and a quick-action link. Coverage PanelThe Wright Coverage panel in the Explorer sidebar shows live documentation metrics:
The panel runs The panel refreshes automatically every time you save a file or accept a docstring injection. Run Wright: Show coverage from the Command Palette to refresh it manually. Drift DetectionWright detects two kinds of drift:
Results are cached locally in SQLite so repeated saves for unchanged functions cost zero tokens. Run Wright: Check for doc drift to scan the current file. Stale functions are highlighted with an ⚠ Docs outdated — regenerate CodeLens. Drift is also checked automatically every time you save a file. Chat with Your CodebaseRun Wright: Chat with codebase from the Command Palette to open an interactive chat panel. Ask anything:
Answers stream in real time, include clickable file:line citations that jump straight to the source, and suggest follow-up questions. Full conversation history is maintained across turns. Keyboard Shortcuts
Extension Settings
Supported LanguagesPython · JavaScript · TypeScript · Java · Go · Rust Support
LicenseThis extension is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-or-later). See the bundled LICENSE file for the full text. For commercial/enterprise use without AGPL obligations, contact surajsahoo19991012@gmail.com. |