LSP::DiagnosticOptions
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(inter_file_dependencies : Bool, workspace_diagnostics : Bool, identifier : Nil | String = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
identifier=(identifier : String | Nil)
An optional identifier under which the diagnostics are managed by the client.
inter_file_dependencies
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.
inter_file_dependencies=(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.
workspace_diagnostics=(workspace_diagnostics : Bool)
The server provides support for workspace diagnostics as well.