View source
enum abstract DiagnosticTag(Int)
package languageServerProtocol
import languageServerProtocol.Types
The diagnostic tags.
Available since
3.15.0
.Variables
inlineread onlyDeprecated:DiagnosticTag = 2
Deprecated or obsolete code.
Clients are allowed to rendered diagnostics with this tag strike through.
inlineread onlyUnnecessary:DiagnosticTag = 1
Unused or unnecessary code.
Clients are allowed to render diagnostics with this tag faded out instead of having an error squiggle.