mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Clarify semantic of `processId` property of the initialize request.
This commit is contained in:
parent
302efc0ff0
commit
79e553fd4d
1 changed files with 6 additions and 3 deletions
|
|
@ -435,15 +435,18 @@ _Request_
|
|||
interface InitializeParams {
|
||||
/**
|
||||
* The process Id of the parent process that started
|
||||
* the server.
|
||||
* 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 its process
|
||||
* with `success` code 0 if the shutdown request has been received before;
|
||||
* otherwise with `error` code 1.
|
||||
*/
|
||||
processId: number;
|
||||
processId?: number;
|
||||
|
||||
/**
|
||||
* The rootPath of the workspace. Is null
|
||||
* if no folder is open.
|
||||
*/
|
||||
rootPath: string;
|
||||
rootPath?: string;
|
||||
|
||||
/**
|
||||
* User provided initialization options.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue