struct LSP::Message::Initialize::Params
- LSP::Message::Initialize::Params
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/message.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
- #_root_path : String | Nil
- #_root_path=(_root_path : String | Nil)
-
#capabilities : Data::ClientCapabilities
The capabilities provided by the client (editor or tool)
-
#capabilities=(capabilities : Data::ClientCapabilities)
The capabilities provided by the client (editor or tool)
- #options : JSON::Any | Nil
- #options=(options : JSON::Any | Nil)
- #process_id : Int64 | Nil
- #process_id=(process_id : Int64 | Nil)
- #root_uri : URI | Nil
- #root_uri=(root_uri : URI | Nil)
-
#trace : String
The initial trace setting.
-
#trace=(trace : String)
The initial trace setting.
- #workspace_folders : Array(Data::WorkspaceFolder)
- #workspace_folders=(workspace_folders : Array(Data::WorkspaceFolder))
Constructor Detail
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)
#
Instance Method Detail
def capabilities : Data::ClientCapabilities
#
The capabilities provided by the client (editor or tool)
def capabilities=(capabilities : Data::ClientCapabilities)
#
The capabilities provided by the client (editor or tool)