class LSProtocol::InitializeParamsPrivate
- LSProtocol::InitializeParamsPrivate
- Reference
- Object
Overview
The initialize parameters
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#capabilities : ClientCapabilities
The capabilities provided by the client (editor or tool)
- #client_info : ClientInfo | Nil
- #initialization_options : LSPAny | Nil
-
#locale : String | Nil
The locale the client is currently showing the user interface in.
- #process_id : Int32 | Nil
- #root_path : String | Nil
- #root_uri : URI | Nil
-
#trace : TraceValue | Nil
The initial trace setting.
- #work_done_token : ProgressToken | Nil
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)
#
Instance Method Detail
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