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.
Get your API Key: Visit Google AI Studio to create your free API key.
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
Open any code file (e.g., JavaScript, Python, etc.).
Select a block of code you want to have reviewed.
Open the Command Palette (Ctrl+Shift+P on Windows/Linux or ⌘+Shift+P on Mac).
Type Analyze Code with Code Doctor and press Enter.
A new tab will open beside your code with the AI-generated review.
(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.