class LSP::InitializeParams

Included Modules

Defined in:

requests/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]
def self.new(**args) #

[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 process_id : Int64 | Int32 | Nil #

[View source]
def process_id=(process_id : Int64 | 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 : 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 #

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

[View source]