ErrorLens is a Visual Studio Code extension that enhances the display of errors and warnings by making diagnostics more visually prominent throughout the editor.
The extension solves the problem of diagnostics being easy to miss or hard to locate by applying multiple visual treatments to lines containing errors or warnings. It highlights entire lines where diagnostics occur, appends diagnostic messages as inline text at the end of those lines, displays icons in the gutter, and shows messages in the status bar. This multi-layered approach ensures that problems are immediately visible without requiring the developer to hover over or navigate to specific locations.
The tool suits developers who want faster error detection and reduced context-switching during coding. It works well in projects using any language supported by VSCode's language servers and linters. The extension provides granular control through commands to toggle different diagnostic levels independently—errors, warnings, info messages, and hints can each be enabled or disabled. Additional commands allow searching for problems in a browser, selecting problem ranges, copying problem messages or codes, excluding specific problems, disabling lines for linter rules, and finding rule definitions in local linter configuration files. The extension supports workspace-level exclusions and offers customization through settings that control comment formats, linter file paths, and search query behavior.
Development activity shows consistent engagement with the codebase through regular updates to both features and settings. The project maintains a substantial command set with fifteen distinct operations, indicating active refinement of user workflows. The settings configuration is extensive with seventy-six configurable options, suggesting the maintainer prioritizes user customization and adaptation to different development environments. Bug fixes and feature additions appear to be addressed as they arise, reflecting ongoing maintenance of the extension's core functionality.