Packages

package diagnostic

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. 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.

  2. 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.

  3. 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.

    Annotations
    @JSExportAll() @JSExportTopLevel( "DiagnosticRelatedInformation" )
  4. trait PublishDiagnosticsParams extends AnyRef

    Diagnostics notification are sent from the server to the client to signal results of validation runs.

Value Members

  1. object DiagnosticConfigType extends ConfigType[DiagnosticClientCapabilities, Unit] with Product with Serializable
  2. object DiagnosticSeverity extends Enumeration with Product with Serializable

Ungrouped