package diagnostic
- Alphabetic
- Public
- All
Type Members
-
case class
Diagnostic
(range: Range, message: String, severity: Option[DiagnosticSeverity] = None, code: Option[String] = None, source: Option[String] = None, relatedInformation: Seq[DiagnosticRelatedInformation] = Seq()) extends Product with Serializable
Represents a diagnostic, such as a compiler error or warning.
Represents a diagnostic, such as a compiler error or warning. Diagnostic objects are only valid in the scope of a resource.
- range
The range at which the message applies.
- message
The diagnostic's severity. Can be omitted. If omitted it is up to the client to interpret diagnostics as error, warning, info or hint.
- severity
The diagnostic's code, which might appear in the user interface.
- code
A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.
- source
The diagnostic's message.
- relatedInformation
An array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.
-
case class
DiagnosticClientCapabilities
(relatedInformation: Option[Boolean]) extends Product with Serializable
Capabilities specific to
textDocument/publishDiagnostics.Capabilities specific to
textDocument/publishDiagnostics.- relatedInformation
Whether the clients accepts diagnostics with related information.
-
case class
DiagnosticRelatedInformation
(location: Location, message: String) extends Product with Serializable
Represents a related message and source code location for a diagnostic.
Represents a related message and source code location for a diagnostic. This should be used to point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in a scope.
- location
The location of this related diagnostic information.
- message
The message of this related diagnostic information.
-
trait
PublishDiagnosticsParams
extends AnyRef
Diagnostics notification are sent from the server to the client to signal results of validation runs.
Value Members
- object DiagnosticConfigType extends ConfigType[DiagnosticClientCapabilities, Unit] with Product with Serializable
- object DiagnosticSeverity extends Enumeration with Product with Serializable