Skip to content

Commit 4f1646c

Browse files
authored
Update meta model to latest implementation (#1535)
1 parent 03c455f commit 4f1646c

File tree

1 file changed

+151
-0
lines changed

1 file changed

+151
-0
lines changed

protocol/metaModel.json

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,42 @@
10641064
"since": "3.18.0",
10651065
"proposed": true
10661066
},
1067+
{
1068+
"method": "workspace/textDocumentContent",
1069+
"typeName": "TextDocumentContentRequest",
1070+
"result": {
1071+
"kind": "base",
1072+
"name": "string"
1073+
},
1074+
"messageDirection": "clientToServer",
1075+
"params": {
1076+
"kind": "reference",
1077+
"name": "TextDocumentContentParams"
1078+
},
1079+
"registrationOptions": {
1080+
"kind": "reference",
1081+
"name": "TextDocumentContentRegistrationOptions"
1082+
},
1083+
"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",
1084+
"since": "3.18.0",
1085+
"proposed": true
1086+
},
1087+
{
1088+
"method": "workspace/textDocumentContent/refresh",
1089+
"typeName": "TextDocumentContentRefreshRequest",
1090+
"result": {
1091+
"kind": "base",
1092+
"name": "null"
1093+
},
1094+
"messageDirection": "serverToClient",
1095+
"params": {
1096+
"kind": "reference",
1097+
"name": "TextDocumentContentRefreshParams"
1098+
},
1099+
"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",
1100+
"since": "3.18.0",
1101+
"proposed": true
1102+
},
10671103
{
10681104
"method": "client/registerCapability",
10691105
"typeName": "RegistrationRequest",
@@ -4368,6 +4404,57 @@
43684404
"since": "3.18.0",
43694405
"proposed": true
43704406
},
4407+
{
4408+
"name": "TextDocumentContentParams",
4409+
"properties": [
4410+
{
4411+
"name": "uri",
4412+
"type": {
4413+
"kind": "base",
4414+
"name": "DocumentUri"
4415+
},
4416+
"documentation": "The uri of the text document."
4417+
}
4418+
],
4419+
"documentation": "Parameters for the `workspace/textDocumentContent` request.\n\n@since 3.18.0\n@proposed",
4420+
"since": "3.18.0",
4421+
"proposed": true
4422+
},
4423+
{
4424+
"name": "TextDocumentContentRegistrationOptions",
4425+
"properties": [],
4426+
"extends": [
4427+
{
4428+
"kind": "reference",
4429+
"name": "TextDocumentContentOptions"
4430+
}
4431+
],
4432+
"mixins": [
4433+
{
4434+
"kind": "reference",
4435+
"name": "StaticRegistrationOptions"
4436+
}
4437+
],
4438+
"documentation": "Text document content provider registration options.\n\n@since 3.18.0\n@proposed",
4439+
"since": "3.18.0",
4440+
"proposed": true
4441+
},
4442+
{
4443+
"name": "TextDocumentContentRefreshParams",
4444+
"properties": [
4445+
{
4446+
"name": "uri",
4447+
"type": {
4448+
"kind": "base",
4449+
"name": "DocumentUri"
4450+
},
4451+
"documentation": "The uri of the text document to refresh."
4452+
}
4453+
],
4454+
"documentation": "Parameters for the `workspace/textDocumentContent/refresh` request.\n\n@since 3.18.0\n@proposed",
4455+
"since": "3.18.0",
4456+
"proposed": true
4457+
},
43714458
{
43724459
"name": "RegistrationParams",
43734460
"properties": [
@@ -7879,6 +7966,22 @@
78797966
"since": "3.18.0",
78807967
"proposed": true
78817968
},
7969+
{
7970+
"name": "TextDocumentContentOptions",
7971+
"properties": [
7972+
{
7973+
"name": "scheme",
7974+
"type": {
7975+
"kind": "base",
7976+
"name": "string"
7977+
},
7978+
"documentation": "The scheme for which the server provides content."
7979+
}
7980+
],
7981+
"documentation": "Text document content provider options.\n\n@since 3.18.0\n@proposed",
7982+
"since": "3.18.0",
7983+
"proposed": true
7984+
},
78827985
{
78837986
"name": "Registration",
78847987
"properties": [
@@ -10454,6 +10557,26 @@
1045410557
"optional": true,
1045510558
"documentation": "The server is interested in notifications/requests for operations on files.\n\n@since 3.16.0",
1045610559
"since": "3.16.0"
10560+
},
10561+
{
10562+
"name": "textDocumentContent",
10563+
"type": {
10564+
"kind": "or",
10565+
"items": [
10566+
{
10567+
"kind": "reference",
10568+
"name": "TextDocumentContentOptions"
10569+
},
10570+
{
10571+
"kind": "reference",
10572+
"name": "TextDocumentContentRegistrationOptions"
10573+
}
10574+
]
10575+
},
10576+
"optional": true,
10577+
"documentation": "The server supports the `workspace/textDocumentContent` request.\n\n@since 3.18.0\n@proposed",
10578+
"since": "3.18.0",
10579+
"proposed": true
1045710580
}
1045810581
],
1045910582
"documentation": "Defines workspace specific capabilities of the server.\n\n@since 3.18.0",
@@ -10972,6 +11095,17 @@
1097211095
"documentation": "Capabilities specific to the folding range requests scoped to the workspace.\n\n@since 3.18.0\n@proposed",
1097311096
"since": "3.18.0",
1097411097
"proposed": true
11098+
},
11099+
{
11100+
"name": "textDocumentContent",
11101+
"type": {
11102+
"kind": "reference",
11103+
"name": "TextDocumentContentClientCapabilities"
11104+
},
11105+
"optional": true,
11106+
"documentation": "Capabilities specific to the `workspace/textDocumentContent` request.\n\n@since 3.18.0\n@proposed",
11107+
"since": "3.18.0",
11108+
"proposed": true
1097511109
}
1097611110
],
1097711111
"documentation": "Workspace specific client capabilities."
@@ -12084,6 +12218,23 @@
1208412218
"since": "3.18.0",
1208512219
"proposed": true
1208612220
},
12221+
{
12222+
"name": "TextDocumentContentClientCapabilities",
12223+
"properties": [
12224+
{
12225+
"name": "dynamicRegistration",
12226+
"type": {
12227+
"kind": "base",
12228+
"name": "boolean"
12229+
},
12230+
"optional": true,
12231+
"documentation": "Text document content provider supports dynamic registration."
12232+
}
12233+
],
12234+
"documentation": "Client capabilities for a text document content provider.\n\n@since 3.18.0\n@proposed",
12235+
"since": "3.18.0",
12236+
"proposed": true
12237+
},
1208712238
{
1208812239
"name": "TextDocumentSyncClientCapabilities",
1208912240
"properties": [

0 commit comments

Comments
 (0)