C++ Code DoctorC++ Code Doctor is a VS Code extension designed to help you write cleaner, more maintainable, and more efficient C++ code directly inside the editor. It is available in a Free and a Pro version. The Free version provides lightweight, file-level analysis based on pattern matching. The Pro version adds AST-based, project-aware analysis with higher accuracy and deeper insights. Upgrade to Pro to unlock full C++ semantic analysis and advanced code quality checks. What It SolvesC++ Code Doctor helps you maintain clean, efficient, and maintainable C++ code by identifying patterns that can:
It provides immediate, in-editor feedback so you can address these problems as you code, without relying on external tools or build steps. Visual DemoUnused Variable Detection (Pro Version)
Highlights variables that are declared but never used (Pro version). Unused Include Detection (Pro Version)
Highlights include directives that are not required in the current file (Pro version). Upgrade to ProThe Pro version extends these capabilities with AST-based analysis, providing:
If you work with larger codebases or advanced C++ features, the Pro version provides significantly improved accuracy and reliability. PricingC++ Code Doctor Pro is available with the following pricing:
Free vs Pro
* planned in upcoming release Free Version (RegEx-Based Analysis)The Free version uses a lightweight RegEx-based approach. Included
This approach is intentionally simple and fast. However, since it is text-based, it does not fully understand C++ semantics. Limitations
The Free version is suitable for small to medium files and straightforward code. Pro Version (AST-Based Analysis)The Pro version uses AST (Abstract Syntax Tree) analysis instead of pattern matching. This enables:
The Pro version uses Tree-sitter for AST-based parsing. Included
RequirementsNo external dependencies are required. Install the extension and open a C++ project. Activating ProThe extension provides a setting to configure a Pro license key:
Providing a valid license key enables Pro features. Known LimitationsFree Version (RegEx-Based)
Pro Version (AST-Based)
AST-based analysis continues to be refined to handle these edge cases more reliably. If you encounter issues in either version, please report them in the issue tracker: https://gitlab.com/rscd-dev/cpp-code-doctor/cpp-code-doctor-free/-/issues Get StartedInstall the Free version to start using C++ Code Doctor immediately. When you are ready for deeper analysis and advanced features, upgrade to Pro: Third-Party ComponentsThis extension uses third-party software components. All third-party dependencies and their licenses are listed in the NOTICE file. These include, among others:
All third-party components retain their respective licenses. LicenseThis project is proprietary software. See the LICENSE file for details. Third-party dependencies are subject to their respective licenses as described in the NOTICE file. ChangelogFor a full history of changes, including differences between Free and Pro versions, see CHANGELOG.md. |