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? work_done_token, work_done_token=(work_done_token : ProgressToken?) work_done_token=

Constructor Detail

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

def self.new(**args) #

Instance Method Detail

def capabilities : ClientCapabilities #

The capabilities provided by the client (editor or tool).


def capabilities=(capabilities : ClientCapabilities) #

The capabilities provided by the client (editor or tool).


def client_info : NamedTuple(name: String, version: String?)? #

def client_info=(client_info : NamedTuple(name: String, version: String?)?) #

def initialization_options : JSON::Any? #

def initialization_options=(initialization_options : JSON::Any?) #

def process_id : Int64 | Int32 | Nil #

def process_id=(process_id : Int64 | Int32 | Nil) #

def root_path : String? #

def root_path=(root_path : String?) #

def root_uri : String? #

def root_uri=(root_uri : String?) #

def trace : String? #

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


def trace=(trace : String?) #

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


def workspace_folders : Array(WorkspaceFolder)? #

def workspace_folders=(workspace_folders : Array(WorkspaceFolder)?) #