From 4f1646c3f4ad56dc91d2fc66232c9a292fb288e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20B=C3=A4umer?= Date: Thu, 8 Aug 2024 13:03:09 +0200 Subject: [PATCH] Update meta model to latest implementation (#1535) --- protocol/metaModel.json | 151 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) diff --git a/protocol/metaModel.json b/protocol/metaModel.json index 20fccca67..27857f3c9 100644 --- a/protocol/metaModel.json +++ b/protocol/metaModel.json @@ -1064,6 +1064,42 @@ "since": "3.18.0", "proposed": true }, + { + "method": "workspace/textDocumentContent", + "typeName": "TextDocumentContentRequest", + "result": { + "kind": "base", + "name": "string" + }, + "messageDirection": "clientToServer", + "params": { + "kind": "reference", + "name": "TextDocumentContentParams" + }, + "registrationOptions": { + "kind": "reference", + "name": "TextDocumentContentRegistrationOptions" + }, + "documentation": "The `workspace/textDocumentContent` request is sent from the client to the\nserver to request the content of a text document.\n\n@since 3.18.0\n@proposed", + "since": "3.18.0", + "proposed": true + }, + { + "method": "workspace/textDocumentContent/refresh", + "typeName": "TextDocumentContentRefreshRequest", + "result": { + "kind": "base", + "name": "null" + }, + "messageDirection": "serverToClient", + "params": { + "kind": "reference", + "name": "TextDocumentContentRefreshParams" + }, + "documentation": "The `workspace/textDocumentContent` request is sent from the server to the client to refresh\nthe content of a specific text document.\n\n@since 3.18.0\n@proposed", + "since": "3.18.0", + "proposed": true + }, { "method": "client/registerCapability", "typeName": "RegistrationRequest", @@ -4368,6 +4404,57 @@ "since": "3.18.0", "proposed": true }, + { + "name": "TextDocumentContentParams", + "properties": [ + { + "name": "uri", + "type": { + "kind": "base", + "name": "DocumentUri" + }, + "documentation": "The uri of the text document." + } + ], + "documentation": "Parameters for the `workspace/textDocumentContent` request.\n\n@since 3.18.0\n@proposed", + "since": "3.18.0", + "proposed": true + }, + { + "name": "TextDocumentContentRegistrationOptions", + "properties": [], + "extends": [ + { + "kind": "reference", + "name": "TextDocumentContentOptions" + } + ], + "mixins": [ + { + "kind": "reference", + "name": "StaticRegistrationOptions" + } + ], + "documentation": "Text document content provider registration options.\n\n@since 3.18.0\n@proposed", + "since": "3.18.0", + "proposed": true + }, + { + "name": "TextDocumentContentRefreshParams", + "properties": [ + { + "name": "uri", + "type": { + "kind": "base", + "name": "DocumentUri" + }, + "documentation": "The uri of the text document to refresh." + } + ], + "documentation": "Parameters for the `workspace/textDocumentContent/refresh` request.\n\n@since 3.18.0\n@proposed", + "since": "3.18.0", + "proposed": true + }, { "name": "RegistrationParams", "properties": [ @@ -7879,6 +7966,22 @@ "since": "3.18.0", "proposed": true }, + { + "name": "TextDocumentContentOptions", + "properties": [ + { + "name": "scheme", + "type": { + "kind": "base", + "name": "string" + }, + "documentation": "The scheme for which the server provides content." + } + ], + "documentation": "Text document content provider options.\n\n@since 3.18.0\n@proposed", + "since": "3.18.0", + "proposed": true + }, { "name": "Registration", "properties": [ @@ -10454,6 +10557,26 @@ "optional": true, "documentation": "The server is interested in notifications/requests for operations on files.\n\n@since 3.16.0", "since": "3.16.0" + }, + { + "name": "textDocumentContent", + "type": { + "kind": "or", + "items": [ + { + "kind": "reference", + "name": "TextDocumentContentOptions" + }, + { + "kind": "reference", + "name": "TextDocumentContentRegistrationOptions" + } + ] + }, + "optional": true, + "documentation": "The server supports the `workspace/textDocumentContent` request.\n\n@since 3.18.0\n@proposed", + "since": "3.18.0", + "proposed": true } ], "documentation": "Defines workspace specific capabilities of the server.\n\n@since 3.18.0", @@ -10972,6 +11095,17 @@ "documentation": "Capabilities specific to the folding range requests scoped to the workspace.\n\n@since 3.18.0\n@proposed", "since": "3.18.0", "proposed": true + }, + { + "name": "textDocumentContent", + "type": { + "kind": "reference", + "name": "TextDocumentContentClientCapabilities" + }, + "optional": true, + "documentation": "Capabilities specific to the `workspace/textDocumentContent` request.\n\n@since 3.18.0\n@proposed", + "since": "3.18.0", + "proposed": true } ], "documentation": "Workspace specific client capabilities." @@ -12084,6 +12218,23 @@ "since": "3.18.0", "proposed": true }, + { + "name": "TextDocumentContentClientCapabilities", + "properties": [ + { + "name": "dynamicRegistration", + "type": { + "kind": "base", + "name": "boolean" + }, + "optional": true, + "documentation": "Text document content provider supports dynamic registration." + } + ], + "documentation": "Client capabilities for a text document content provider.\n\n@since 3.18.0\n@proposed", + "since": "3.18.0", + "proposed": true + }, { "name": "TextDocumentSyncClientCapabilities", "properties": [