class LSProtocol::DiagnosticClientCapabilities
- LSProtocol::DiagnosticClientCapabilities
- Reference
- Object
Overview
Client capabilities specific to diagnostic pull requests.
@since 3.17.0
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, dynamic_registration : Bool | Nil = nil, related_document_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. -
#dynamic_registration : Bool | Nil
Whether implementation supports dynamic registration.
-
#related_document_support : Bool | Nil
Whether the clients supports related documents for document diagnostic pulls.
-
#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
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
Whether implementation supports dynamic registration. If this is set to true
the client supports the new (TextDocumentRegistrationOptions & StaticRegistrationOptions)
return value for the corresponding server capability as well.
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