ErrorLens AI Explainer Pro 🔍

Instant compiler and runtime error explainer with plain-English causes, diagnostic inspection drawer, and actionable fix suggestions for TypeScript, JavaScript, Python, Rust, Go, and more.
✨ Features
- 🧠 Plain-English Explanations: Translates cryptic compiler errors (e.g.
TS2322, E0382, IndentationError, TypeError) into clear, understandable developer language.
- 🎯 Interactive Hover Tooltips: Hover over any red squiggly or warning to view the root cause and quick fix suggestion directly in-editor.
- 📊 Diagnostic Explainer Drawer: Side-by-side inspection panel featuring:
- Exact error code and origin
- Plain-English breakdown
- Likely root cause
- Recommended fix with Before & After code comparison
- Direct links to official compiler documentation
- 🚀 Multi-Language Support: Curated rules and intelligent heuristic analysis across:
- TypeScript / JavaScript: TS2322, TS2339, TS2304, TS2531, TS7006, Unhandled Promises, Null pointers
- Python: SyntaxError, IndentationError, NameError, TypeError, KeyError, IndexError
- Rust: E0382 (borrow after move), E0502 (simultaneous mutable & immutable borrows), type mismatches
- Go: Type conversion mismatches, unused imports, pointer discrepancies
🛠️ Usage
1. In-Editor Hover Hints
Simply hover your mouse over any error or warning underline in your code. ErrorLens will display the plain-English explanation card with a quick fix.
2. Open Explainer Drawer
Right-click on any line with an error and select "Explain Error at Cursor", or run:
ErrorLens: Explain Error at Cursor (Ctrl+Shift+P / Cmd+Shift+P)
⚙️ Configuration
| Setting |
Type |
Default |
Description |
errorlensExplainer.enableHoverHints |
boolean |
true |
Show interactive explanation badges on error hover. |
errorlensExplainer.showExamples |
boolean |
true |
Include code before/after fix examples in hover cards. |
If you find this extension helpful, please consider sponsoring development:
👉 Sponsor Pirapaakaran on GitHub
Connect on LinkedIn: Pirapaakaran Pirathapan
📄 License
MIT © Pirapaakaran Pirathapan
| |