mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Clarify documentation
This commit is contained in:
parent
b082a3bd76
commit
58a290c33f
1 changed files with 3 additions and 1 deletions
|
|
@ -563,9 +563,11 @@ The current protocol specification defines that the lifetime of a server is mana
|
|||
|
||||
The initialize request is sent as the first request from the client to the server. If the server receives request or notification before the `initialize` request it should act as follows:
|
||||
|
||||
* for a request the respond should be errored with `code: -32002`. The message can be picked by the server.
|
||||
* for a request the respond should be errored with `code: -32002`. The message can be picked by the server.
|
||||
* notifications should be dropped.
|
||||
|
||||
Until the server has responded to the `initialize` request with an `InitializeResult` the client must not sent any additional requests or notifications to the server.
|
||||
|
||||
>**Updated**: During the `initialize` request the server is allowed to sent the notifications `window/showMessage`, `window/logMessage` and `telemetry/event` as well as the `window/showMessageRequest` request to the client.
|
||||
|
||||
_Request_:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue