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

@since 3.16.0

Link to this section Summary

Functions

Fields

  • id: The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
  • document_selector: A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
  • legend: The legend used by the server
  • range: Server supports providing semantic tokens for a specific range of a document.
  • full: Server supports providing semantic tokens for a full document.

Link to this section Types

@type t() :: %GenLSP.Structures.SemanticTokensRegistrationOptions{
  document_selector: GenLSP.TypeAlias.DocumentSelector.t() | nil,
  full: (boolean() | map()) | nil,
  id: String.t() | nil,
  legend: GenLSP.Structures.SemanticTokensLegend.t(),
  range: (boolean() | map()) | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.SemanticTokensRegistrationOptions{}

View Source (struct)

fields

Fields

  • id: The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
  • document_selector: A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
  • legend: The legend used by the server
  • range: Server supports providing semantic tokens for a specific range of a document.
  • full: Server supports providing semantic tokens for a full document.