class
LSP::InitializeParams
- LSP::InitializeParams
- Reference
- Object
Included Modules
Defined in:
requests/initialize.crConstructors
Instance Method Summary
-
#capabilities : ClientCapabilities
The capabilities provided by the client (editor or tool).
-
#capabilities=(capabilities : ClientCapabilities)
The capabilities provided by the client (editor or tool).
-
#client_info : NamedTuple(name: String, version: String | Nil) | Nil
Information about the client.
-
#client_info=(client_info : NamedTuple(name: String, version: String | Nil) | Nil)
Information about the client.
-
#initialization_options : JSON::Any | Nil
User provided initialization options.
-
#initialization_options=(initialization_options : JSON::Any | Nil)
User provided initialization options.
-
#process_id : Int64 | Int32 | Nil
The process Id of the parent process that started the server.
-
#process_id=(process_id : Int64 | Int32 | Nil)
The process Id of the parent process that started the server.
-
#root_path : String | Nil
The rootPath of the workspace.
-
#root_path=(root_path : String | Nil)
The rootPath of the workspace.
-
#root_uri : String | Nil
The rootUri of the workspace.
-
#root_uri=(root_uri : String | Nil)
The rootUri of the workspace.
-
#trace : String | Nil
The initial trace setting.
-
#trace=(trace : String | Nil)
The initial trace setting.
-
#workspace_folders : Array(WorkspaceFolder) | Nil
The workspace folders configured in the client when the server starts.
-
#workspace_folders=(workspace_folders : Array(WorkspaceFolder) | Nil)
The workspace folders configured in the client when the server starts.
Macros inherited from module JSON::Serializable
json_discriminator(field, mapping, *, default = nil)
json_discriminator
Instance methods inherited from module LSP::WorkDoneProgressParams
work_done_token : ProgressToken | Nil
work_done_token,
work_done_token=(work_done_token : ProgressToken | Nil)
work_done_token=
Constructor Detail
Instance Method Detail
The capabilities provided by the client (editor or tool).
Information about the client.
Information about the client.
User provided initialization options.
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 (see exit notification) its process.
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 (see exit notification) its process.
The rootPath of the workspace. Is null if no folder is open.
The rootUri of the workspace. Is null if no
folder is open. If both #root_path and #root_uri are set
#root_uri wins.
The rootUri of the workspace. Is null if no
folder is open. If both #root_path and #root_uri are set
#root_uri wins.
The workspace folders configured in the client when the server starts.
This property is only available if the client supports workspace folders.
It can be null if the client supports workspace folders but none are
configured.
The workspace folders configured in the client when the server starts.
This property is only available if the client supports workspace folders.
It can be null if the client supports workspace folders but none are
configured.