Documentation Drift DetectorDocumentation Drift Detector is a VS Code extension that helps TypeScript projects catch documentation drift before code is committed or released. It scans changed exported APIs and local documentation, then reports cases where documentation may no longer match the source code. Detection works offline and does not require AI. Beta NoticeDocumentation Drift Detector is currently in beta. The extension may produce false positives and does not yet support every form of documentation drift. It is intended to surface likely documentation issues early, especially around exported TypeScript APIs and local examples. Supported DetectionCurrent beta detection includes:
For example, if code exports:
and documentation shows:
the extension can report a drift finding because the documented example provides one argument while the function requires two. Commands
How Detection Works
The report includes:
Extension Settings
AI BehaviorAI is not required for detection. If AI assistance is disabled or no API key is configured, the extension continues to scan documentation and detect possible drift locally. When AI assistance is enabled, generated documentation is returned as a preview so you can review it before making edits. Beta ScopeThis beta focuses on the local MVP:
The beta does not include billing, authentication, backend services, team dashboards, GitHub integration, or cloud infrastructure. |