Paste an error, get the fix. Built-in knowledge base hits 99+ rules across 5 languages — instant, offline, zero config. No match? AI deep analysis kicks in automatically. v0.7.0 ships a fully redesigned UI with immersive visual feedback, glassmorphism, and gradient themes.
Most error helpers either give you a wall of text or require you to copy-paste to a chatbot. Blast does both — and shows them side by side:
- Built-in KB (76 → 99 rules): offline, instant, with
code_fixsnippets you can copy. - AI fallback (7 providers): OpenAI, DeepSeek, 智谱 GLM, 阿里百炼 Qwen, 硅基流动, OpenRouter, or any custom OpenAI-compatible endpoint.
- Side-by-side display — KB match + AI deep analysis in the same result page.
- Save AI results to My KB — turn one-off AI answers into permanent offline rules.
- 99+ KB rules — Python, JavaScript/TypeScript, Go, Rust, Java, Docker, plus Common (git, npm, env). Bilingual EN/中文.
- AI deep analysis — 7 providers, OpenAI-compatible API, multi-language responses.
- Dual display — KB match + AI analysis side-by-side when KB hits; AI-only when it misses.
- Code Fix snippets — ready-to-paste fixes for many rules.
- One-click copy — copy the full analysis result.
- Three color presets —
bp(purple),bp3(cyan),bpGlow(magenta-to-cyan gradient) - Glassmorphism — translucent panels with
backdrop-filterblur - Gradient backgrounds — radial color washes in the sidebar
- Pulsing glow buttons — focus-state light rings
blast-riseentrance animation — staggered fade-in for result cards- AI loading spinner — animated indicator while waiting for the LLM
- Compact mode — denser spacing for small screens
- Auto theme — light/dark/auto follow VS Code color scheme
8 UI languages: English, 中文, 日本語, 한국어, Deutsch, Français, Español, Português.
- Run & Fix —
Ctrl+Alt+Rruns the current file and auto-analyzes stderr - Analyze selection —
Ctrl+Alt+Bon any selected error text - Context menu — right-click → "Blast: Analyze Selected Error"
- Custom KB — save AI results to
.vscode/blast-custom.json, import/export as JSON - Full-text search — Index tab searches all built-in + custom rules
- Tested — 30/30 unit tests for the matching engine
Download the latest .vsix from Releases, then:
code --install-extension blast-0.7.0.vsixReload VS Code (Ctrl+Shift+P → Developer: Reload Window).
- Click the ⚡ Blast icon in the Activity Bar
- Paste an error message into the Analyze tab
- Click Analyze — or press
Ctrl+Alt+Rto run the current file and auto-analyze
Your Error
│
▼
┌─────────────┐ hit ┌──────────────────────────┐
│ KB Engine │─────────▶│ Instant Fix + code_fix │
│ 99+ rules │ │ + AI deep analysis (async)│
└─────────────┘ └──────────────────────────┘
│ miss
▼
┌─────────────┐
│ AI Engine │──▶ Deep analysis + solution steps
│ 7 providers │──▶ Option: 💾 Save to My KB
└─────────────┘
- KB hit → response under 50ms, fully offline
- AI → 2–6s roundtrip, follows UI language
| Shortcut | Action |
|---|---|
Ctrl+Alt+R |
Run current file and analyze output |
Ctrl+Alt+B |
Analyze selected error text |
All settings accessible via the Blast sidebar.
| Key | Default | Description |
|---|---|---|
blast.locale |
"en" |
UI language (en/zh/ja/ko/de/fr/es/pt) |
blast.showConfidence |
true |
Show match confidence % |
blast.appearance.colorPreset |
"bp" |
bp / bp3 / bpGlow |
blast.appearance.theme |
"auto" |
light / dark / auto |
blast.appearance.fontSize |
13 |
px |
blast.appearance.compact |
false |
compact spacing |
| Key | Default | Description |
|---|---|---|
blast.runner.python |
python |
Python runner |
blast.runner.javascript |
node |
JavaScript runner |
blast.runner.typescript |
npx ts-node |
TypeScript runner |
blast.runner.go |
go run |
Go runner |
blast.runner.ruby |
ruby |
Ruby runner |
| Key | Default | Description |
|---|---|---|
blast.ai.provider |
"deepseek" |
openai / deepseek / zhipu / dashscope / siliconflow / openrouter / custom |
blast.ai.endpoint |
"https://api.deepseek.com/v1" |
OpenAI-compatible endpoint |
blast.ai.model |
"deepseek-chat" |
Model name |
blast.ai.maxTokens |
2000 |
Max response tokens |
blast.ai.temperature |
0.3 |
Creativity (0–2) |
API Key is stored in VS Code's SecretStorage — never in plaintext config.
- Open the Analyze tab
- Pick a Provider (or stick with DeepSeek default)
- Fill in API Key (and override endpoint/model if needed)
- Click Save then Test — green "✅ Connected" means you're good
Recommended for China: DeepSeek (api.deepseek.com) — domestic access, new users get free credits.
Recommended globally: OpenAI (api.openai.com) or OpenRouter (free tier).
Blast saves custom entries to .vscode/blast-custom.json in your workspace.
- Save to My KB — AI results can be saved for future instant matching
- Import / Export — Share KB packs as JSON files
- Full-Text Search — Index tab lets you search all built-in + custom rules
- Deduplication — same
idoverrides; new entries merged
git clone https://github.com/zyz-124/blast.git
cd blast
npm install
npm run compile
npm test
# To package:
npm run package- Zero runtime dependencies (pure TypeScript + VS Code API)
- 30/30 unit tests for the matching engine
- AI client uses standard
fetch()— no extra SDKs
- Three color presets (
bp,bp3,bpGlow) - Glassmorphism + gradient backgrounds
- Pulsing glow focus rings
blast-riseentrance animation- AI loading spinner
- 7 AI providers (OpenAI, DeepSeek, 智谱, 阿里百炼, 硅基流动, OpenRouter, Custom)
- 4 appearance options (color preset, theme, font size, compact mode)
- 99+ KB rules with full 中文 translation
- AI-powered core analysis with KB as fast cache
- AI i18n (responses follow UI language)
- Full 中文 translation of KB titles + steps
- UI beautification: purple gradient, rounded cards, JetBrains Mono
- Settings, Analyze, My KB, Index tabs
- Custom KB import/export
- Confidence display
- Run-and-fix workflow
- Simplified UX: single button + context menu +
Ctrl+Alt+R - 44 KB rules (bilingual)
- First working release: pure TypeScript, 19/19 tests passing
MIT © 2024 zyz-124
⚡ Stop Googling errors. Blast them.