class LSProtocol::PublishDiagnosticsClientCapabilities
- LSProtocol::PublishDiagnosticsClientCapabilities
- Reference
- Object
Overview
The publish diagnostic client capabilities.
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, version_support : Bool | 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.
-
#version_support : Bool | Nil
Whether the client interprets the version property of the
textDocument/publishDiagnostics
notification's parameter.
Constructor Detail
Instance Method Detail
Client supports a codeDescription property
@since 3.16.0
Whether code action supports the data
property which is
preserved between a textDocument/publishDiagnostics
and
textDocument/codeAction
request.
@since 3.16.0
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
Whether the client interprets the version property of the
textDocument/publishDiagnostics
notification's parameter.
@since 3.15.0