Skip to content

Commit

Permalink
Merging #408: Make the description of textDocument/didOpen less ambig…
Browse files Browse the repository at this point in the history
…uous
  • Loading branch information
dbaeumer committed Feb 23, 2018
1 parent 459d252 commit 6d39a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -2092,7 +2092,7 @@ export interface ApplyWorkspaceEditResponse {

#### <a name="textDocument_didOpen" class="anchor"></a>DidOpenTextDocument Notification (:arrow_right:)

The document open notification is sent from the client to the server to signal newly opened text documents. The document's truth is now managed by the client and the server must not try to read the document's truth using the document's uri. Open in this sense means it is managed by the client. It doesn't necessarily mean that its content is presented in an editor. An open notification must not be sent more than once without a corresponding close notification send before. This means open and close notification must be balanced and the max open count is one.
The document open notification is sent from the client to the server to signal newly opened text documents. The document's truth is now managed by the client and the server must not try to read the document's truth using the document's uri. Open in this sense means it is managed by the client. It doesn't necessarily mean that its content is presented in an editor. An open notification must not be sent more than once without a corresponding close notification send before. This means open and close notification must be balanced and the max open count for a particular textDocument is one.

_Notification_:
* method: 'textDocument/didOpen'
Expand Down

0 comments on commit 6d39a36

Please sign in to comment.