vscode-languageserver-protocol 3.17.6-next.1 → 3.17.6-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/common/api.d.ts +1 -1
- package/lib/common/api.js +1 -1
- package/lib/common/messages.js +30 -0
- package/lib/common/protocol.d.ts +277 -132
- package/lib/common/protocol.diagnostic.d.ts +2 -2
- package/lib/common/protocol.diagnostic.js +24 -1
- package/lib/common/protocol.foldingRange.d.ts +6 -8
- package/lib/common/protocol.inlayHint.d.ts +2 -3
- package/lib/common/protocol.js +53 -8
- package/lib/common/protocol.notebook.d.ts +16 -22
- package/lib/common/protocol.notebook.js +24 -1
- package/lib/common/protocol.semanticTokens.d.ts +6 -9
- package/lib/common/protocol.showDocument.d.ts +2 -2
- package/lib/common/protocol.textDocumentContent.d.ts +100 -0
- package/lib/common/protocol.textDocumentContent.js +34 -0
- package/metaModel.schema.json +66 -2
- package/package.json +21 -12
- package/browser.d.ts +0 -6
- package/browser.js +0 -7
- package/node.cmd +0 -5
- package/node.d.ts +0 -6
- package/node.js +0 -7
package/metaModel.schema.json
CHANGED
|
@@ -114,6 +114,13 @@
|
|
|
114
114
|
"description": "Since when (release number) this enumeration is available. Is undefined if not known.",
|
|
115
115
|
"type": "string"
|
|
116
116
|
},
|
|
117
|
+
"sinceTags": {
|
|
118
|
+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
|
|
119
|
+
"items": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
"type": "array"
|
|
123
|
+
},
|
|
117
124
|
"supportsCustomValues": {
|
|
118
125
|
"description": "Whether the enumeration supports custom values (e.g. values which are not part of the set defined in `values`). If omitted no custom values are supported.",
|
|
119
126
|
"type": "boolean"
|
|
@@ -161,6 +168,13 @@
|
|
|
161
168
|
"description": "Since when (release number) this enumeration entry is available. Is undefined if not known.",
|
|
162
169
|
"type": "string"
|
|
163
170
|
},
|
|
171
|
+
"sinceTags": {
|
|
172
|
+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
|
|
173
|
+
"items": {
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
"type": "array"
|
|
177
|
+
},
|
|
164
178
|
"value": {
|
|
165
179
|
"description": "The value.",
|
|
166
180
|
"type": [
|
|
@@ -361,7 +375,7 @@
|
|
|
361
375
|
"description": "The direction in which this notification is sent in the protocol."
|
|
362
376
|
},
|
|
363
377
|
"method": {
|
|
364
|
-
"description": "The
|
|
378
|
+
"description": "The notifications's method name.",
|
|
365
379
|
"type": "string"
|
|
366
380
|
},
|
|
367
381
|
"params": {
|
|
@@ -383,7 +397,7 @@
|
|
|
383
397
|
"type": "boolean"
|
|
384
398
|
},
|
|
385
399
|
"registrationMethod": {
|
|
386
|
-
"description": "Optional a dynamic registration method if it different from the
|
|
400
|
+
"description": "Optional a dynamic registration method if it different from the notifications's method.",
|
|
387
401
|
"type": "string"
|
|
388
402
|
},
|
|
389
403
|
"registrationOptions": {
|
|
@@ -393,6 +407,17 @@
|
|
|
393
407
|
"since": {
|
|
394
408
|
"description": "Since when (release number) this notification is available. Is undefined if not known.",
|
|
395
409
|
"type": "string"
|
|
410
|
+
},
|
|
411
|
+
"sinceTags": {
|
|
412
|
+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
|
|
413
|
+
"items": {
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"type": "array"
|
|
417
|
+
},
|
|
418
|
+
"typeName": {
|
|
419
|
+
"description": "The type name of the notifications if any.",
|
|
420
|
+
"type": "string"
|
|
396
421
|
}
|
|
397
422
|
},
|
|
398
423
|
"required": [
|
|
@@ -450,6 +475,13 @@
|
|
|
450
475
|
"description": "Since when (release number) this property is available. Is undefined if not known.",
|
|
451
476
|
"type": "string"
|
|
452
477
|
},
|
|
478
|
+
"sinceTags": {
|
|
479
|
+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
|
|
480
|
+
"items": {
|
|
481
|
+
"type": "string"
|
|
482
|
+
},
|
|
483
|
+
"type": "array"
|
|
484
|
+
},
|
|
453
485
|
"type": {
|
|
454
486
|
"$ref": "#/definitions/Type",
|
|
455
487
|
"description": "The type of the property"
|
|
@@ -540,6 +572,17 @@
|
|
|
540
572
|
"since": {
|
|
541
573
|
"description": "Since when (release number) this request is available. Is undefined if not known.",
|
|
542
574
|
"type": "string"
|
|
575
|
+
},
|
|
576
|
+
"sinceTags": {
|
|
577
|
+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
|
|
578
|
+
"items": {
|
|
579
|
+
"type": "string"
|
|
580
|
+
},
|
|
581
|
+
"type": "array"
|
|
582
|
+
},
|
|
583
|
+
"typeName": {
|
|
584
|
+
"description": "The type name of the request if any.",
|
|
585
|
+
"type": "string"
|
|
543
586
|
}
|
|
544
587
|
},
|
|
545
588
|
"required": [
|
|
@@ -611,6 +654,13 @@
|
|
|
611
654
|
"since": {
|
|
612
655
|
"description": "Since when (release number) this structure is available. Is undefined if not known.",
|
|
613
656
|
"type": "string"
|
|
657
|
+
},
|
|
658
|
+
"sinceTags": {
|
|
659
|
+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
|
|
660
|
+
"items": {
|
|
661
|
+
"type": "string"
|
|
662
|
+
},
|
|
663
|
+
"type": "array"
|
|
614
664
|
}
|
|
615
665
|
},
|
|
616
666
|
"required": [
|
|
@@ -645,6 +695,13 @@
|
|
|
645
695
|
"since": {
|
|
646
696
|
"description": "Since when (release number) this structure is available. Is undefined if not known.",
|
|
647
697
|
"type": "string"
|
|
698
|
+
},
|
|
699
|
+
"sinceTags": {
|
|
700
|
+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
|
|
701
|
+
"items": {
|
|
702
|
+
"type": "string"
|
|
703
|
+
},
|
|
704
|
+
"type": "array"
|
|
648
705
|
}
|
|
649
706
|
},
|
|
650
707
|
"required": [
|
|
@@ -752,6 +809,13 @@
|
|
|
752
809
|
"description": "Since when (release number) this structure is available. Is undefined if not known.",
|
|
753
810
|
"type": "string"
|
|
754
811
|
},
|
|
812
|
+
"sinceTags": {
|
|
813
|
+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
|
|
814
|
+
"items": {
|
|
815
|
+
"type": "string"
|
|
816
|
+
},
|
|
817
|
+
"type": "array"
|
|
818
|
+
},
|
|
755
819
|
"type": {
|
|
756
820
|
"$ref": "#/definitions/Type",
|
|
757
821
|
"description": "The aliased type."
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vscode-languageserver-protocol",
|
|
3
3
|
"description": "VSCode Language Server Protocol implementation",
|
|
4
|
-
"version": "3.17.6-next.
|
|
4
|
+
"version": "3.17.6-next.10",
|
|
5
5
|
"author": "Microsoft Corporation",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -12,24 +12,33 @@
|
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/Microsoft/vscode-languageserver-node/issues"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./lib/common/api.d.ts",
|
|
18
|
+
"default": "./lib/common/api.js"
|
|
19
|
+
},
|
|
20
|
+
"./node": {
|
|
21
|
+
"types": "./lib/node/main.d.ts",
|
|
22
|
+
"node": "./lib/node/main.js"
|
|
23
|
+
},
|
|
24
|
+
"./browser": {
|
|
25
|
+
"types": "./lib/browser/main.d.ts",
|
|
26
|
+
"browser": "./lib/browser/main.js"
|
|
27
|
+
}
|
|
18
28
|
},
|
|
19
|
-
"typings": "./lib/common/api.d.ts",
|
|
20
29
|
"dependencies": {
|
|
21
|
-
"vscode-jsonrpc": "
|
|
22
|
-
"vscode-languageserver-types": "3.17.6-next.
|
|
30
|
+
"vscode-jsonrpc": "9.0.0-next.5",
|
|
31
|
+
"vscode-languageserver-types": "3.17.6-next.5"
|
|
23
32
|
},
|
|
24
33
|
"scripts": {
|
|
25
34
|
"prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail",
|
|
26
35
|
"prepack": "npm run all:publish",
|
|
27
36
|
"postpublish": "node ../build/npm/post-publish.js",
|
|
28
37
|
"preversion": "npm test",
|
|
29
|
-
"compile": "
|
|
30
|
-
"watch": "
|
|
31
|
-
"clean": "
|
|
32
|
-
"lint": "
|
|
38
|
+
"compile": "tsc -b ./tsconfig.json",
|
|
39
|
+
"watch": "tsc -b ./tsconfig.watch.json -w",
|
|
40
|
+
"clean": "rimraf lib && rimraf dist",
|
|
41
|
+
"lint": "eslint --ext ts src",
|
|
33
42
|
"test": "npm run test:node && npm run test:browser",
|
|
34
43
|
"test:node": "node ../node_modules/mocha/bin/_mocha",
|
|
35
44
|
"test:browser": "npm run webpack:test:silent && node ../build/bin/runBrowserTests.js http://127.0.0.1:8080/protocol/src/browser/test/",
|
|
@@ -39,7 +48,7 @@
|
|
|
39
48
|
"generate:metaModel": "node ../tools/lib/generator-main.js -p ./src/common/tsconfig.json > ./metaModel.json",
|
|
40
49
|
"generate:metaModelSchema": "ts-json-schema-generator --tsconfig ../tools/tsconfig.json --path ../tools/src/metaModel.ts > ./metaModel.schema.json",
|
|
41
50
|
"all": "npm run clean && npm run compile && npm run lint && npm run test && npm run compile:metaModelTool && npm run generate:metaModel && npm run generate:metaModelSchema",
|
|
42
|
-
"compile:publish": "
|
|
51
|
+
"compile:publish": "tsc -b ./tsconfig.publish.json",
|
|
43
52
|
"all:publish": "git clean -xfd . && npm install && npm run compile:publish && npm run lint && npm run test && npm run compile:metaModelTool && npm run generate:metaModel && npm run generate:metaModelSchema"
|
|
44
53
|
}
|
|
45
54
|
}
|
package/browser.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/* --------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
* ----------------------------------------------------------------------------------------- */
|
|
5
|
-
|
|
6
|
-
export * from './lib/browser/main';
|
package/browser.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/* --------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
* ----------------------------------------------------------------------------------------- */
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
module.exports = require('./lib/browser/main');
|
package/node.cmd
DELETED
package/node.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/* --------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
* ----------------------------------------------------------------------------------------- */
|
|
5
|
-
|
|
6
|
-
export * from './lib/node/main';
|
package/node.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/* --------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
* ----------------------------------------------------------------------------------------- */
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
module.exports = require('./lib/node/main');
|