class LSProtocol::InitializeParams

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(capabilities : ClientCapabilities | Nil, process_id : Int32 | Nil, root_uri : URI | Nil, client_info : ClientInfo | Nil = nil, initialization_options : LSPAny | Nil = nil, locale : String | Nil = nil, root_path : String | Nil = nil, trace : TraceValue | Nil = nil, work_done_token : ProgressToken | Nil = nil, workspace_folders : Array(WorkspaceFolder) | Nil = nil) #

[View source]
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 client_info : ClientInfo | Nil #

[View source]
def initialization_options : LSPAny | 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)

@since 3.16.0


[View source]
def process_id : Int32 | Nil #

[View source]
def root_path : String | Nil #

[View source]
def root_uri : URI | Nil #

[View source]
def trace : TraceValue | Nil #

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


[View source]
def work_done_token : ProgressToken | Nil #

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

[View source]