struct LSP::Message::Initialize::Params

Included Modules

Defined in:

lsp/message.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(process_id : Int64 | Nil = nil, root_uri : Nil | URI = nil, options : JSON::Any | Nil = nil, capabilities : LSP::Data::ClientCapabilities = Data::ClientCapabilities.new, trace : String = "off", workspace_folders : Array(LSP::Data::WorkspaceFolder) = [] of Data::WorkspaceFolder) #

[View source]

Instance Method Detail

def _root_path : String | Nil #

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

[View source]
def capabilities : Data::ClientCapabilities #

The capabilities provided by the client (editor or tool)


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

The capabilities provided by the client (editor or tool)


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

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

[View source]
def process_id : Int64 | Nil #

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

[View source]
def root_uri : URI | Nil #

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

[View source]
def trace : String #

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


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

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


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

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

[View source]