Skip to content

Commit

Permalink
Merge pull request #90 from TypeFox/language-server-protocol_87
Browse files Browse the repository at this point in the history
Fixes #87
  • Loading branch information
dbaeumer committed Oct 14, 2016
2 parents 60c41b1 + f8891c2 commit e44721e
Showing 1 changed file with 5 additions and 3 deletions.
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

0 comments on commit e44721e

Please sign in to comment.