Docstrings AI Generator
Generate Python docstrings automatically using AI — smart, fast, and casual.
Features
- AI-powered docstrings: Uses Groq's Llama 3.3 70B for intelligent docstring generation
- Context-aware: Understands class context and generates relevant descriptions
- Natural tone: Writes like a real developer, not a robot
- Multi-language: Support for 14 languages (French, Spanish, German, etc.)
- Fast & free: 14,400 requests/day with Groq free tier
Usage
- Place your cursor on or just below a
def, class, or async def line
- Press
Ctrl+Shift+D (or Cmd+Shift+D on Mac)
- Done! The AI generates and inserts a docstring
Or right-click and select "Generate Docstring" from the context menu.
Configuration
Go to Settings → Search for "Docstrings AI":
- Language: Choose your preferred language for docstrings (default: English)
Requirements
- VS Code 1.85.0 or higher
- Python files only
License
MIT
| |