class LSProtocol::DiagnosticsCapabilities
- LSProtocol::DiagnosticsCapabilities
- Reference
- Object
Overview
General diagnostics capabilities for pull and push model.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(code_description_support : Bool | Nil = nil, data_support : Bool | Nil = nil, related_information : Bool | Nil = nil, tag_support : ClientDiagnosticsTagOptions | Nil = nil)
Instance Method Summary
-
#code_description_support : Bool | Nil
Client supports a codeDescription property
-
#data_support : Bool | Nil
Whether code action supports the
data
property which is preserved between atextDocument/publishDiagnostics
andtextDocument/codeAction
request. -
#related_information : Bool | Nil
Whether the clients accepts diagnostics with related information.
-
#tag_support : ClientDiagnosticsTagOptions | Nil
Client supports the tag property to provide meta data about a diagnostic.
Constructor Detail
Instance Method Detail
def code_description_support : Bool | Nil
#
Client supports a codeDescription property
@since 3.16.0
def data_support : Bool | Nil
#
Whether code action supports the data
property which is
preserved between a textDocument/publishDiagnostics
and
textDocument/codeAction
request.
@since 3.16.0
def tag_support : ClientDiagnosticsTagOptions | Nil
#
Client supports the tag property to provide meta data about a diagnostic. Clients supporting tags have to handle unknown tags gracefully.
@since 3.15.0