vscode-languageserver-protocol 3.17.6-next.7 → 3.17.6-next.8
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/lib/common/protocol.d.ts +156 -89
- package/lib/common/protocol.foldingRange.d.ts +6 -6
- package/lib/common/protocol.inlayHint.d.ts +2 -2
- package/lib/common/protocol.js +12 -4
- package/lib/common/protocol.notebook.d.ts +12 -12
- package/lib/common/protocol.semanticTokens.d.ts +6 -6
- package/metaModel.schema.json +66 -2
- package/package.json +2 -2
package/lib/common/protocol.d.ts
CHANGED
|
@@ -27,40 +27,64 @@ import { InlineCompletionClientCapabilities, InlineCompletionOptions, InlineComp
|
|
|
27
27
|
*
|
|
28
28
|
* @since 3.18.0
|
|
29
29
|
*/
|
|
30
|
-
export
|
|
31
|
-
/**
|
|
30
|
+
export type TextDocumentFilterLanguage = {
|
|
31
|
+
/**
|
|
32
|
+
* A language id, like `typescript`.
|
|
33
|
+
*/
|
|
32
34
|
language: string;
|
|
33
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
37
|
+
*/
|
|
34
38
|
scheme?: string;
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
|
|
39
|
+
/**
|
|
40
|
+
* A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples.
|
|
41
|
+
*
|
|
42
|
+
* @since 3.18.0 - support for relative patterns.
|
|
43
|
+
*/
|
|
44
|
+
pattern?: GlobPattern;
|
|
45
|
+
};
|
|
38
46
|
/**
|
|
39
47
|
* A document filter where `scheme` is required field.
|
|
40
48
|
*
|
|
41
49
|
* @since 3.18.0
|
|
42
50
|
*/
|
|
43
|
-
export
|
|
44
|
-
/**
|
|
51
|
+
export type TextDocumentFilterScheme = {
|
|
52
|
+
/**
|
|
53
|
+
* A language id, like `typescript`.
|
|
54
|
+
*/
|
|
45
55
|
language?: string;
|
|
46
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
58
|
+
*/
|
|
47
59
|
scheme: string;
|
|
48
|
-
/**
|
|
49
|
-
|
|
50
|
-
|
|
60
|
+
/**
|
|
61
|
+
* A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples.
|
|
62
|
+
*
|
|
63
|
+
* @since 3.18.0 - support for relative patterns.
|
|
64
|
+
*/
|
|
65
|
+
pattern?: GlobPattern;
|
|
66
|
+
};
|
|
51
67
|
/**
|
|
52
68
|
* A document filter where `pattern` is required field.
|
|
53
69
|
*
|
|
54
70
|
* @since 3.18.0
|
|
55
71
|
*/
|
|
56
|
-
export
|
|
57
|
-
/**
|
|
72
|
+
export type TextDocumentFilterPattern = {
|
|
73
|
+
/**
|
|
74
|
+
* A language id, like `typescript`.
|
|
75
|
+
*/
|
|
58
76
|
language?: string;
|
|
59
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
79
|
+
*/
|
|
60
80
|
scheme?: string;
|
|
61
|
-
/**
|
|
62
|
-
|
|
63
|
-
|
|
81
|
+
/**
|
|
82
|
+
* A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples.
|
|
83
|
+
*
|
|
84
|
+
* @since 3.18.0 - support for relative patterns.
|
|
85
|
+
*/
|
|
86
|
+
pattern: GlobPattern;
|
|
87
|
+
};
|
|
64
88
|
/**
|
|
65
89
|
* A document filter denotes a document by different properties like
|
|
66
90
|
* the {@link TextDocument.languageId language}, the {@link Uri.scheme scheme} of
|
|
@@ -94,40 +118,58 @@ export declare namespace TextDocumentFilter {
|
|
|
94
118
|
*
|
|
95
119
|
* @since 3.18.0
|
|
96
120
|
*/
|
|
97
|
-
export
|
|
98
|
-
/**
|
|
121
|
+
export type NotebookDocumentFilterNotebookType = {
|
|
122
|
+
/**
|
|
123
|
+
* The type of the enclosing notebook.
|
|
124
|
+
*/
|
|
99
125
|
notebookType: string;
|
|
100
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
128
|
+
*/
|
|
101
129
|
scheme?: string;
|
|
102
|
-
/**
|
|
103
|
-
|
|
104
|
-
|
|
130
|
+
/**
|
|
131
|
+
* A glob pattern.
|
|
132
|
+
*/
|
|
133
|
+
pattern?: GlobPattern;
|
|
134
|
+
};
|
|
105
135
|
/**
|
|
106
136
|
* A notebook document filter where `scheme` is required field.
|
|
107
137
|
*
|
|
108
138
|
* @since 3.18.0
|
|
109
139
|
*/
|
|
110
|
-
export
|
|
111
|
-
/**
|
|
140
|
+
export type NotebookDocumentFilterScheme = {
|
|
141
|
+
/**
|
|
142
|
+
* The type of the enclosing notebook.
|
|
143
|
+
*/
|
|
112
144
|
notebookType?: string;
|
|
113
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
147
|
+
*/
|
|
114
148
|
scheme: string;
|
|
115
|
-
/**
|
|
116
|
-
|
|
117
|
-
|
|
149
|
+
/**
|
|
150
|
+
* A glob pattern.
|
|
151
|
+
*/
|
|
152
|
+
pattern?: GlobPattern;
|
|
153
|
+
};
|
|
118
154
|
/**
|
|
119
155
|
* A notebook document filter where `pattern` is required field.
|
|
120
156
|
*
|
|
121
157
|
* @since 3.18.0
|
|
122
158
|
*/
|
|
123
|
-
export
|
|
124
|
-
/**
|
|
159
|
+
export type NotebookDocumentFilterPattern = {
|
|
160
|
+
/**
|
|
161
|
+
* The type of the enclosing notebook.
|
|
162
|
+
*/
|
|
125
163
|
notebookType?: string;
|
|
126
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
166
|
+
*/
|
|
127
167
|
scheme?: string;
|
|
128
|
-
/**
|
|
129
|
-
|
|
130
|
-
|
|
168
|
+
/**
|
|
169
|
+
* A glob pattern.
|
|
170
|
+
*/
|
|
171
|
+
pattern: GlobPattern;
|
|
172
|
+
};
|
|
131
173
|
/**
|
|
132
174
|
* A notebook document filter denotes a notebook document by
|
|
133
175
|
* different properties. The properties will be match
|
|
@@ -686,7 +728,7 @@ export type PositionEncodingKind = string;
|
|
|
686
728
|
/**
|
|
687
729
|
* @since 3.18.0
|
|
688
730
|
*/
|
|
689
|
-
export
|
|
731
|
+
export type StaleRequestSupportOptions = {
|
|
690
732
|
/**
|
|
691
733
|
* The client will actively cancel the request.
|
|
692
734
|
*/
|
|
@@ -697,7 +739,7 @@ export interface StaleRequestSupportOptions {
|
|
|
697
739
|
* response with error code `ContentModified`
|
|
698
740
|
*/
|
|
699
741
|
retryOnContentModified: string[];
|
|
700
|
-
}
|
|
742
|
+
};
|
|
701
743
|
/**
|
|
702
744
|
* General client capabilities.
|
|
703
745
|
*
|
|
@@ -857,7 +899,7 @@ export declare namespace WorkDoneProgressOptions {
|
|
|
857
899
|
*
|
|
858
900
|
* @since 3.18.0
|
|
859
901
|
*/
|
|
860
|
-
export
|
|
902
|
+
export type WorkspaceOptions = {
|
|
861
903
|
/**
|
|
862
904
|
* The server supports workspace folder.
|
|
863
905
|
*
|
|
@@ -870,7 +912,7 @@ export interface WorkspaceOptions {
|
|
|
870
912
|
* @since 3.16.0
|
|
871
913
|
*/
|
|
872
914
|
fileOperations?: FileOperationOptions;
|
|
873
|
-
}
|
|
915
|
+
};
|
|
874
916
|
/**
|
|
875
917
|
* Defines the capabilities provided by a language
|
|
876
918
|
* server.
|
|
@@ -1062,7 +1104,7 @@ export interface ServerCapabilities<T = LSPAny> {
|
|
|
1062
1104
|
* @since 3.15.0
|
|
1063
1105
|
* @since 3.18.0 ServerInfo type name added.
|
|
1064
1106
|
*/
|
|
1065
|
-
export
|
|
1107
|
+
export type ServerInfo = {
|
|
1066
1108
|
/**
|
|
1067
1109
|
* The name of the server as defined by the server.
|
|
1068
1110
|
*/
|
|
@@ -1071,14 +1113,14 @@ export interface ServerInfo {
|
|
|
1071
1113
|
* The server's version as defined by the server.
|
|
1072
1114
|
*/
|
|
1073
1115
|
version?: string;
|
|
1074
|
-
}
|
|
1116
|
+
};
|
|
1075
1117
|
/**
|
|
1076
1118
|
* Information about the client
|
|
1077
1119
|
*
|
|
1078
1120
|
* @since 3.15.0
|
|
1079
1121
|
* @since 3.18.0 ClientInfo type name added.
|
|
1080
1122
|
*/
|
|
1081
|
-
export
|
|
1123
|
+
export type ClientInfo = {
|
|
1082
1124
|
/**
|
|
1083
1125
|
* The name of the client as defined by the client.
|
|
1084
1126
|
*/
|
|
@@ -1087,7 +1129,7 @@ export interface ClientInfo {
|
|
|
1087
1129
|
* The client's version as defined by the client.
|
|
1088
1130
|
*/
|
|
1089
1131
|
version?: string;
|
|
1090
|
-
}
|
|
1132
|
+
};
|
|
1091
1133
|
/**
|
|
1092
1134
|
* The initialize request is sent from the client to the server.
|
|
1093
1135
|
* It is sent once as the request after starting up the server.
|
|
@@ -1317,14 +1359,14 @@ export declare namespace ShowMessageNotification {
|
|
|
1317
1359
|
/**
|
|
1318
1360
|
* @since 3.18.0
|
|
1319
1361
|
*/
|
|
1320
|
-
export
|
|
1362
|
+
export type ClientShowMessageActionItemOptions = {
|
|
1321
1363
|
/**
|
|
1322
1364
|
* Whether the client supports additional attributes which
|
|
1323
1365
|
* are preserved and send back to the server in the
|
|
1324
1366
|
* request's response.
|
|
1325
1367
|
*/
|
|
1326
1368
|
additionalPropertiesSupport?: boolean;
|
|
1327
|
-
}
|
|
1369
|
+
};
|
|
1328
1370
|
/**
|
|
1329
1371
|
* Show message request client capabilities
|
|
1330
1372
|
*/
|
|
@@ -1496,16 +1538,16 @@ export declare namespace DidOpenTextDocumentNotification {
|
|
|
1496
1538
|
/**
|
|
1497
1539
|
* @since 3.18.0
|
|
1498
1540
|
*/
|
|
1499
|
-
export
|
|
1541
|
+
export type TextDocumentContentChangeWholeDocument = {
|
|
1500
1542
|
/**
|
|
1501
1543
|
* The new text of the whole document.
|
|
1502
1544
|
*/
|
|
1503
1545
|
text: string;
|
|
1504
|
-
}
|
|
1546
|
+
};
|
|
1505
1547
|
/**
|
|
1506
1548
|
* @since 3.18.0
|
|
1507
1549
|
*/
|
|
1508
|
-
export
|
|
1550
|
+
export type TextDocumentContentChangePartial = {
|
|
1509
1551
|
/**
|
|
1510
1552
|
* The range of the document that changed.
|
|
1511
1553
|
*/
|
|
@@ -1520,7 +1562,7 @@ export interface TextDocumentContentChangePartial {
|
|
|
1520
1562
|
* The new text for the provided range.
|
|
1521
1563
|
*/
|
|
1522
1564
|
text: string;
|
|
1523
|
-
}
|
|
1565
|
+
};
|
|
1524
1566
|
/**
|
|
1525
1567
|
* An event describing a change to a text document. If only a text is provided
|
|
1526
1568
|
* it is considered to be the full content of the document.
|
|
@@ -1802,6 +1844,9 @@ export declare namespace RelativePattern {
|
|
|
1802
1844
|
* @since 3.17.0
|
|
1803
1845
|
*/
|
|
1804
1846
|
export type GlobPattern = Pattern | RelativePattern;
|
|
1847
|
+
export declare namespace GlobPattern {
|
|
1848
|
+
function is(value: any): value is GlobPattern;
|
|
1849
|
+
}
|
|
1805
1850
|
export interface FileSystemWatcher {
|
|
1806
1851
|
/**
|
|
1807
1852
|
* The glob pattern to watch. See {@link GlobPattern glob pattern} for more detail.
|
|
@@ -1834,12 +1879,12 @@ export type WatchKind = uinteger;
|
|
|
1834
1879
|
/**
|
|
1835
1880
|
* @since 3.18.0
|
|
1836
1881
|
*/
|
|
1837
|
-
export
|
|
1882
|
+
export type ClientDiagnosticsTagOptions = {
|
|
1838
1883
|
/**
|
|
1839
1884
|
* The tags supported by the client.
|
|
1840
1885
|
*/
|
|
1841
1886
|
valueSet: DiagnosticTag[];
|
|
1842
|
-
}
|
|
1887
|
+
};
|
|
1843
1888
|
/**
|
|
1844
1889
|
* General diagnostics capabilities for pull and push model.
|
|
1845
1890
|
*/
|
|
@@ -1932,31 +1977,31 @@ export interface CompletionListCapabilities {
|
|
|
1932
1977
|
/**
|
|
1933
1978
|
* @since 3.18.0
|
|
1934
1979
|
*/
|
|
1935
|
-
export
|
|
1980
|
+
export type CompletionItemTagOptions = {
|
|
1936
1981
|
/**
|
|
1937
1982
|
* The tags supported by the client.
|
|
1938
1983
|
*/
|
|
1939
1984
|
valueSet: CompletionItemTag[];
|
|
1940
|
-
}
|
|
1985
|
+
};
|
|
1941
1986
|
/**
|
|
1942
1987
|
* @since 3.18.0
|
|
1943
1988
|
*/
|
|
1944
|
-
export
|
|
1989
|
+
export type ClientCompletionItemResolveOptions = {
|
|
1945
1990
|
/**
|
|
1946
1991
|
* The properties that a client can resolve lazily.
|
|
1947
1992
|
*/
|
|
1948
1993
|
properties: string[];
|
|
1949
|
-
}
|
|
1994
|
+
};
|
|
1950
1995
|
/**
|
|
1951
1996
|
* @since 3.18.0
|
|
1952
1997
|
*/
|
|
1953
|
-
export
|
|
1998
|
+
export type ClientCompletionItemInsertTextModeOptions = {
|
|
1954
1999
|
valueSet: InsertTextMode[];
|
|
1955
|
-
}
|
|
2000
|
+
};
|
|
1956
2001
|
/**
|
|
1957
2002
|
* @since 3.18.0
|
|
1958
2003
|
*/
|
|
1959
|
-
export
|
|
2004
|
+
export type ClientCompletionItemOptions = {
|
|
1960
2005
|
/**
|
|
1961
2006
|
* Client supports snippets as insert text.
|
|
1962
2007
|
*
|
|
@@ -2022,11 +2067,11 @@ export interface ClientCompletionItemOptions {
|
|
|
2022
2067
|
* @since 3.17.0
|
|
2023
2068
|
*/
|
|
2024
2069
|
labelDetailsSupport?: boolean;
|
|
2025
|
-
}
|
|
2070
|
+
};
|
|
2026
2071
|
/**
|
|
2027
2072
|
* @since 3.18.0
|
|
2028
2073
|
*/
|
|
2029
|
-
export
|
|
2074
|
+
export type ClientCompletionItemOptionsKind = {
|
|
2030
2075
|
/**
|
|
2031
2076
|
* The completion item kind values the client supports. When this
|
|
2032
2077
|
* property exists the client also guarantees that it will
|
|
@@ -2038,7 +2083,7 @@ export interface ClientCompletionItemOptionsKind {
|
|
|
2038
2083
|
* the initial version of the protocol.
|
|
2039
2084
|
*/
|
|
2040
2085
|
valueSet?: CompletionItemKind[];
|
|
2041
|
-
}
|
|
2086
|
+
};
|
|
2042
2087
|
/**
|
|
2043
2088
|
* Completion client capabilities
|
|
2044
2089
|
*/
|
|
@@ -2121,7 +2166,7 @@ export interface CompletionParams extends TextDocumentPositionParams, WorkDonePr
|
|
|
2121
2166
|
/**
|
|
2122
2167
|
* @since 3.18.0
|
|
2123
2168
|
*/
|
|
2124
|
-
export
|
|
2169
|
+
export type ServerCompletionItemOptions = {
|
|
2125
2170
|
/**
|
|
2126
2171
|
* The server has support for completion item label
|
|
2127
2172
|
* details (see also `CompletionItemLabelDetails`) when
|
|
@@ -2130,7 +2175,7 @@ export interface ServerCompletionItemOptions {
|
|
|
2130
2175
|
* @since 3.17.0
|
|
2131
2176
|
*/
|
|
2132
2177
|
labelDetailsSupport?: boolean;
|
|
2133
|
-
}
|
|
2178
|
+
};
|
|
2134
2179
|
/**
|
|
2135
2180
|
* Completion options.
|
|
2136
2181
|
*/
|
|
@@ -2240,7 +2285,7 @@ export declare namespace HoverRequest {
|
|
|
2240
2285
|
/**
|
|
2241
2286
|
* @since 3.18.0
|
|
2242
2287
|
*/
|
|
2243
|
-
export
|
|
2288
|
+
export type ClientSignatureParameterInformationOptions = {
|
|
2244
2289
|
/**
|
|
2245
2290
|
* The client supports processing label offsets instead of a
|
|
2246
2291
|
* simple label string.
|
|
@@ -2248,11 +2293,11 @@ export interface ClientSignatureParameterInformationOptions {
|
|
|
2248
2293
|
* @since 3.14.0
|
|
2249
2294
|
*/
|
|
2250
2295
|
labelOffsetSupport?: boolean;
|
|
2251
|
-
}
|
|
2296
|
+
};
|
|
2252
2297
|
/**
|
|
2253
2298
|
* @since 3.18.0
|
|
2254
2299
|
*/
|
|
2255
|
-
export
|
|
2300
|
+
export type ClientSignatureInformationOptions = {
|
|
2256
2301
|
/**
|
|
2257
2302
|
* Client supports the following content formats for the documentation
|
|
2258
2303
|
* property. The order describes the preferred format of the client.
|
|
@@ -2275,10 +2320,10 @@ export interface ClientSignatureInformationOptions {
|
|
|
2275
2320
|
* indicate that no parameter should be active.
|
|
2276
2321
|
*
|
|
2277
2322
|
* @since 3.18.0
|
|
2278
|
-
|
|
2323
|
+
* @proposed
|
|
2279
2324
|
*/
|
|
2280
2325
|
noActiveParameterSupport?: boolean;
|
|
2281
|
-
}
|
|
2326
|
+
};
|
|
2282
2327
|
/**
|
|
2283
2328
|
* Client Capabilities for a {@link SignatureHelpRequest}.
|
|
2284
2329
|
*/
|
|
@@ -2578,7 +2623,7 @@ export declare namespace DocumentSymbolRequest {
|
|
|
2578
2623
|
/**
|
|
2579
2624
|
* @since 3.18.0
|
|
2580
2625
|
*/
|
|
2581
|
-
export
|
|
2626
|
+
export type ClientCodeActionKindOptions = {
|
|
2582
2627
|
/**
|
|
2583
2628
|
* The code action kind values the client supports. When this
|
|
2584
2629
|
* property exists the client also guarantees that it will
|
|
@@ -2586,26 +2631,26 @@ export interface ClientCodeActionKindOptions {
|
|
|
2586
2631
|
* to a default value when unknown.
|
|
2587
2632
|
*/
|
|
2588
2633
|
valueSet: CodeActionKind[];
|
|
2589
|
-
}
|
|
2634
|
+
};
|
|
2590
2635
|
/**
|
|
2591
2636
|
* @since 3.18.0
|
|
2592
2637
|
*/
|
|
2593
|
-
export
|
|
2638
|
+
export type ClientCodeActionLiteralOptions = {
|
|
2594
2639
|
/**
|
|
2595
2640
|
* The code action kind is support with the following value
|
|
2596
2641
|
* set.
|
|
2597
2642
|
*/
|
|
2598
2643
|
codeActionKind: ClientCodeActionKindOptions;
|
|
2599
|
-
}
|
|
2644
|
+
};
|
|
2600
2645
|
/**
|
|
2601
2646
|
* @since 3.18.0
|
|
2602
2647
|
*/
|
|
2603
|
-
export
|
|
2648
|
+
export type ClientCodeActionResolveOptions = {
|
|
2604
2649
|
/**
|
|
2605
2650
|
* The properties that a client can resolve lazily.
|
|
2606
2651
|
*/
|
|
2607
2652
|
properties: string[];
|
|
2608
|
-
}
|
|
2653
|
+
};
|
|
2609
2654
|
/**
|
|
2610
2655
|
* The Client Capabilities of a {@link CodeActionRequest}.
|
|
2611
2656
|
*/
|
|
@@ -2691,7 +2736,7 @@ export interface CodeActionParams extends WorkDoneProgressParams, PartialResultP
|
|
|
2691
2736
|
* @since 3.18.0
|
|
2692
2737
|
* @proposed
|
|
2693
2738
|
*/
|
|
2694
|
-
export
|
|
2739
|
+
export type CodeActionKindDocumentation = {
|
|
2695
2740
|
/**
|
|
2696
2741
|
* The kind of the code action being documented.
|
|
2697
2742
|
*
|
|
@@ -2706,7 +2751,7 @@ export interface CodeActionKindDocumentation {
|
|
|
2706
2751
|
* The title of this documentation code action is taken from {@linkcode Command.title}
|
|
2707
2752
|
*/
|
|
2708
2753
|
command: Command;
|
|
2709
|
-
}
|
|
2754
|
+
};
|
|
2710
2755
|
/**
|
|
2711
2756
|
* Provider options for a {@link CodeActionRequest}.
|
|
2712
2757
|
*/
|
|
@@ -2770,7 +2815,7 @@ export declare namespace CodeActionResolveRequest {
|
|
|
2770
2815
|
/**
|
|
2771
2816
|
* @since 3.18.0
|
|
2772
2817
|
*/
|
|
2773
|
-
export
|
|
2818
|
+
export type ClientSymbolKindOptions = {
|
|
2774
2819
|
/**
|
|
2775
2820
|
* The symbol kind values the client supports. When this
|
|
2776
2821
|
* property exists the client also guarantees that it will
|
|
@@ -2782,26 +2827,26 @@ export interface ClientSymbolKindOptions {
|
|
|
2782
2827
|
* the initial version of the protocol.
|
|
2783
2828
|
*/
|
|
2784
2829
|
valueSet?: SymbolKind[];
|
|
2785
|
-
}
|
|
2830
|
+
};
|
|
2786
2831
|
/**
|
|
2787
2832
|
* @since 3.18.0
|
|
2788
2833
|
*/
|
|
2789
|
-
export
|
|
2834
|
+
export type ClientSymbolTagOptions = {
|
|
2790
2835
|
/**
|
|
2791
2836
|
* The tags supported by the client.
|
|
2792
2837
|
*/
|
|
2793
2838
|
valueSet: SymbolTag[];
|
|
2794
|
-
}
|
|
2839
|
+
};
|
|
2795
2840
|
/**
|
|
2796
2841
|
* @since 3.18.0
|
|
2797
2842
|
*/
|
|
2798
|
-
export
|
|
2843
|
+
export type ClientSymbolResolveOptions = {
|
|
2799
2844
|
/**
|
|
2800
2845
|
* The properties that a client can resolve lazily. Usually
|
|
2801
2846
|
* `location.range`
|
|
2802
2847
|
*/
|
|
2803
2848
|
properties: string[];
|
|
2804
|
-
}
|
|
2849
|
+
};
|
|
2805
2850
|
/**
|
|
2806
2851
|
* Client capabilities for a {@link WorkspaceSymbolRequest}.
|
|
2807
2852
|
*/
|
|
@@ -2837,6 +2882,12 @@ export interface WorkspaceSymbolParams extends WorkDoneProgressParams, PartialRe
|
|
|
2837
2882
|
/**
|
|
2838
2883
|
* A query string to filter symbols by. Clients may send an empty
|
|
2839
2884
|
* string here to request all symbols.
|
|
2885
|
+
*
|
|
2886
|
+
* The `query`-parameter should be interpreted in a *relaxed way* as editors
|
|
2887
|
+
* will apply their own highlighting and scoring on the results. A good rule
|
|
2888
|
+
* of thumb is to match case-insensitive and to simply check that the
|
|
2889
|
+
* characters of *query* appear in their order in a candidate symbol.
|
|
2890
|
+
* Servers shouldn't use prefix, substring, or similar strict matching.
|
|
2840
2891
|
*/
|
|
2841
2892
|
query: string;
|
|
2842
2893
|
}
|
|
@@ -2884,6 +2935,15 @@ export declare namespace WorkspaceSymbolResolveRequest {
|
|
|
2884
2935
|
const messageDirection: MessageDirection;
|
|
2885
2936
|
const type: ProtocolRequestType<WorkspaceSymbol, WorkspaceSymbol, never, void, void>;
|
|
2886
2937
|
}
|
|
2938
|
+
/**
|
|
2939
|
+
* @since 3.18.0
|
|
2940
|
+
*/
|
|
2941
|
+
export type ClientCodeLensResolveOptions = {
|
|
2942
|
+
/**
|
|
2943
|
+
* The properties that a client can resolve lazily.
|
|
2944
|
+
*/
|
|
2945
|
+
properties: string[];
|
|
2946
|
+
};
|
|
2887
2947
|
/**
|
|
2888
2948
|
* The client capabilities of a {@link CodeLensRequest}.
|
|
2889
2949
|
*/
|
|
@@ -2892,6 +2952,13 @@ export interface CodeLensClientCapabilities {
|
|
|
2892
2952
|
* Whether code lens supports dynamic registration.
|
|
2893
2953
|
*/
|
|
2894
2954
|
dynamicRegistration?: boolean;
|
|
2955
|
+
/**
|
|
2956
|
+
* Whether the client supports resolving additional code lens
|
|
2957
|
+
* properties via a separate `codeLens/resolve` request.
|
|
2958
|
+
*
|
|
2959
|
+
* @since 3.18.0
|
|
2960
|
+
*/
|
|
2961
|
+
resolveSupport?: ClientCodeLensResolveOptions;
|
|
2895
2962
|
}
|
|
2896
2963
|
/**
|
|
2897
2964
|
* @since 3.16.0
|
|
@@ -3291,16 +3358,16 @@ export interface PrepareRenameParams extends TextDocumentPositionParams, WorkDon
|
|
|
3291
3358
|
/**
|
|
3292
3359
|
* @since 3.18.0
|
|
3293
3360
|
*/
|
|
3294
|
-
export
|
|
3361
|
+
export type PrepareRenamePlaceholder = {
|
|
3295
3362
|
range: Range;
|
|
3296
3363
|
placeholder: string;
|
|
3297
|
-
}
|
|
3364
|
+
};
|
|
3298
3365
|
/**
|
|
3299
3366
|
* @since 3.18.0
|
|
3300
3367
|
*/
|
|
3301
|
-
export
|
|
3368
|
+
export type PrepareRenameDefaultBehavior = {
|
|
3302
3369
|
defaultBehavior: boolean;
|
|
3303
|
-
}
|
|
3370
|
+
};
|
|
3304
3371
|
export type PrepareRenameResult = Range | PrepareRenamePlaceholder | PrepareRenameDefaultBehavior;
|
|
3305
3372
|
/**
|
|
3306
3373
|
* A request to test and perform the setup necessary for a rename.
|
|
@@ -3360,14 +3427,14 @@ export declare namespace ExecuteCommandRequest {
|
|
|
3360
3427
|
/**
|
|
3361
3428
|
* @since 3.18.0
|
|
3362
3429
|
*/
|
|
3363
|
-
export
|
|
3430
|
+
export type ChangeAnnotationsSupportOptions = {
|
|
3364
3431
|
/**
|
|
3365
3432
|
* Whether the client groups edits with equal labels into tree nodes,
|
|
3366
3433
|
* for instance all edits labelled with "Changes in Strings" would
|
|
3367
3434
|
* be a tree node.
|
|
3368
3435
|
*/
|
|
3369
3436
|
groupsOnLabel?: boolean;
|
|
3370
|
-
}
|
|
3437
|
+
};
|
|
3371
3438
|
export interface WorkspaceEditClientCapabilities {
|
|
3372
3439
|
/**
|
|
3373
3440
|
* The client supports versioned document changes in `WorkspaceEdit`s
|
|
@@ -5,7 +5,7 @@ import type { TextDocumentRegistrationOptions, StaticRegistrationOptions, Partia
|
|
|
5
5
|
/**
|
|
6
6
|
* @since 3.18.0
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type ClientFoldingRangeKindOptions = {
|
|
9
9
|
/**
|
|
10
10
|
* The folding range kind values the client supports. When this
|
|
11
11
|
* property exists the client also guarantees that it will
|
|
@@ -13,11 +13,11 @@ export interface ClientFoldingRangeKindOptions {
|
|
|
13
13
|
* to a default value when unknown.
|
|
14
14
|
*/
|
|
15
15
|
valueSet?: FoldingRangeKind[];
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
/**
|
|
18
18
|
* @since 3.18.0
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type ClientFoldingRangeOptions = {
|
|
21
21
|
/**
|
|
22
22
|
* If set, the client signals that it supports setting collapsedText on
|
|
23
23
|
* folding ranges to display custom labels instead of the default text.
|
|
@@ -25,7 +25,7 @@ export interface ClientFoldingRangeOptions {
|
|
|
25
25
|
* @since 3.17.0
|
|
26
26
|
*/
|
|
27
27
|
collapsedText?: boolean;
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
29
|
export interface FoldingRangeClientCapabilities {
|
|
30
30
|
/**
|
|
31
31
|
* Whether implementation supports dynamic registration for folding range
|
|
@@ -65,7 +65,7 @@ export interface FoldingRangeClientCapabilities {
|
|
|
65
65
|
* @since 3.18.0
|
|
66
66
|
* @proposed
|
|
67
67
|
*/
|
|
68
|
-
export
|
|
68
|
+
export type FoldingRangeWorkspaceClientCapabilities = {
|
|
69
69
|
/**
|
|
70
70
|
* Whether the client implementation supports a refresh request sent from the
|
|
71
71
|
* server to the client.
|
|
@@ -79,7 +79,7 @@ export interface FoldingRangeWorkspaceClientCapabilities {
|
|
|
79
79
|
* @proposed
|
|
80
80
|
*/
|
|
81
81
|
refreshSupport?: boolean;
|
|
82
|
-
}
|
|
82
|
+
};
|
|
83
83
|
export interface FoldingRangeOptions extends WorkDoneProgressOptions {
|
|
84
84
|
}
|
|
85
85
|
export interface FoldingRangeRegistrationOptions extends TextDocumentRegistrationOptions, FoldingRangeOptions, StaticRegistrationOptions {
|
|
@@ -5,12 +5,12 @@ import type { StaticRegistrationOptions, TextDocumentRegistrationOptions, WorkDo
|
|
|
5
5
|
/**
|
|
6
6
|
* @since 3.18.0
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type ClientInlayHintResolveOptions = {
|
|
9
9
|
/**
|
|
10
10
|
* The properties that a client can resolve lazily.
|
|
11
11
|
*/
|
|
12
12
|
properties: string[];
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
/**
|
|
15
15
|
* Inlay hint client capabilities.
|
|
16
16
|
*
|
package/lib/common/protocol.js
CHANGED
|
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
return result;
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.InlineCompletionRequest = exports.DidCloseNotebookDocumentNotification = exports.DidSaveNotebookDocumentNotification = exports.DidChangeNotebookDocumentNotification = exports.NotebookCellArrayChange = exports.DidOpenNotebookDocumentNotification = exports.NotebookDocumentSyncRegistrationType = exports.NotebookDocument = exports.NotebookCell = exports.ExecutionSummary = exports.NotebookCellKind = exports.DiagnosticRefreshRequest = exports.WorkspaceDiagnosticRequest = exports.DocumentDiagnosticRequest = exports.DocumentDiagnosticReportKind = exports.DiagnosticServerCancellationData = exports.InlayHintRefreshRequest = exports.InlayHintResolveRequest = exports.InlayHintRequest = exports.InlineValueRefreshRequest = exports.InlineValueRequest = exports.TypeHierarchySupertypesRequest = exports.TypeHierarchySubtypesRequest = exports.TypeHierarchyPrepareRequest = exports.MonikerRequest = void 0;
|
|
30
|
+
exports.CodeActionRequest = exports.DocumentSymbolRequest = exports.DocumentHighlightRequest = exports.ReferencesRequest = exports.DefinitionRequest = exports.SignatureHelpRequest = exports.SignatureHelpTriggerKind = exports.HoverRequest = exports.CompletionResolveRequest = exports.CompletionRequest = exports.CompletionTriggerKind = exports.PublishDiagnosticsNotification = exports.WatchKind = exports.GlobPattern = exports.RelativePattern = exports.FileChangeType = exports.DidChangeWatchedFilesNotification = exports.WillSaveTextDocumentWaitUntilRequest = exports.WillSaveTextDocumentNotification = exports.TextDocumentSaveReason = exports.DidSaveTextDocumentNotification = exports.DidCloseTextDocumentNotification = exports.DidChangeTextDocumentNotification = exports.TextDocumentContentChangeEvent = exports.DidOpenTextDocumentNotification = exports.TextDocumentSyncKind = exports.TelemetryEventNotification = exports.LogMessageNotification = exports.ShowMessageRequest = exports.ShowMessageNotification = exports.MessageType = exports.DidChangeConfigurationNotification = exports.ExitNotification = exports.ShutdownRequest = exports.InitializedNotification = exports.InitializeErrorCodes = exports.InitializeRequest = exports.WorkDoneProgressOptions = exports.TextDocumentRegistrationOptions = exports.StaticRegistrationOptions = exports.PositionEncodingKind = exports.RegularExpressionEngineKind = exports.FailureHandlingKind = exports.ResourceOperationKind = exports.UnregistrationRequest = exports.RegistrationRequest = exports.DocumentSelector = exports.NotebookCellTextDocumentFilter = exports.NotebookDocumentFilter = exports.TextDocumentFilter = void 0;
|
|
31
|
+
exports.UniquenessLevel = exports.WillDeleteFilesRequest = exports.DidDeleteFilesNotification = exports.WillRenameFilesRequest = exports.DidRenameFilesNotification = exports.WillCreateFilesRequest = exports.DidCreateFilesNotification = exports.FileOperationPatternKind = exports.LinkedEditingRangeRequest = exports.ShowDocumentRequest = exports.SemanticTokensRegistrationType = exports.SemanticTokensRefreshRequest = exports.SemanticTokensRangeRequest = exports.SemanticTokensDeltaRequest = exports.SemanticTokensRequest = exports.TokenFormat = exports.CallHierarchyPrepareRequest = exports.CallHierarchyOutgoingCallsRequest = exports.CallHierarchyIncomingCallsRequest = exports.WorkDoneProgressCancelNotification = exports.WorkDoneProgressCreateRequest = exports.WorkDoneProgress = exports.SelectionRangeRequest = exports.DeclarationRequest = exports.FoldingRangeRefreshRequest = exports.FoldingRangeRequest = exports.ColorPresentationRequest = exports.DocumentColorRequest = exports.ConfigurationRequest = exports.DidChangeWorkspaceFoldersNotification = exports.WorkspaceFoldersRequest = exports.TypeDefinitionRequest = exports.ImplementationRequest = exports.ApplyWorkspaceEditRequest = exports.ExecuteCommandRequest = exports.PrepareRenameRequest = exports.RenameRequest = exports.PrepareSupportDefaultBehavior = exports.DocumentOnTypeFormattingRequest = exports.DocumentRangesFormattingRequest = exports.DocumentRangeFormattingRequest = exports.DocumentFormattingRequest = exports.DocumentLinkResolveRequest = exports.DocumentLinkRequest = exports.CodeLensRefreshRequest = exports.CodeLensResolveRequest = exports.CodeLensRequest = exports.WorkspaceSymbolResolveRequest = exports.WorkspaceSymbolRequest = exports.CodeActionResolveRequest = void 0;
|
|
32
|
+
exports.InlineCompletionRequest = exports.DidCloseNotebookDocumentNotification = exports.DidSaveNotebookDocumentNotification = exports.DidChangeNotebookDocumentNotification = exports.NotebookCellArrayChange = exports.DidOpenNotebookDocumentNotification = exports.NotebookDocumentSyncRegistrationType = exports.NotebookDocument = exports.NotebookCell = exports.ExecutionSummary = exports.NotebookCellKind = exports.DiagnosticRefreshRequest = exports.WorkspaceDiagnosticRequest = exports.DocumentDiagnosticRequest = exports.DocumentDiagnosticReportKind = exports.DiagnosticServerCancellationData = exports.InlayHintRefreshRequest = exports.InlayHintResolveRequest = exports.InlayHintRequest = exports.InlineValueRefreshRequest = exports.InlineValueRequest = exports.TypeHierarchySupertypesRequest = exports.TypeHierarchySubtypesRequest = exports.TypeHierarchyPrepareRequest = exports.MonikerRequest = exports.MonikerKind = void 0;
|
|
33
33
|
const messages_1 = require("./messages");
|
|
34
34
|
const vscode_languageserver_types_1 = require("vscode-languageserver-types");
|
|
35
35
|
const Is = __importStar(require("./utils/is"));
|
|
@@ -125,7 +125,7 @@ var TextDocumentFilter;
|
|
|
125
125
|
(function (TextDocumentFilter) {
|
|
126
126
|
function is(value) {
|
|
127
127
|
const candidate = value;
|
|
128
|
-
return Is.string(candidate) || (Is.string(candidate.language) || Is.string(candidate.scheme) ||
|
|
128
|
+
return Is.string(candidate) || (Is.string(candidate.language) || Is.string(candidate.scheme) || GlobPattern.is(candidate.pattern));
|
|
129
129
|
}
|
|
130
130
|
TextDocumentFilter.is = is;
|
|
131
131
|
})(TextDocumentFilter || (exports.TextDocumentFilter = TextDocumentFilter = {}));
|
|
@@ -632,6 +632,14 @@ var RelativePattern;
|
|
|
632
632
|
}
|
|
633
633
|
RelativePattern.is = is;
|
|
634
634
|
})(RelativePattern || (exports.RelativePattern = RelativePattern = {}));
|
|
635
|
+
var GlobPattern;
|
|
636
|
+
(function (GlobPattern) {
|
|
637
|
+
function is(value) {
|
|
638
|
+
const candidate = value;
|
|
639
|
+
return Is.string(candidate) || RelativePattern.is(candidate);
|
|
640
|
+
}
|
|
641
|
+
GlobPattern.is = is;
|
|
642
|
+
})(GlobPattern || (exports.GlobPattern = GlobPattern = {}));
|
|
635
643
|
var WatchKind;
|
|
636
644
|
(function (WatchKind) {
|
|
637
645
|
/**
|
|
@@ -154,13 +154,13 @@ export type VersionedNotebookDocumentIdentifier = {
|
|
|
154
154
|
/**
|
|
155
155
|
* @since 3.18.0
|
|
156
156
|
*/
|
|
157
|
-
export
|
|
157
|
+
export type NotebookCellLanguage = {
|
|
158
158
|
language: string;
|
|
159
|
-
}
|
|
159
|
+
};
|
|
160
160
|
/**
|
|
161
161
|
* @since 3.18.0
|
|
162
162
|
*/
|
|
163
|
-
export
|
|
163
|
+
export type NotebookDocumentFilterWithNotebook = {
|
|
164
164
|
/**
|
|
165
165
|
* The notebook to be synced If a string
|
|
166
166
|
* value is provided it matches against the
|
|
@@ -171,11 +171,11 @@ export interface NotebookDocumentFilterWithNotebook {
|
|
|
171
171
|
* The cells of the matching notebook to be synced.
|
|
172
172
|
*/
|
|
173
173
|
cells?: NotebookCellLanguage[];
|
|
174
|
-
}
|
|
174
|
+
};
|
|
175
175
|
/**
|
|
176
176
|
* @since 3.18.0
|
|
177
177
|
*/
|
|
178
|
-
export
|
|
178
|
+
export type NotebookDocumentFilterWithCells = {
|
|
179
179
|
/**
|
|
180
180
|
* The notebook to be synced If a string
|
|
181
181
|
* value is provided it matches against the
|
|
@@ -186,7 +186,7 @@ export interface NotebookDocumentFilterWithCells {
|
|
|
186
186
|
* The cells of the matching notebook to be synced.
|
|
187
187
|
*/
|
|
188
188
|
cells: NotebookCellLanguage[];
|
|
189
|
-
}
|
|
189
|
+
};
|
|
190
190
|
/**
|
|
191
191
|
* Options specific to a notebook plus its cells
|
|
192
192
|
* to be synced to the server.
|
|
@@ -280,7 +280,7 @@ export declare namespace NotebookCellArrayChange {
|
|
|
280
280
|
*
|
|
281
281
|
* @since 3.18.0
|
|
282
282
|
*/
|
|
283
|
-
export
|
|
283
|
+
export type NotebookDocumentCellChangeStructure = {
|
|
284
284
|
/**
|
|
285
285
|
* The change to the cell array.
|
|
286
286
|
*/
|
|
@@ -293,22 +293,22 @@ export interface NotebookDocumentCellChangeStructure {
|
|
|
293
293
|
* Additional closed cell text documents.
|
|
294
294
|
*/
|
|
295
295
|
didClose?: TextDocumentIdentifier[];
|
|
296
|
-
}
|
|
296
|
+
};
|
|
297
297
|
/**
|
|
298
298
|
* Content changes to a cell in a notebook document.
|
|
299
299
|
*
|
|
300
300
|
* @since 3.18.0
|
|
301
301
|
*/
|
|
302
|
-
export
|
|
302
|
+
export type NotebookDocumentCellContentChanges = {
|
|
303
303
|
document: VersionedTextDocumentIdentifier;
|
|
304
304
|
changes: TextDocumentContentChangeEvent[];
|
|
305
|
-
}
|
|
305
|
+
};
|
|
306
306
|
/**
|
|
307
307
|
* Cell changes to a notebook document.
|
|
308
308
|
*
|
|
309
309
|
* @since 3.18.0
|
|
310
310
|
*/
|
|
311
|
-
export
|
|
311
|
+
export type NotebookDocumentCellChanges = {
|
|
312
312
|
/**
|
|
313
313
|
* Changes to the cell structure to add or
|
|
314
314
|
* remove cells.
|
|
@@ -323,7 +323,7 @@ export interface NotebookDocumentCellChanges {
|
|
|
323
323
|
* Changes to the text content of notebook cells.
|
|
324
324
|
*/
|
|
325
325
|
textContent?: NotebookDocumentCellContentChanges[];
|
|
326
|
-
}
|
|
326
|
+
};
|
|
327
327
|
/**
|
|
328
328
|
* A change event for a notebook document.
|
|
329
329
|
*
|
|
@@ -21,17 +21,17 @@ export type TokenFormat = 'relative';
|
|
|
21
21
|
/**
|
|
22
22
|
* @since 3.18.0
|
|
23
23
|
*/
|
|
24
|
-
export
|
|
24
|
+
export type ClientSemanticTokensRequestFullDelta = {
|
|
25
25
|
/**
|
|
26
26
|
* The client will send the `textDocument/semanticTokens/full/delta` request if
|
|
27
27
|
* the server provides a corresponding handler.
|
|
28
28
|
*/
|
|
29
29
|
delta?: boolean;
|
|
30
|
-
}
|
|
30
|
+
};
|
|
31
31
|
/**
|
|
32
32
|
* @since 3.18.0
|
|
33
33
|
*/
|
|
34
|
-
export
|
|
34
|
+
export type ClientSemanticTokensRequestOptions = {
|
|
35
35
|
/**
|
|
36
36
|
* The client will send the `textDocument/semanticTokens/range` request if
|
|
37
37
|
* the server provides a corresponding handler.
|
|
@@ -42,7 +42,7 @@ export interface ClientSemanticTokensRequestOptions {
|
|
|
42
42
|
* the server provides a corresponding handler.
|
|
43
43
|
*/
|
|
44
44
|
full?: boolean | ClientSemanticTokensRequestFullDelta;
|
|
45
|
-
}
|
|
45
|
+
};
|
|
46
46
|
/**
|
|
47
47
|
* @since 3.16.0
|
|
48
48
|
*/
|
|
@@ -112,12 +112,12 @@ export interface SemanticTokensClientCapabilities {
|
|
|
112
112
|
*
|
|
113
113
|
* @since 3.18.0
|
|
114
114
|
*/
|
|
115
|
-
export
|
|
115
|
+
export type SemanticTokensFullDelta = {
|
|
116
116
|
/**
|
|
117
117
|
* The server supports deltas for full documents.
|
|
118
118
|
*/
|
|
119
119
|
delta?: boolean;
|
|
120
|
-
}
|
|
120
|
+
};
|
|
121
121
|
/**
|
|
122
122
|
* @since 3.16.0
|
|
123
123
|
*/
|
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.8",
|
|
5
5
|
"author": "Microsoft Corporation",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"vscode-jsonrpc": "9.0.0-next.5",
|
|
31
|
-
"vscode-languageserver-types": "3.17.6-next.
|
|
31
|
+
"vscode-languageserver-types": "3.17.6-next.5"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail",
|