View Source GenLSP.Structures.PublishDiagnosticsParams (gen_lsp v0.10.0)

The publish diagnostic notification's parameters.

Link to this section Summary

Functions

Fields

  • uri: The URI for which diagnostic information is reported.

Link to this section Types

@type t() :: %GenLSP.Structures.PublishDiagnosticsParams{
  diagnostics: [GenLSP.Structures.Diagnostic.t()],
  uri: GenLSP.BaseTypes.document_uri(),
  version: integer() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.PublishDiagnosticsParams{}

View Source (struct)

fields

Fields

  • uri: The URI for which diagnostic information is reported.

  • version: Optional the version number of the document the diagnostics are published for.

    @since 3.15.0

  • diagnostics: An array of diagnostic information items.