LSP::Diagnostic
Inherits JSON::Serializable < Struct < Value < Object
Constructors
Instance methods
The diagnostic's code, which might appear in the user interface.
An optional property to describe the error code
A data entry field that is preserved between a
textDocument/publishDiagnostics notification and
textDocument/codeAction request.
A data entry field that is preserved between a
textDocument/publishDiagnostics notification and
textDocument/codeAction request.
The diagnostic's severity. Can be omitted. If omitted it is up to the client to interpret diagnostics as error, warning, info or hint.
The diagnostic's severity. Can be omitted. If omitted it is up to the client to interpret diagnostics as error, warning, info or hint.
A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.
A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.