Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Code DoctorNew to Visual Studio Code? Get it now.
Code Doctor

Code Doctor

kamruj-akash

|
44 installs
| (0) | Free
An AI-powered assistant to review and improve your code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Doctor 🤖🩺✨

Version Installs License: MIT

Your Personal AI Code Reviewer, right inside VS Code! Powered by Google's Gemini AI.

Ever wished you had a senior developer to look over your code and provide instant feedback? Code Doctor brings that experience directly into your editor. Select any piece of code, and get an expert-level analysis on bugs, performance, best practices, and readability in seconds.


✅ Features

  • 🤖 AI-Powered Analysis: Leverages Google's powerful Gemini AI to provide deep insights into your code.
  • 🐛 Bug Detection: Identifies potential bugs and logical errors before they make it to production.
  • ⚡ Performance Optimization: Suggests ways to make your code run faster and more efficiently.
  • 📖 Readability & Best Practices: Recommends changes to improve code clarity and align with industry best practices.
  • ✍️ Markdown Formatted Output: Presents the analysis in a clean, easy-to-read Markdown format in a separate tab.

⚙️ Setup & Configuration

This extension requires a Google Gemini API Key to function.

  1. Get your API Key: Visit Google AI Studio to create your free API key.
  2. Add the Key in VS Code:
    • Open VS Code Settings (Ctrl+, or ⌘+,).
    • Search for Code Doctor.
    • Find the "Code Doctor: Api Key" field and paste your key there.

🚀 How to Use

  1. Open any code file (e.g., JavaScript, Python, etc.).
  2. Select a block of code you want to have reviewed.
  3. Open the Command Palette (Ctrl+Shift+P on Windows/Linux or ⌘+Shift+P on Mac).
  4. Type Analyze Code with Code Doctor and press Enter.
  5. A new tab will open beside your code with the AI-generated review.

Code Doctor Demo (Note: You will need to create and upload this demo.gif to your repository)


👨‍💻 About the Author

This extension is developed and maintained by Kamruj Akash. I'm a passionate web developer focused on creating tools that improve developer productivity and workflow.

Connect with me:

  • Website
  • GitHub
  • LinkedIn
  • Email

🤝 Contributing

Found a bug or have a feature request? Please open an issue on the GitHub Repository.


📄 License

This project is licensed under the MIT License. See the LICENSE file for more details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft