View source
typedef InitializeParams
package languageServerProtocol.protocol
import languageServerProtocol.protocol.Protocol
The initialize parameters
Fields
optionalworkDoneToken:Null<ProgressToken>
An optional token that a server can use to report work done progress.
rootUri:Null<DocumentUri>
The rootUri of the workspace.
Is null if no folder is open.
If both rootPath
and rootUri
are set rootUri
wins.
rootPath:Null<String>
Deprecated: "deprecated in favour of rootUri"
The rootPath of the workspace. Is null if no folder is open.
processId:Null<Int>
The process Id of the parent process that started the server. Is null if the process has not been started by another process. If the parent process is not alive then the server should exit (see exit notification) its process.
optionalclientInfo:Null<{version:Null<String>, name:String}>
Information about the client
Available since
3.15.0
.