phindle / error-lens

Visual Studio Code extension which enhances the display of errors and warnings.
https://marketplace.visualstudio.com/items?itemName=PhilHindle.errorlens
MIT License
89 stars 40 forks source link

Ability to exclude some of the problems #17

Closed usernamehw closed 1 year ago

usernamehw commented 5 years ago

A new setting that would define an array of problems that shouldn't be highlighted.

One way is to ask for source & code (it can be seen on hover).

screenshot 71

Another way is to accept substring of the message.

[
  // exclude `is declared but its value is never read.ts(6133)`
  {
    "source": "ts",
    "code": 6133
  },
  // exclude `This may be converted to an async function.ts(80006)`
  "may be converted to an async"
]
phindle commented 5 years ago

Good suggestion, will implement this soon.