View Source GenLSP.Structures.CompletionParams (gen_lsp v0.8.1)

Completion parameters

Link to this section Summary

Functions

Fields

  • context: The completion context. This is only available it the client specifies to send this using the client capability textDocument.completion.contextSupport === true
  • work_done_token: An optional token that a server can use to report work done progress.
  • partial_result_token: An optional token that a server can use to report partial results (e.g. streaming) to the client.
  • text_document: The text document.
  • position: The position inside the text document.

Link to this section Types

@type t() :: %GenLSP.Structures.CompletionParams{
  context: GenLSP.Structures.CompletionContext.t() | nil,
  partial_result_token: GenLSP.TypeAlias.ProgressToken.t() | nil,
  position: GenLSP.Structures.Position.t(),
  text_document: GenLSP.Structures.TextDocumentIdentifier.t(),
  work_done_token: GenLSP.TypeAlias.ProgressToken.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.CompletionParams{}

View Source (struct)

fields

Fields

  • context: The completion context. This is only available it the client specifies to send this using the client capability textDocument.completion.contextSupport === true
  • work_done_token: An optional token that a server can use to report work done progress.
  • partial_result_token: An optional token that a server can use to report partial results (e.g. streaming) to the client.
  • text_document: The text document.
  • position: The position inside the text document.