From aa25218aa254c58be7cb8555a40cfb4961053a73 Mon Sep 17 00:00:00 2001 From: Markus Westerlind Date: Sat, 9 Jul 2016 12:45:58 +0200 Subject: [PATCH] DidOpenTextDocumentParams does not extend TextDocumentIdentifier See https://github.com/Microsoft/vscode-languageserver-node/blob/032c12a09cf19ad7fb6af997beca1d5f6a7f34b2/server/src/protocol.ts#L411-L416. The `uri` field is present in the `TextDocumentItem` in any case. --- protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol.md b/protocol.md index db66bd9..714f303 100644 --- a/protocol.md +++ b/protocol.md @@ -765,7 +765,7 @@ _Notification_: * method: 'textDocument/didOpen' * params: `DidOpenTextDocumentParams` defined as follows: ```typescript -interface DidOpenTextDocumentParams extends TextDocumentIdentifier { +interface DidOpenTextDocumentParams { /** * The document that was opened. */