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

The publish diagnostic client capabilities.

Link to this section Summary

Functions

Fields

  • related_information: Whether the clients accepts diagnostics with related information.

Link to this section Types

@type t() :: %GenLSP.Structures.PublishDiagnosticsClientCapabilities{
  code_description_support: boolean() | nil,
  data_support: boolean() | nil,
  related_information: boolean() | nil,
  tag_support: map() | nil,
  version_support: boolean() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.PublishDiagnosticsClientCapabilities{}

View Source (struct)

fields

Fields

  • related_information: Whether the clients accepts diagnostics with related information.

  • tag_support: Client supports the tag property to provide meta data about a diagnostic. Clients supporting tags have to handle unknown tags gracefully.

    @since 3.15.0

  • version_support: Whether the client interprets the version property of the textDocument/publishDiagnostics notification's parameter.

    @since 3.15.0

  • code_description_support: Client supports a codeDescription property

    @since 3.16.0

  • data_support: Whether code action supports the data property which is preserved between a textDocument/publishDiagnostics and textDocument/codeAction request.

    @since 3.16.0