class LSProtocol::DiagnosticOptions
- LSProtocol::DiagnosticOptions
- Reference
- Object
Overview
Diagnostic options.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(inter_file_dependencies : Bool | Nil, workspace_diagnostics : Bool | Nil, identifier : String | Nil = nil, work_done_progress : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#identifier : String | Nil
An optional identifier under which the diagnostics are managed by the client.
-
#inter_file_dependencies : Bool
Whether the language has inter file dependencies meaning that editing code in one file can result in a different diagnostic set in another file.
- #work_done_progress : Bool | Nil
-
#workspace_diagnostics : Bool
The server provides support for workspace diagnostics as well.
Constructor Detail
def self.new(inter_file_dependencies : Bool | Nil, workspace_diagnostics : Bool | Nil, identifier : String | Nil = nil, work_done_progress : Bool | Nil = nil)
#
Instance Method Detail
def identifier : String | Nil
#
An optional identifier under which the diagnostics are managed by the client.
def inter_file_dependencies : Bool
#
Whether the language has inter file dependencies meaning that editing code in one file can result in a different diagnostic set in another file. Inter file dependencies are common for most programming languages and typically uncommon for linters.