View Source GenLSP.Structures.PrivateInitializeParams (gen_lsp v0.9.0)

The initialize parameters

Link to this section Summary

Functions

Fields

  • process_id: The process Id of the parent process that started the server.

Link to this section Types

@type t() :: %GenLSP.Structures.PrivateInitializeParams{
  capabilities: GenLSP.Structures.ClientCapabilities.t(),
  client_info: map() | nil,
  initialization_options: GenLSP.TypeAlias.LSPAny.t() | nil,
  locale: String.t() | nil,
  process_id: integer() | nil,
  root_path: (String.t() | nil) | nil,
  root_uri: GenLSP.BaseTypes.document_uri() | nil,
  trace: GenLSP.Enumerations.TraceValues.t() | nil,
  work_done_token: GenLSP.TypeAlias.ProgressToken.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.PrivateInitializeParams{}

View Source (struct)

fields

Fields

  • process_id: The process Id of the parent process that started the server.

    Is null if the process has not been started by another process. If the parent process is not alive then the server should exit.

  • client_info: Information about the client

    @since 3.15.0

  • locale: The locale the client is currently showing the user interface in. This must not necessarily be the locale of the operating system.

    Uses IETF language tags as the value's syntax (See https://en.wikipedia.org/wiki/IETF_language_tag)

    @since 3.16.0

  • root_path: The rootPath of the workspace. Is null if no folder is open.

    @deprecated in favour of rootUri.

  • root_uri: The rootUri of the workspace. Is null if no folder is open. If both rootPath and rootUri are set rootUri wins.

    @deprecated in favour of workspaceFolders.

  • capabilities: The capabilities provided by the client (editor or tool)

  • initialization_options: User provided initialization options.

  • trace: The initial trace setting. If omitted trace is disabled ('off').

  • work_done_token: An optional token that a server can use to report work done progress.