Error Lens
Desktop application / editor · Free
A VS Code extension that displays diagnostics beside problematic code, helping you notice editor errors and warnings sooner.
Also known as: usernamehw/vscode-error-lens

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Display diagnostics beside problematic code
- Check inline messages using a real language/lint tooling error
Example workflow
A possible workflow; this is not a report of hands-on testing.
Display diagnostics beside problematic code.
Before you start
- Project files and the required result.
- A supported desktop platform.
Steps
- Choose diagnostic severity levels and the extension's display settings.
- Check inline messages using a real language/lint tooling error.
- Check export or integration of the result with the project.
Check your result
- The target application opens the result without data loss.
- The format and dependency licenses permit publishing the result.
Choosing Error Lens
Display diagnostics beside problematic code
Choose this when
- Display diagnostics beside problematic code
- Check inline messages using a real language/lint tooling error
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
Frequently asked questions
What can you use for free in Error Lens?
Code and local use under MIT.
What additional costs might arise with Error Lens?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for Error Lens?
MIT for the code; dependencies have separate licenses.
How do you get started with Error Lens?
Choose diagnostic severity levels and the extension's display settings. Check inline messages using a real language/lint tooling error. Check export or integration of the result with the project.
Can I choose which diagnostics Error Lens displays?
Yes: enabledDiagnosticLevels selects levels, messageEnabled controls inline text, and there are separate errors/warnings/info/hints switches, workspace exclusions, and copying of problem messages/codes. The extension displays diagnostics produced by language tools rather than replacing their analyzer.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Error Lens
- desktop
- Development