struct LSP::InitializeParams

Included Modules

Defined in:

lsp/lifecycle/initialize.cr

Constructors

Instance Method Summary

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

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 client_info : NamedTuple(name: String, version: String | Nil) | Nil #

[View source]
def client_info=(client_info : NamedTuple(name: String, version: String | Nil) | Nil) #

[View source]
def initialization_options : JSON::Any | Nil #

[View source]
def initialization_options=(initialization_options : JSON::Any | Nil) #

[View source]
def locale : String | Nil #

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)


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

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)


[View source]
def process_id : Int32 | Nil #

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

[View source]
def root_path : String | Nil #

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

[View source]
def root_uri : String | Nil #

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

[View source]
def trace : TraceValue | Nil #

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


[View source]
def trace=(trace : TraceValue | 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.


[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.


[View source]