struct LSP::InitializeParams

Included Modules

Defined in:

lsp/protocol/initialize_params.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def capabilities : ClientCapabilities #

The capabilities provided by the client (editor or tool)


[View source]
def capabilities=(capabilities : ClientCapabilities) #

The capabilities provided by the client (editor or tool)


[View source]
def process_id : Int32 | Nil #

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.


[View source]
def process_id=(process_id : Int32 | Nil) #

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.


[View source]
def root_uri : String | Nil #

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


[View source]
def root_uri=(root_uri : String | Nil) #

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


[View source]
def trace : String | Nil #

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


[View source]
def trace=(trace : String | Nil) #

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


[View source]
def workspace_folders : Array(WorkspaceFolder) | Nil #

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.

@since 3.6.0


[View source]
def workspace_folders=(workspace_folders : Array(WorkspaceFolder) | Nil) #

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.

@since 3.6.0


[View source]