talira

Error Lens

Shows errors and warnings inline at the end of the line in VS Code, with the whole line highlighted

open sourceMITfree

A VS Code extension that makes the diagnostics language servers and linters report stand out: it highlights each line that has a problem, prints the message at the end of the line, adds gutter icons and shows the message in the status bar. Commands jump to the next or previous problem, copy a problem's message or code, open it in a web search, add a comment that disables the linter rule for a line and find the rule in local linter config files. Its 76 settings choose which severities show and how they look. MIT licensed.

Problems it solves

  • see compiler errors and lint warnings right on the line in VS Code instead of hovering
  • make warnings in my editor impossible to miss
  • jump between problems in my code quickly

Features

  • highlights lines that have errors, warnings, info or hints
  • prints the diagnostic message inline at the end of the line
  • gutter icons and status bar message
  • commands to jump between problems, copy messages and search for them
  • adds a comment that disables a linter rule for a line

Alternatives

The same job

These do what Error Lens does.

  1. LaTeX Workshop Write, build and preview LaTeX documents in VS Code
  2. Pretty TypeScript Errors Makes TypeScript's error messages readable in VS Code, with highlighted types and links to explanations
  3. Better Comments Color-coded alerts, queries, TODOs and highlights in your code comments in VS Code
  4. Bookmarks Mark lines in your code, name them and jump between them in VS Code
  5. Git Blame See who last changed the current line, and when, in VS Code's status bar or inline

Compare Error Lens with the top 3