Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Microsoft/language-server-protocol#87 #90

Merged
merged 2 commits into from
Oct 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,15 +435,16 @@ _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 (see exit notification) its process.
*/
processId: number;
processId?: number;

/**
* The rootPath of the workspace. Is null
* if no folder is open.
*/
rootPath: string;
rootPath?: string;

/**
* User provided initialization options.
Expand Down Expand Up @@ -637,6 +638,7 @@ _Response_
#### Exit Notification

A notification to ask the server to exit its process.
The server should exit with `success` code 0 if the shutdown request has been received before; otherwise with `error` code 1.

_Notification_
* method: 'exit'
Expand Down