CodePulse

Instant, safe code-quality fixes for Python, JavaScript/TypeScript, and Java — right in VS Code.
CodePulse detects 36 rule violations, auto-fixes the safe ones, and flags the rest with
severity-coloured underlines. Sign in once, pick how you want fixes applied, and you're done —
no manual configuration required.
Features
|
|
| Sign in once |
Same account as the CodePulse web dashboard — no manual API setup |
| Choose your fix mode |
Auto-fix on save, preview-and-approve on save, or fully manual — your call, changeable any time |
| Diff preview |
Cmd/Ctrl+Shift+D — old code and new code side by side, nothing changes until you approve it |
| Plain-English status panel |
Sign-in state, fix mode, and the last thing CodePulse did — no console required |
| Health score |
Per-file and project-wide, bucketed Good / Fair / Poor like a quality gate |
| Explorer badges |
Files with pending issues or session fixes get a small marker, at a glance |
| Inline CodeLens |
"N CodePulse issues · Fix all" above any file with active issues |
| Severity colours |
🔴 CRITICAL (red) · 🟡 WARNING (yellow) · 🔵 INFO (blue) underlines |
| 36 rules |
Python · JS/TypeScript · Java — see Rule Catalog |
| Rule suppression |
# codepulse: ignore[P-ID-01] to suppress on one line |
| Per-project config |
.codepulserc to disable rules or override severities |
| Project scan |
Scan the whole workspace at once with a cancellable progress bar |
Quick Start
- Install this extension from the Marketplace — it works immediately, no setup required.
- Open any
.py, .ts, .js, or .java file and run CodePulse: Preview fixes (or just start editing) — you'll be asked to sign in.
- Right after signing in, CodePulse asks how you want fixes applied and walks you through the basics in a short "Get Started" tour.
- From then on, check the CodePulse panel in the sidebar any time for your health score, pending issues, and session log.
Self-hosting your own backend instead of the public CodePulse API? Set codepulse.apiUrl in Settings — see CONTRIBUTING.md.
Commands
| Command |
Shortcut |
Description |
CodePulse: Sign In / Sign Out |
— |
Manage your session |
CodePulse: Choose Fix Mode |
— |
Auto-fix / preview-on-save / manual |
CodePulse: Fix current file |
Ctrl+Shift+P / Cmd+Shift+P |
Apply all safe auto-fixes |
CodePulse: Preview fixes (diff view) |
Ctrl+Shift+D / Cmd+Shift+D |
Show diff before applying |
CodePulse: Scan Project |
Command Palette |
Scan all files, show health score |
CodePulse: Extract Secrets |
Command Palette |
Move hardcoded secrets to .env |
CodePulse: Check API Contracts |
Command Palette |
Detect route/method drift |
Right-click any supported file or folder to access these from the context menu.
Supported Languages & Rules
Python (18 rules)
P-EX-01 Bare except clause
P-ID-01 == None → is None
P-PY-02 datetime.now() without timezone
P-PY-01 assert in production code
P-MD-01 Mutable default arguments
P-IO-01 File open without with
P-NM-01 Magic numbers
- … and 11 more — see Rule Catalog
JavaScript / TypeScript (12 rules)
JS-EQ-01 == coercion → ===
JS-PR-01 parseInt without radix
JS-NEW-04 @ts-ignore abuse
JS-NEW-06 Exported functions missing return types
- … and 8 more
Java (12 rules)
JV-EQ-01 == on String
JV-EX-01 Empty catch block
JV-NEW-06 new BigDecimal(double)
JV-NEW-03 synchronized on non-final field
- … and 8 more
Configuration
// settings.json
{
"codepulse.fixMode": "previewOnSave", // "auto" | "previewOnSave" | "manual"
"codepulse.apiUrl": "https://your-api-url.amazonaws.com", // only needed if self-hosting
"codepulse.rules": {
"P-ST-07": "off", // disable long-function warning
"P-CF-01": "info" // downgrade to INFO
}
}
Or use a .codepulserc file in your project root:
{
"rules": {
"P-ST-07": "off",
"P-CF-01": "info"
},
"ignorePatterns": ["migrations/", "generated/"]
}
Rule Suppression
Suppress on a single line:
return datetime.now() # codepulse: ignore[P-PY-02]
Suppress all rules on a line:
assert user is not None # codepulse: ignore
Requirements
- VS Code 1.95+
- A CodePulse account (sign-in prompt appears automatically on first use)
Privacy
CodePulse processes source code in-memory inside AWS Lambda (eu-north-1).
No source code is stored, logged, or retained after the response returns.
Links
Release Notes
See CHANGELOG.md for the full history.