class LSProtocol::DiagnosticRegistrationOptions
- LSProtocol::DiagnosticRegistrationOptions
- Reference
- Object
Overview
Diagnostic registration options.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(document_selector : DocumentSelector | Nil, inter_file_dependencies : Bool | Nil, workspace_diagnostics : Bool | Nil, id : String | Nil = nil, identifier : String | Nil = nil, work_done_progress : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #document_selector : DocumentSelector | Nil
-
#id : String | Nil
The id used to register the request.
-
#identifier : String | Nil
An optional identifier under which the diagnostics are managed by the client.
- #inter_file_dependencies : Bool
- #work_done_progress : Bool | Nil
- #workspace_diagnostics : Bool
Constructor Detail
def self.new(document_selector : DocumentSelector | Nil, inter_file_dependencies : Bool | Nil, workspace_diagnostics : Bool | Nil, id : String | Nil = nil, identifier : String | Nil = nil, work_done_progress : Bool | Nil = nil)
#
Instance Method Detail
def id : String | Nil
#
The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
def identifier : String | Nil
#
An optional identifier under which the diagnostics are managed by the client.