Code Summary Generator 🤖
Automatically generate professional README files from your codebase using AI!
Transform any project into well-documented code with intelligent analysis. One click, professional documentation.
🚀 Quick Start
Step 1: Install & Setup
- Install this extension from VS Code Marketplace
- Open any project folder in VS Code
- Get your free API key (takes 1 minute) ⬇️
Step 2: Get Your Free Gemini API Key
- Visit Google AI Studio
- Click "Create API Key"
- Copy the generated key (starts with
AIza...
)
Step 3: Add API Key to VS Code
- In VS Code, press
Ctrl + Shift + P
(Windows/Linux) or Cmd + Shift + P
(Mac)
- Type:
Preferences: Open User Settings (JSON)
- Click on it to open your
settings.json
file
- Add this line inside the
{}
brackets:
"codeSummaryGenerator.apiKey": "paste-your-api-key-here"
- Save the file (
Ctrl + S
)
Example settings.json:
{
"editor.fontSize": 14,
"codeSummaryGenerator.apiKey": "AIzaSyD1234567890abcdef...",
"workbench.colorTheme": "Dark+"
}
Step 4: Generate Your README
- Press
Ctrl + Shift + P
(Windows/Linux) or Cmd + Shift + P
(Mac)
- Type:
Generate Summary: Code Summary with AI
- Press Enter to run the command
- Wait for processing (30-60 seconds)
- Done! Your AI-generated README.md is ready
Alternative: Click the "Generate README" button in the status bar (bottom-right corner)
📁 What You Get
After running the extension, you'll find these files in your project:
- 📄
README.md
- Professional AI-generated documentation
- 📊
codesummary.json
- Structured project analysis
- 📋
codesummary.pdf
- Visual code report
✨ Features
- 🧠 Smart AI Analysis - Uses Google Gemini to understand your code
- 📝 Professional Documentation - Creates comprehensive README files
- ⚡ One-Click Generation - Simple status bar button
- 🎯 Context-Aware - Understands your project structure and purpose
- 🔄 RAG Technology - Advanced retrieval for accurate documentation
💡 Perfect For
- 🆕 New projects needing documentation
- 🌟 Open source projects
- 👥 Team collaboration
- 📚 Code reviews and handovers
- 💼 Portfolio projects
❓ Troubleshooting
"API key not found" error?
- Make sure you added the API key to your
settings.json
- Check the key starts with
AIza
and has no extra spaces
- Restart VS Code after adding the key
Extension not working?
- Ensure you have a folder open (not just individual files)
- Try reloading VS Code:
Ctrl+Shift+P
→ Developer: Reload Window
Slow processing?
- Large projects take 1-2 minutes to analyze
- Check your internet connection
🔧 Requirements
- VS Code 1.102.0 or newer
- Internet connection for AI processing
- Project folder opened in VS Code
- Free Google AI API key
📖 How It Works
- Scans your entire codebase
- Analyzes code structure and dependencies
- Uses AI to understand project purpose
- Generates professional documentation
- Creates README with proper formatting
🎯 Example Output
The extension generates README files with sections like:
- Project Description - What your project does
- Installation Guide - How to set up the project
- Usage Instructions - How to run/use the code
- Technology Stack - Languages and frameworks used
- Project Structure - File organization
- API Documentation - If APIs are detected
🆘 Need Help?
- Check that your API key is correctly set
- Ensure you have a folder open (not just files)
- Try reloading VS Code window
- Visit Google AI Studio to verify your API key
🚀 Ready to document your code professionally? Install now and generate your first README in under 5 minutes!
Made with ❤️ for developers who value good documentation
⭐ Rate This Extension | 🐛 Report Issues | 📧 Contact Support