steelbrain / linter

A Base Linter with Cow Powers http://steelbrain.me/linter/
MIT License
1.1k stars 178 forks source link

Implement "unused" and "deprecated" markers for code #1717

Open illright opened 3 years ago

illright commented 3 years ago

The LSP spec allows language servers to send tags along with diagnostics and the two currently defined tags are unnecessary and deprecated. I'd like to request having these tags supported by the Linter.

The spec suggests that the clients fade out the regions tagged with unnecessary and strike through the regions tagged with deprecated. This will require two modifications: