DevPulse VS Code Extension
Features
- Automatically analyzes Python, JavaScript, TypeScript files on save
- Shows complexity grade (A-F) as inline CodeLens above every function
- Red/yellow squiggly underlines on complex functions (like ESLint)
- One-click AI refactor advice — explains WHY a function is complex and shows a rewritten cleaner version
- Full project analysis with a single command
Requirements
- DevPulse backend must be running locally OR configured to point to hosted API
- Groq API key (free) for AI refactor suggestions
Setup
- Start the DevPulse backend:
uvicorn backend.main:app --reload
- Install this extension
- Open VS Code settings, search "devpulse"
- Set your Groq API key
- Open any Python/JS file and save — analysis runs automatically
Extension Settings
| Setting |
Default |
Description |
| devpulse.backendUrl |
http://localhost:8000 |
DevPulse backend URL |
| devpulse.autoAnalyzeOnSave |
true |
Auto-analyze on file save |
| devpulse.showComplexityGrade |
C_and_above |
Minimum grade to show CodeLens |
| devpulse.groqApiKey |
"" |
Your Groq API key |
| |