View Source GenLSP.Structures.DiagnosticRelatedInformation (gen_lsp v0.7.3)

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.

Link to this section Summary

Functions

Fields

  • location: The location of this related diagnostic information.
  • message: The message of this related diagnostic information.

Link to this section Types

@type t() :: %GenLSP.Structures.DiagnosticRelatedInformation{
  location: GenLSP.Structures.Location.t(),
  message: String.t()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.DiagnosticRelatedInformation{}

View Source (struct)

fields

Fields

  • location: The location of this related diagnostic information.
  • message: The message of this related diagnostic information.