vscode-languageserver-protocol 3.17.6-next.7 → 3.17.6-next.9
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 +172 -90
- package/lib/common/protocol.foldingRange.d.ts +6 -6
- package/lib/common/protocol.inlayHint.d.ts +2 -2
- package/lib/common/protocol.js +15 -4
- package/lib/common/protocol.notebook.d.ts +12 -12
- package/lib/common/protocol.semanticTokens.d.ts +6 -6
- package/lib/common/protocol.textDocumentContent.d.ts +85 -0
- package/lib/common/protocol.textDocumentContent.js +34 -0
- package/metaModel.schema.json +66 -2
- package/package.json +2 -2
package/lib/common/protocol.d.ts
CHANGED
|
@@ -22,45 +22,70 @@ import { InlayHintClientCapabilities, InlayHintOptions, InlayHintRegistrationOpt
|
|
|
22
22
|
import { DiagnosticClientCapabilities, DiagnosticOptions, DiagnosticRegistrationOptions, DiagnosticServerCancellationData, DocumentDiagnosticParams, DocumentDiagnosticReportKind, FullDocumentDiagnosticReport, RelatedFullDocumentDiagnosticReport, UnchangedDocumentDiagnosticReport, RelatedUnchangedDocumentDiagnosticReport, DocumentDiagnosticReport, DocumentDiagnosticReportPartialResult, DocumentDiagnosticRequest, PreviousResultId, WorkspaceDiagnosticParams, WorkspaceFullDocumentDiagnosticReport, WorkspaceUnchangedDocumentDiagnosticReport, WorkspaceDocumentDiagnosticReport, WorkspaceDiagnosticReport, WorkspaceDiagnosticReportPartialResult, WorkspaceDiagnosticRequest, DiagnosticRefreshRequest, DiagnosticWorkspaceClientCapabilities } from './protocol.diagnostic';
|
|
23
23
|
import { NotebookDocumentSyncClientCapabilities, NotebookCellKind, ExecutionSummary, NotebookCell, NotebookDocument, NotebookDocumentIdentifier, VersionedNotebookDocumentIdentifier, NotebookDocumentSyncOptions, NotebookDocumentSyncRegistrationOptions, NotebookDocumentSyncRegistrationType, DidOpenNotebookDocumentParams, DidOpenNotebookDocumentNotification, NotebookCellArrayChange, NotebookDocumentChangeEvent, DidChangeNotebookDocumentParams, DidChangeNotebookDocumentNotification, DidSaveNotebookDocumentParams, DidSaveNotebookDocumentNotification, DidCloseNotebookDocumentParams, DidCloseNotebookDocumentNotification, NotebookDocumentFilterWithCells, NotebookDocumentFilterWithNotebook } from './protocol.notebook';
|
|
24
24
|
import { InlineCompletionClientCapabilities, InlineCompletionOptions, InlineCompletionParams, InlineCompletionRegistrationOptions, InlineCompletionRequest } from './protocol.inlineCompletion';
|
|
25
|
+
import { TextDocumentContentClientCapabilities, TextDocumentContentOptions, TextDocumentContentRegistrationOptions, TextDocumentContentParams, TextDocumentContentRequest, TextDocumentContentRefreshParams, TextDocumentContentRefreshRequest } from './protocol.textDocumentContent';
|
|
25
26
|
/**
|
|
26
27
|
* A document filter where `language` is required field.
|
|
27
28
|
*
|
|
28
29
|
* @since 3.18.0
|
|
29
30
|
*/
|
|
30
|
-
export
|
|
31
|
-
/**
|
|
31
|
+
export type TextDocumentFilterLanguage = {
|
|
32
|
+
/**
|
|
33
|
+
* A language id, like `typescript`.
|
|
34
|
+
*/
|
|
32
35
|
language: string;
|
|
33
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
38
|
+
*/
|
|
34
39
|
scheme?: string;
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
|
|
40
|
+
/**
|
|
41
|
+
* A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples.
|
|
42
|
+
*
|
|
43
|
+
* @since 3.18.0 - support for relative patterns.
|
|
44
|
+
*/
|
|
45
|
+
pattern?: GlobPattern;
|
|
46
|
+
};
|
|
38
47
|
/**
|
|
39
48
|
* A document filter where `scheme` is required field.
|
|
40
49
|
*
|
|
41
50
|
* @since 3.18.0
|
|
42
51
|
*/
|
|
43
|
-
export
|
|
44
|
-
/**
|
|
52
|
+
export type TextDocumentFilterScheme = {
|
|
53
|
+
/**
|
|
54
|
+
* A language id, like `typescript`.
|
|
55
|
+
*/
|
|
45
56
|
language?: string;
|
|
46
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
59
|
+
*/
|
|
47
60
|
scheme: string;
|
|
48
|
-
/**
|
|
49
|
-
|
|
50
|
-
|
|
61
|
+
/**
|
|
62
|
+
* A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples.
|
|
63
|
+
*
|
|
64
|
+
* @since 3.18.0 - support for relative patterns.
|
|
65
|
+
*/
|
|
66
|
+
pattern?: GlobPattern;
|
|
67
|
+
};
|
|
51
68
|
/**
|
|
52
69
|
* A document filter where `pattern` is required field.
|
|
53
70
|
*
|
|
54
71
|
* @since 3.18.0
|
|
55
72
|
*/
|
|
56
|
-
export
|
|
57
|
-
/**
|
|
73
|
+
export type TextDocumentFilterPattern = {
|
|
74
|
+
/**
|
|
75
|
+
* A language id, like `typescript`.
|
|
76
|
+
*/
|
|
58
77
|
language?: string;
|
|
59
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
80
|
+
*/
|
|
60
81
|
scheme?: string;
|
|
61
|
-
/**
|
|
62
|
-
|
|
63
|
-
|
|
82
|
+
/**
|
|
83
|
+
* A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples.
|
|
84
|
+
*
|
|
85
|
+
* @since 3.18.0 - support for relative patterns.
|
|
86
|
+
*/
|
|
87
|
+
pattern: GlobPattern;
|
|
88
|
+
};
|
|
64
89
|
/**
|
|
65
90
|
* A document filter denotes a document by different properties like
|
|
66
91
|
* the {@link TextDocument.languageId language}, the {@link Uri.scheme scheme} of
|
|
@@ -94,40 +119,58 @@ export declare namespace TextDocumentFilter {
|
|
|
94
119
|
*
|
|
95
120
|
* @since 3.18.0
|
|
96
121
|
*/
|
|
97
|
-
export
|
|
98
|
-
/**
|
|
122
|
+
export type NotebookDocumentFilterNotebookType = {
|
|
123
|
+
/**
|
|
124
|
+
* The type of the enclosing notebook.
|
|
125
|
+
*/
|
|
99
126
|
notebookType: string;
|
|
100
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
129
|
+
*/
|
|
101
130
|
scheme?: string;
|
|
102
|
-
/**
|
|
103
|
-
|
|
104
|
-
|
|
131
|
+
/**
|
|
132
|
+
* A glob pattern.
|
|
133
|
+
*/
|
|
134
|
+
pattern?: GlobPattern;
|
|
135
|
+
};
|
|
105
136
|
/**
|
|
106
137
|
* A notebook document filter where `scheme` is required field.
|
|
107
138
|
*
|
|
108
139
|
* @since 3.18.0
|
|
109
140
|
*/
|
|
110
|
-
export
|
|
111
|
-
/**
|
|
141
|
+
export type NotebookDocumentFilterScheme = {
|
|
142
|
+
/**
|
|
143
|
+
* The type of the enclosing notebook.
|
|
144
|
+
*/
|
|
112
145
|
notebookType?: string;
|
|
113
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
148
|
+
*/
|
|
114
149
|
scheme: string;
|
|
115
|
-
/**
|
|
116
|
-
|
|
117
|
-
|
|
150
|
+
/**
|
|
151
|
+
* A glob pattern.
|
|
152
|
+
*/
|
|
153
|
+
pattern?: GlobPattern;
|
|
154
|
+
};
|
|
118
155
|
/**
|
|
119
156
|
* A notebook document filter where `pattern` is required field.
|
|
120
157
|
*
|
|
121
158
|
* @since 3.18.0
|
|
122
159
|
*/
|
|
123
|
-
export
|
|
124
|
-
/**
|
|
160
|
+
export type NotebookDocumentFilterPattern = {
|
|
161
|
+
/**
|
|
162
|
+
* The type of the enclosing notebook.
|
|
163
|
+
*/
|
|
125
164
|
notebookType?: string;
|
|
126
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
167
|
+
*/
|
|
127
168
|
scheme?: string;
|
|
128
|
-
/**
|
|
129
|
-
|
|
130
|
-
|
|
169
|
+
/**
|
|
170
|
+
* A glob pattern.
|
|
171
|
+
*/
|
|
172
|
+
pattern: GlobPattern;
|
|
173
|
+
};
|
|
131
174
|
/**
|
|
132
175
|
* A notebook document filter denotes a notebook document by
|
|
133
176
|
* different properties. The properties will be match
|
|
@@ -415,6 +458,13 @@ export interface WorkspaceClientCapabilities {
|
|
|
415
458
|
* @proposed
|
|
416
459
|
*/
|
|
417
460
|
foldingRange?: FoldingRangeWorkspaceClientCapabilities;
|
|
461
|
+
/**
|
|
462
|
+
* Capabilities specific to the `workspace/textDocumentContent` request.
|
|
463
|
+
*
|
|
464
|
+
* @since 3.18.0
|
|
465
|
+
* @proposed
|
|
466
|
+
*/
|
|
467
|
+
textDocumentContent?: TextDocumentContentClientCapabilities;
|
|
418
468
|
}
|
|
419
469
|
/**
|
|
420
470
|
* Text document specific client capabilities.
|
|
@@ -686,7 +736,7 @@ export type PositionEncodingKind = string;
|
|
|
686
736
|
/**
|
|
687
737
|
* @since 3.18.0
|
|
688
738
|
*/
|
|
689
|
-
export
|
|
739
|
+
export type StaleRequestSupportOptions = {
|
|
690
740
|
/**
|
|
691
741
|
* The client will actively cancel the request.
|
|
692
742
|
*/
|
|
@@ -697,7 +747,7 @@ export interface StaleRequestSupportOptions {
|
|
|
697
747
|
* response with error code `ContentModified`
|
|
698
748
|
*/
|
|
699
749
|
retryOnContentModified: string[];
|
|
700
|
-
}
|
|
750
|
+
};
|
|
701
751
|
/**
|
|
702
752
|
* General client capabilities.
|
|
703
753
|
*
|
|
@@ -857,7 +907,7 @@ export declare namespace WorkDoneProgressOptions {
|
|
|
857
907
|
*
|
|
858
908
|
* @since 3.18.0
|
|
859
909
|
*/
|
|
860
|
-
export
|
|
910
|
+
export type WorkspaceOptions = {
|
|
861
911
|
/**
|
|
862
912
|
* The server supports workspace folder.
|
|
863
913
|
*
|
|
@@ -870,7 +920,14 @@ export interface WorkspaceOptions {
|
|
|
870
920
|
* @since 3.16.0
|
|
871
921
|
*/
|
|
872
922
|
fileOperations?: FileOperationOptions;
|
|
873
|
-
|
|
923
|
+
/**
|
|
924
|
+
* The server supports the `workspace/textDocumentContent` request.
|
|
925
|
+
*
|
|
926
|
+
* @since 3.18.0
|
|
927
|
+
* @proposed
|
|
928
|
+
*/
|
|
929
|
+
textDocumentContent?: TextDocumentContentOptions | TextDocumentContentRegistrationOptions;
|
|
930
|
+
};
|
|
874
931
|
/**
|
|
875
932
|
* Defines the capabilities provided by a language
|
|
876
933
|
* server.
|
|
@@ -1062,7 +1119,7 @@ export interface ServerCapabilities<T = LSPAny> {
|
|
|
1062
1119
|
* @since 3.15.0
|
|
1063
1120
|
* @since 3.18.0 ServerInfo type name added.
|
|
1064
1121
|
*/
|
|
1065
|
-
export
|
|
1122
|
+
export type ServerInfo = {
|
|
1066
1123
|
/**
|
|
1067
1124
|
* The name of the server as defined by the server.
|
|
1068
1125
|
*/
|
|
@@ -1071,14 +1128,14 @@ export interface ServerInfo {
|
|
|
1071
1128
|
* The server's version as defined by the server.
|
|
1072
1129
|
*/
|
|
1073
1130
|
version?: string;
|
|
1074
|
-
}
|
|
1131
|
+
};
|
|
1075
1132
|
/**
|
|
1076
1133
|
* Information about the client
|
|
1077
1134
|
*
|
|
1078
1135
|
* @since 3.15.0
|
|
1079
1136
|
* @since 3.18.0 ClientInfo type name added.
|
|
1080
1137
|
*/
|
|
1081
|
-
export
|
|
1138
|
+
export type ClientInfo = {
|
|
1082
1139
|
/**
|
|
1083
1140
|
* The name of the client as defined by the client.
|
|
1084
1141
|
*/
|
|
@@ -1087,7 +1144,7 @@ export interface ClientInfo {
|
|
|
1087
1144
|
* The client's version as defined by the client.
|
|
1088
1145
|
*/
|
|
1089
1146
|
version?: string;
|
|
1090
|
-
}
|
|
1147
|
+
};
|
|
1091
1148
|
/**
|
|
1092
1149
|
* The initialize request is sent from the client to the server.
|
|
1093
1150
|
* It is sent once as the request after starting up the server.
|
|
@@ -1317,14 +1374,14 @@ export declare namespace ShowMessageNotification {
|
|
|
1317
1374
|
/**
|
|
1318
1375
|
* @since 3.18.0
|
|
1319
1376
|
*/
|
|
1320
|
-
export
|
|
1377
|
+
export type ClientShowMessageActionItemOptions = {
|
|
1321
1378
|
/**
|
|
1322
1379
|
* Whether the client supports additional attributes which
|
|
1323
1380
|
* are preserved and send back to the server in the
|
|
1324
1381
|
* request's response.
|
|
1325
1382
|
*/
|
|
1326
1383
|
additionalPropertiesSupport?: boolean;
|
|
1327
|
-
}
|
|
1384
|
+
};
|
|
1328
1385
|
/**
|
|
1329
1386
|
* Show message request client capabilities
|
|
1330
1387
|
*/
|
|
@@ -1496,16 +1553,16 @@ export declare namespace DidOpenTextDocumentNotification {
|
|
|
1496
1553
|
/**
|
|
1497
1554
|
* @since 3.18.0
|
|
1498
1555
|
*/
|
|
1499
|
-
export
|
|
1556
|
+
export type TextDocumentContentChangeWholeDocument = {
|
|
1500
1557
|
/**
|
|
1501
1558
|
* The new text of the whole document.
|
|
1502
1559
|
*/
|
|
1503
1560
|
text: string;
|
|
1504
|
-
}
|
|
1561
|
+
};
|
|
1505
1562
|
/**
|
|
1506
1563
|
* @since 3.18.0
|
|
1507
1564
|
*/
|
|
1508
|
-
export
|
|
1565
|
+
export type TextDocumentContentChangePartial = {
|
|
1509
1566
|
/**
|
|
1510
1567
|
* The range of the document that changed.
|
|
1511
1568
|
*/
|
|
@@ -1520,7 +1577,7 @@ export interface TextDocumentContentChangePartial {
|
|
|
1520
1577
|
* The new text for the provided range.
|
|
1521
1578
|
*/
|
|
1522
1579
|
text: string;
|
|
1523
|
-
}
|
|
1580
|
+
};
|
|
1524
1581
|
/**
|
|
1525
1582
|
* An event describing a change to a text document. If only a text is provided
|
|
1526
1583
|
* it is considered to be the full content of the document.
|
|
@@ -1802,6 +1859,9 @@ export declare namespace RelativePattern {
|
|
|
1802
1859
|
* @since 3.17.0
|
|
1803
1860
|
*/
|
|
1804
1861
|
export type GlobPattern = Pattern | RelativePattern;
|
|
1862
|
+
export declare namespace GlobPattern {
|
|
1863
|
+
function is(value: any): value is GlobPattern;
|
|
1864
|
+
}
|
|
1805
1865
|
export interface FileSystemWatcher {
|
|
1806
1866
|
/**
|
|
1807
1867
|
* The glob pattern to watch. See {@link GlobPattern glob pattern} for more detail.
|
|
@@ -1834,12 +1894,12 @@ export type WatchKind = uinteger;
|
|
|
1834
1894
|
/**
|
|
1835
1895
|
* @since 3.18.0
|
|
1836
1896
|
*/
|
|
1837
|
-
export
|
|
1897
|
+
export type ClientDiagnosticsTagOptions = {
|
|
1838
1898
|
/**
|
|
1839
1899
|
* The tags supported by the client.
|
|
1840
1900
|
*/
|
|
1841
1901
|
valueSet: DiagnosticTag[];
|
|
1842
|
-
}
|
|
1902
|
+
};
|
|
1843
1903
|
/**
|
|
1844
1904
|
* General diagnostics capabilities for pull and push model.
|
|
1845
1905
|
*/
|
|
@@ -1932,31 +1992,31 @@ export interface CompletionListCapabilities {
|
|
|
1932
1992
|
/**
|
|
1933
1993
|
* @since 3.18.0
|
|
1934
1994
|
*/
|
|
1935
|
-
export
|
|
1995
|
+
export type CompletionItemTagOptions = {
|
|
1936
1996
|
/**
|
|
1937
1997
|
* The tags supported by the client.
|
|
1938
1998
|
*/
|
|
1939
1999
|
valueSet: CompletionItemTag[];
|
|
1940
|
-
}
|
|
2000
|
+
};
|
|
1941
2001
|
/**
|
|
1942
2002
|
* @since 3.18.0
|
|
1943
2003
|
*/
|
|
1944
|
-
export
|
|
2004
|
+
export type ClientCompletionItemResolveOptions = {
|
|
1945
2005
|
/**
|
|
1946
2006
|
* The properties that a client can resolve lazily.
|
|
1947
2007
|
*/
|
|
1948
2008
|
properties: string[];
|
|
1949
|
-
}
|
|
2009
|
+
};
|
|
1950
2010
|
/**
|
|
1951
2011
|
* @since 3.18.0
|
|
1952
2012
|
*/
|
|
1953
|
-
export
|
|
2013
|
+
export type ClientCompletionItemInsertTextModeOptions = {
|
|
1954
2014
|
valueSet: InsertTextMode[];
|
|
1955
|
-
}
|
|
2015
|
+
};
|
|
1956
2016
|
/**
|
|
1957
2017
|
* @since 3.18.0
|
|
1958
2018
|
*/
|
|
1959
|
-
export
|
|
2019
|
+
export type ClientCompletionItemOptions = {
|
|
1960
2020
|
/**
|
|
1961
2021
|
* Client supports snippets as insert text.
|
|
1962
2022
|
*
|
|
@@ -2022,11 +2082,11 @@ export interface ClientCompletionItemOptions {
|
|
|
2022
2082
|
* @since 3.17.0
|
|
2023
2083
|
*/
|
|
2024
2084
|
labelDetailsSupport?: boolean;
|
|
2025
|
-
}
|
|
2085
|
+
};
|
|
2026
2086
|
/**
|
|
2027
2087
|
* @since 3.18.0
|
|
2028
2088
|
*/
|
|
2029
|
-
export
|
|
2089
|
+
export type ClientCompletionItemOptionsKind = {
|
|
2030
2090
|
/**
|
|
2031
2091
|
* The completion item kind values the client supports. When this
|
|
2032
2092
|
* property exists the client also guarantees that it will
|
|
@@ -2038,7 +2098,7 @@ export interface ClientCompletionItemOptionsKind {
|
|
|
2038
2098
|
* the initial version of the protocol.
|
|
2039
2099
|
*/
|
|
2040
2100
|
valueSet?: CompletionItemKind[];
|
|
2041
|
-
}
|
|
2101
|
+
};
|
|
2042
2102
|
/**
|
|
2043
2103
|
* Completion client capabilities
|
|
2044
2104
|
*/
|
|
@@ -2121,7 +2181,7 @@ export interface CompletionParams extends TextDocumentPositionParams, WorkDonePr
|
|
|
2121
2181
|
/**
|
|
2122
2182
|
* @since 3.18.0
|
|
2123
2183
|
*/
|
|
2124
|
-
export
|
|
2184
|
+
export type ServerCompletionItemOptions = {
|
|
2125
2185
|
/**
|
|
2126
2186
|
* The server has support for completion item label
|
|
2127
2187
|
* details (see also `CompletionItemLabelDetails`) when
|
|
@@ -2130,7 +2190,7 @@ export interface ServerCompletionItemOptions {
|
|
|
2130
2190
|
* @since 3.17.0
|
|
2131
2191
|
*/
|
|
2132
2192
|
labelDetailsSupport?: boolean;
|
|
2133
|
-
}
|
|
2193
|
+
};
|
|
2134
2194
|
/**
|
|
2135
2195
|
* Completion options.
|
|
2136
2196
|
*/
|
|
@@ -2240,7 +2300,7 @@ export declare namespace HoverRequest {
|
|
|
2240
2300
|
/**
|
|
2241
2301
|
* @since 3.18.0
|
|
2242
2302
|
*/
|
|
2243
|
-
export
|
|
2303
|
+
export type ClientSignatureParameterInformationOptions = {
|
|
2244
2304
|
/**
|
|
2245
2305
|
* The client supports processing label offsets instead of a
|
|
2246
2306
|
* simple label string.
|
|
@@ -2248,11 +2308,11 @@ export interface ClientSignatureParameterInformationOptions {
|
|
|
2248
2308
|
* @since 3.14.0
|
|
2249
2309
|
*/
|
|
2250
2310
|
labelOffsetSupport?: boolean;
|
|
2251
|
-
}
|
|
2311
|
+
};
|
|
2252
2312
|
/**
|
|
2253
2313
|
* @since 3.18.0
|
|
2254
2314
|
*/
|
|
2255
|
-
export
|
|
2315
|
+
export type ClientSignatureInformationOptions = {
|
|
2256
2316
|
/**
|
|
2257
2317
|
* Client supports the following content formats for the documentation
|
|
2258
2318
|
* property. The order describes the preferred format of the client.
|
|
@@ -2275,10 +2335,10 @@ export interface ClientSignatureInformationOptions {
|
|
|
2275
2335
|
* indicate that no parameter should be active.
|
|
2276
2336
|
*
|
|
2277
2337
|
* @since 3.18.0
|
|
2278
|
-
|
|
2338
|
+
* @proposed
|
|
2279
2339
|
*/
|
|
2280
2340
|
noActiveParameterSupport?: boolean;
|
|
2281
|
-
}
|
|
2341
|
+
};
|
|
2282
2342
|
/**
|
|
2283
2343
|
* Client Capabilities for a {@link SignatureHelpRequest}.
|
|
2284
2344
|
*/
|
|
@@ -2578,7 +2638,7 @@ export declare namespace DocumentSymbolRequest {
|
|
|
2578
2638
|
/**
|
|
2579
2639
|
* @since 3.18.0
|
|
2580
2640
|
*/
|
|
2581
|
-
export
|
|
2641
|
+
export type ClientCodeActionKindOptions = {
|
|
2582
2642
|
/**
|
|
2583
2643
|
* The code action kind values the client supports. When this
|
|
2584
2644
|
* property exists the client also guarantees that it will
|
|
@@ -2586,26 +2646,26 @@ export interface ClientCodeActionKindOptions {
|
|
|
2586
2646
|
* to a default value when unknown.
|
|
2587
2647
|
*/
|
|
2588
2648
|
valueSet: CodeActionKind[];
|
|
2589
|
-
}
|
|
2649
|
+
};
|
|
2590
2650
|
/**
|
|
2591
2651
|
* @since 3.18.0
|
|
2592
2652
|
*/
|
|
2593
|
-
export
|
|
2653
|
+
export type ClientCodeActionLiteralOptions = {
|
|
2594
2654
|
/**
|
|
2595
2655
|
* The code action kind is support with the following value
|
|
2596
2656
|
* set.
|
|
2597
2657
|
*/
|
|
2598
2658
|
codeActionKind: ClientCodeActionKindOptions;
|
|
2599
|
-
}
|
|
2659
|
+
};
|
|
2600
2660
|
/**
|
|
2601
2661
|
* @since 3.18.0
|
|
2602
2662
|
*/
|
|
2603
|
-
export
|
|
2663
|
+
export type ClientCodeActionResolveOptions = {
|
|
2604
2664
|
/**
|
|
2605
2665
|
* The properties that a client can resolve lazily.
|
|
2606
2666
|
*/
|
|
2607
2667
|
properties: string[];
|
|
2608
|
-
}
|
|
2668
|
+
};
|
|
2609
2669
|
/**
|
|
2610
2670
|
* The Client Capabilities of a {@link CodeActionRequest}.
|
|
2611
2671
|
*/
|
|
@@ -2691,7 +2751,7 @@ export interface CodeActionParams extends WorkDoneProgressParams, PartialResultP
|
|
|
2691
2751
|
* @since 3.18.0
|
|
2692
2752
|
* @proposed
|
|
2693
2753
|
*/
|
|
2694
|
-
export
|
|
2754
|
+
export type CodeActionKindDocumentation = {
|
|
2695
2755
|
/**
|
|
2696
2756
|
* The kind of the code action being documented.
|
|
2697
2757
|
*
|
|
@@ -2706,7 +2766,7 @@ export interface CodeActionKindDocumentation {
|
|
|
2706
2766
|
* The title of this documentation code action is taken from {@linkcode Command.title}
|
|
2707
2767
|
*/
|
|
2708
2768
|
command: Command;
|
|
2709
|
-
}
|
|
2769
|
+
};
|
|
2710
2770
|
/**
|
|
2711
2771
|
* Provider options for a {@link CodeActionRequest}.
|
|
2712
2772
|
*/
|
|
@@ -2770,7 +2830,7 @@ export declare namespace CodeActionResolveRequest {
|
|
|
2770
2830
|
/**
|
|
2771
2831
|
* @since 3.18.0
|
|
2772
2832
|
*/
|
|
2773
|
-
export
|
|
2833
|
+
export type ClientSymbolKindOptions = {
|
|
2774
2834
|
/**
|
|
2775
2835
|
* The symbol kind values the client supports. When this
|
|
2776
2836
|
* property exists the client also guarantees that it will
|
|
@@ -2782,26 +2842,26 @@ export interface ClientSymbolKindOptions {
|
|
|
2782
2842
|
* the initial version of the protocol.
|
|
2783
2843
|
*/
|
|
2784
2844
|
valueSet?: SymbolKind[];
|
|
2785
|
-
}
|
|
2845
|
+
};
|
|
2786
2846
|
/**
|
|
2787
2847
|
* @since 3.18.0
|
|
2788
2848
|
*/
|
|
2789
|
-
export
|
|
2849
|
+
export type ClientSymbolTagOptions = {
|
|
2790
2850
|
/**
|
|
2791
2851
|
* The tags supported by the client.
|
|
2792
2852
|
*/
|
|
2793
2853
|
valueSet: SymbolTag[];
|
|
2794
|
-
}
|
|
2854
|
+
};
|
|
2795
2855
|
/**
|
|
2796
2856
|
* @since 3.18.0
|
|
2797
2857
|
*/
|
|
2798
|
-
export
|
|
2858
|
+
export type ClientSymbolResolveOptions = {
|
|
2799
2859
|
/**
|
|
2800
2860
|
* The properties that a client can resolve lazily. Usually
|
|
2801
2861
|
* `location.range`
|
|
2802
2862
|
*/
|
|
2803
2863
|
properties: string[];
|
|
2804
|
-
}
|
|
2864
|
+
};
|
|
2805
2865
|
/**
|
|
2806
2866
|
* Client capabilities for a {@link WorkspaceSymbolRequest}.
|
|
2807
2867
|
*/
|
|
@@ -2837,6 +2897,12 @@ export interface WorkspaceSymbolParams extends WorkDoneProgressParams, PartialRe
|
|
|
2837
2897
|
/**
|
|
2838
2898
|
* A query string to filter symbols by. Clients may send an empty
|
|
2839
2899
|
* string here to request all symbols.
|
|
2900
|
+
*
|
|
2901
|
+
* The `query`-parameter should be interpreted in a *relaxed way* as editors
|
|
2902
|
+
* will apply their own highlighting and scoring on the results. A good rule
|
|
2903
|
+
* of thumb is to match case-insensitive and to simply check that the
|
|
2904
|
+
* characters of *query* appear in their order in a candidate symbol.
|
|
2905
|
+
* Servers shouldn't use prefix, substring, or similar strict matching.
|
|
2840
2906
|
*/
|
|
2841
2907
|
query: string;
|
|
2842
2908
|
}
|
|
@@ -2884,6 +2950,15 @@ export declare namespace WorkspaceSymbolResolveRequest {
|
|
|
2884
2950
|
const messageDirection: MessageDirection;
|
|
2885
2951
|
const type: ProtocolRequestType<WorkspaceSymbol, WorkspaceSymbol, never, void, void>;
|
|
2886
2952
|
}
|
|
2953
|
+
/**
|
|
2954
|
+
* @since 3.18.0
|
|
2955
|
+
*/
|
|
2956
|
+
export type ClientCodeLensResolveOptions = {
|
|
2957
|
+
/**
|
|
2958
|
+
* The properties that a client can resolve lazily.
|
|
2959
|
+
*/
|
|
2960
|
+
properties: string[];
|
|
2961
|
+
};
|
|
2887
2962
|
/**
|
|
2888
2963
|
* The client capabilities of a {@link CodeLensRequest}.
|
|
2889
2964
|
*/
|
|
@@ -2892,6 +2967,13 @@ export interface CodeLensClientCapabilities {
|
|
|
2892
2967
|
* Whether code lens supports dynamic registration.
|
|
2893
2968
|
*/
|
|
2894
2969
|
dynamicRegistration?: boolean;
|
|
2970
|
+
/**
|
|
2971
|
+
* Whether the client supports resolving additional code lens
|
|
2972
|
+
* properties via a separate `codeLens/resolve` request.
|
|
2973
|
+
*
|
|
2974
|
+
* @since 3.18.0
|
|
2975
|
+
*/
|
|
2976
|
+
resolveSupport?: ClientCodeLensResolveOptions;
|
|
2895
2977
|
}
|
|
2896
2978
|
/**
|
|
2897
2979
|
* @since 3.16.0
|
|
@@ -3291,16 +3373,16 @@ export interface PrepareRenameParams extends TextDocumentPositionParams, WorkDon
|
|
|
3291
3373
|
/**
|
|
3292
3374
|
* @since 3.18.0
|
|
3293
3375
|
*/
|
|
3294
|
-
export
|
|
3376
|
+
export type PrepareRenamePlaceholder = {
|
|
3295
3377
|
range: Range;
|
|
3296
3378
|
placeholder: string;
|
|
3297
|
-
}
|
|
3379
|
+
};
|
|
3298
3380
|
/**
|
|
3299
3381
|
* @since 3.18.0
|
|
3300
3382
|
*/
|
|
3301
|
-
export
|
|
3383
|
+
export type PrepareRenameDefaultBehavior = {
|
|
3302
3384
|
defaultBehavior: boolean;
|
|
3303
|
-
}
|
|
3385
|
+
};
|
|
3304
3386
|
export type PrepareRenameResult = Range | PrepareRenamePlaceholder | PrepareRenameDefaultBehavior;
|
|
3305
3387
|
/**
|
|
3306
3388
|
* A request to test and perform the setup necessary for a rename.
|
|
@@ -3360,14 +3442,14 @@ export declare namespace ExecuteCommandRequest {
|
|
|
3360
3442
|
/**
|
|
3361
3443
|
* @since 3.18.0
|
|
3362
3444
|
*/
|
|
3363
|
-
export
|
|
3445
|
+
export type ChangeAnnotationsSupportOptions = {
|
|
3364
3446
|
/**
|
|
3365
3447
|
* Whether the client groups edits with equal labels into tree nodes,
|
|
3366
3448
|
* for instance all edits labelled with "Changes in Strings" would
|
|
3367
3449
|
* be a tree node.
|
|
3368
3450
|
*/
|
|
3369
3451
|
groupsOnLabel?: boolean;
|
|
3370
|
-
}
|
|
3452
|
+
};
|
|
3371
3453
|
export interface WorkspaceEditClientCapabilities {
|
|
3372
3454
|
/**
|
|
3373
3455
|
* The client supports versioned document changes in `WorkspaceEdit`s
|
|
@@ -3477,5 +3559,5 @@ export declare namespace ApplyWorkspaceEditRequest {
|
|
|
3477
3559
|
const type: ProtocolRequestType<ApplyWorkspaceEditParams, ApplyWorkspaceEditResult, never, void, void>;
|
|
3478
3560
|
type HandlerSignature = RequestHandler<ApplyWorkspaceEditParams, ApplyWorkspaceEditResult, void>;
|
|
3479
3561
|
}
|
|
3480
|
-
export { ImplementationRequest, ImplementationParams, ImplementationRegistrationOptions, ImplementationOptions, TypeDefinitionRequest, TypeDefinitionParams, TypeDefinitionRegistrationOptions, TypeDefinitionOptions, WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFoldersChangeEvent, ConfigurationRequest, ConfigurationParams, ConfigurationItem, DocumentColorRequest, ColorPresentationRequest, DocumentColorOptions, DocumentColorParams, ColorPresentationParams, DocumentColorRegistrationOptions, FoldingRangeClientCapabilities, FoldingRangeOptions, FoldingRangeRequest, FoldingRangeParams, FoldingRangeRegistrationOptions, FoldingRangeRefreshRequest, DeclarationClientCapabilities, DeclarationRequest, DeclarationParams, DeclarationRegistrationOptions, DeclarationOptions, SelectionRangeClientCapabilities, SelectionRangeOptions, SelectionRangeParams, SelectionRangeRequest, SelectionRangeRegistrationOptions, WorkDoneProgressBegin, WorkDoneProgressReport, WorkDoneProgressEnd, WorkDoneProgress, WorkDoneProgressCreateParams, WorkDoneProgressCreateRequest, WorkDoneProgressCancelParams, WorkDoneProgressCancelNotification, CallHierarchyClientCapabilities, CallHierarchyOptions, CallHierarchyRegistrationOptions, CallHierarchyIncomingCallsParams, CallHierarchyIncomingCallsRequest, CallHierarchyOutgoingCallsParams, CallHierarchyOutgoingCallsRequest, CallHierarchyPrepareParams, CallHierarchyPrepareRequest, SemanticTokensPartialResult, SemanticTokensDeltaPartialResult, TokenFormat, SemanticTokensClientCapabilities, SemanticTokensOptions, SemanticTokensRegistrationOptions, SemanticTokensParams, SemanticTokensRequest, SemanticTokensDeltaParams, SemanticTokensDeltaRequest, SemanticTokensRangeParams, SemanticTokensRangeRequest, SemanticTokensRefreshRequest, SemanticTokensRegistrationType, ShowDocumentParams, ShowDocumentRequest, ShowDocumentResult, ShowDocumentClientCapabilities, LinkedEditingRangeClientCapabilities, LinkedEditingRanges, LinkedEditingRangeOptions, LinkedEditingRangeParams, LinkedEditingRangeRegistrationOptions, LinkedEditingRangeRequest, FileOperationOptions, FileOperationClientCapabilities, FileOperationRegistrationOptions, FileOperationPatternOptions, FileOperationPatternKind, DidCreateFilesNotification, CreateFilesParams, FileCreate, WillCreateFilesRequest, DidRenameFilesNotification, RenameFilesParams, FileRename, WillRenameFilesRequest, DidDeleteFilesNotification, DeleteFilesParams, FileDelete, WillDeleteFilesRequest, UniquenessLevel, MonikerKind, Moniker, MonikerClientCapabilities, MonikerOptions, MonikerRegistrationOptions, MonikerParams, MonikerRequest, TypeHierarchyClientCapabilities, TypeHierarchyOptions, TypeHierarchyRegistrationOptions, TypeHierarchyPrepareParams, TypeHierarchyPrepareRequest, TypeHierarchySubtypesParams, TypeHierarchySubtypesRequest, TypeHierarchySupertypesParams, TypeHierarchySupertypesRequest, InlineValueClientCapabilities, InlineValueOptions, InlineValueRegistrationOptions, InlineValueWorkspaceClientCapabilities, InlineValueParams, InlineValueRequest, InlineValueRefreshRequest, InlayHintClientCapabilities, InlayHintOptions, InlayHintRegistrationOptions, InlayHintWorkspaceClientCapabilities, InlayHintParams, InlayHintRequest, InlayHintResolveRequest, InlayHintRefreshRequest, DiagnosticClientCapabilities, DiagnosticOptions, DiagnosticRegistrationOptions, DiagnosticServerCancellationData, DocumentDiagnosticParams, DocumentDiagnosticReportKind, FullDocumentDiagnosticReport, RelatedFullDocumentDiagnosticReport, UnchangedDocumentDiagnosticReport, RelatedUnchangedDocumentDiagnosticReport, DocumentDiagnosticReport, DocumentDiagnosticReportPartialResult, DocumentDiagnosticRequest, PreviousResultId, WorkspaceDiagnosticParams, WorkspaceFullDocumentDiagnosticReport, WorkspaceUnchangedDocumentDiagnosticReport, WorkspaceDocumentDiagnosticReport, WorkspaceDiagnosticReport, WorkspaceDiagnosticReportPartialResult, WorkspaceDiagnosticRequest, DiagnosticRefreshRequest, NotebookDocumentSyncClientCapabilities, NotebookCellKind, ExecutionSummary, NotebookCell, NotebookDocument, NotebookDocumentIdentifier, VersionedNotebookDocumentIdentifier, NotebookDocumentSyncOptions, NotebookDocumentSyncRegistrationOptions, NotebookDocumentSyncRegistrationType, DidOpenNotebookDocumentParams, DidOpenNotebookDocumentNotification, NotebookCellArrayChange, NotebookDocumentChangeEvent, DidChangeNotebookDocumentParams, DidChangeNotebookDocumentNotification, DidSaveNotebookDocumentParams, DidSaveNotebookDocumentNotification, DidCloseNotebookDocumentParams, DidCloseNotebookDocumentNotification, NotebookDocumentFilterWithCells, NotebookDocumentFilterWithNotebook, InlineCompletionClientCapabilities, InlineCompletionOptions, InlineCompletionParams, InlineCompletionRegistrationOptions, InlineCompletionRequest, };
|
|
3562
|
+
export { ImplementationRequest, ImplementationParams, ImplementationRegistrationOptions, ImplementationOptions, TypeDefinitionRequest, TypeDefinitionParams, TypeDefinitionRegistrationOptions, TypeDefinitionOptions, WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFoldersChangeEvent, ConfigurationRequest, ConfigurationParams, ConfigurationItem, DocumentColorRequest, ColorPresentationRequest, DocumentColorOptions, DocumentColorParams, ColorPresentationParams, DocumentColorRegistrationOptions, FoldingRangeClientCapabilities, FoldingRangeOptions, FoldingRangeRequest, FoldingRangeParams, FoldingRangeRegistrationOptions, FoldingRangeRefreshRequest, DeclarationClientCapabilities, DeclarationRequest, DeclarationParams, DeclarationRegistrationOptions, DeclarationOptions, SelectionRangeClientCapabilities, SelectionRangeOptions, SelectionRangeParams, SelectionRangeRequest, SelectionRangeRegistrationOptions, WorkDoneProgressBegin, WorkDoneProgressReport, WorkDoneProgressEnd, WorkDoneProgress, WorkDoneProgressCreateParams, WorkDoneProgressCreateRequest, WorkDoneProgressCancelParams, WorkDoneProgressCancelNotification, CallHierarchyClientCapabilities, CallHierarchyOptions, CallHierarchyRegistrationOptions, CallHierarchyIncomingCallsParams, CallHierarchyIncomingCallsRequest, CallHierarchyOutgoingCallsParams, CallHierarchyOutgoingCallsRequest, CallHierarchyPrepareParams, CallHierarchyPrepareRequest, SemanticTokensPartialResult, SemanticTokensDeltaPartialResult, TokenFormat, SemanticTokensClientCapabilities, SemanticTokensOptions, SemanticTokensRegistrationOptions, SemanticTokensParams, SemanticTokensRequest, SemanticTokensDeltaParams, SemanticTokensDeltaRequest, SemanticTokensRangeParams, SemanticTokensRangeRequest, SemanticTokensRefreshRequest, SemanticTokensRegistrationType, ShowDocumentParams, ShowDocumentRequest, ShowDocumentResult, ShowDocumentClientCapabilities, LinkedEditingRangeClientCapabilities, LinkedEditingRanges, LinkedEditingRangeOptions, LinkedEditingRangeParams, LinkedEditingRangeRegistrationOptions, LinkedEditingRangeRequest, FileOperationOptions, FileOperationClientCapabilities, FileOperationRegistrationOptions, FileOperationPatternOptions, FileOperationPatternKind, DidCreateFilesNotification, CreateFilesParams, FileCreate, WillCreateFilesRequest, DidRenameFilesNotification, RenameFilesParams, FileRename, WillRenameFilesRequest, DidDeleteFilesNotification, DeleteFilesParams, FileDelete, WillDeleteFilesRequest, UniquenessLevel, MonikerKind, Moniker, MonikerClientCapabilities, MonikerOptions, MonikerRegistrationOptions, MonikerParams, MonikerRequest, TypeHierarchyClientCapabilities, TypeHierarchyOptions, TypeHierarchyRegistrationOptions, TypeHierarchyPrepareParams, TypeHierarchyPrepareRequest, TypeHierarchySubtypesParams, TypeHierarchySubtypesRequest, TypeHierarchySupertypesParams, TypeHierarchySupertypesRequest, InlineValueClientCapabilities, InlineValueOptions, InlineValueRegistrationOptions, InlineValueWorkspaceClientCapabilities, InlineValueParams, InlineValueRequest, InlineValueRefreshRequest, InlayHintClientCapabilities, InlayHintOptions, InlayHintRegistrationOptions, InlayHintWorkspaceClientCapabilities, InlayHintParams, InlayHintRequest, InlayHintResolveRequest, InlayHintRefreshRequest, DiagnosticClientCapabilities, DiagnosticOptions, DiagnosticRegistrationOptions, DiagnosticServerCancellationData, DocumentDiagnosticParams, DocumentDiagnosticReportKind, FullDocumentDiagnosticReport, RelatedFullDocumentDiagnosticReport, UnchangedDocumentDiagnosticReport, RelatedUnchangedDocumentDiagnosticReport, DocumentDiagnosticReport, DocumentDiagnosticReportPartialResult, DocumentDiagnosticRequest, PreviousResultId, WorkspaceDiagnosticParams, WorkspaceFullDocumentDiagnosticReport, WorkspaceUnchangedDocumentDiagnosticReport, WorkspaceDocumentDiagnosticReport, WorkspaceDiagnosticReport, WorkspaceDiagnosticReportPartialResult, WorkspaceDiagnosticRequest, DiagnosticRefreshRequest, NotebookDocumentSyncClientCapabilities, NotebookCellKind, ExecutionSummary, NotebookCell, NotebookDocument, NotebookDocumentIdentifier, VersionedNotebookDocumentIdentifier, NotebookDocumentSyncOptions, NotebookDocumentSyncRegistrationOptions, NotebookDocumentSyncRegistrationType, DidOpenNotebookDocumentParams, DidOpenNotebookDocumentNotification, NotebookCellArrayChange, NotebookDocumentChangeEvent, DidChangeNotebookDocumentParams, DidChangeNotebookDocumentNotification, DidSaveNotebookDocumentParams, DidSaveNotebookDocumentNotification, DidCloseNotebookDocumentParams, DidCloseNotebookDocumentNotification, NotebookDocumentFilterWithCells, NotebookDocumentFilterWithNotebook, InlineCompletionClientCapabilities, InlineCompletionOptions, InlineCompletionParams, InlineCompletionRegistrationOptions, InlineCompletionRequest, TextDocumentContentClientCapabilities, TextDocumentContentOptions, TextDocumentContentRegistrationOptions, TextDocumentContentParams, TextDocumentContentRequest, TextDocumentContentRefreshParams, TextDocumentContentRefreshRequest };
|
|
3481
3563
|
export { DocumentColorOptions as ColorProviderOptions, DocumentColorOptions as ColorOptions, FoldingRangeOptions as FoldingRangeProviderOptions, SelectionRangeOptions as SelectionRangeProviderOptions, DocumentColorRegistrationOptions as ColorRegistrationOptions };
|
|
@@ -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.TextDocumentContentRefreshRequest = exports.TextDocumentContentRequest = 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"));
|
|
@@ -113,6 +113,9 @@ Object.defineProperty(exports, "DidSaveNotebookDocumentNotification", { enumerab
|
|
|
113
113
|
Object.defineProperty(exports, "DidCloseNotebookDocumentNotification", { enumerable: true, get: function () { return protocol_notebook_1.DidCloseNotebookDocumentNotification; } });
|
|
114
114
|
const protocol_inlineCompletion_1 = require("./protocol.inlineCompletion");
|
|
115
115
|
Object.defineProperty(exports, "InlineCompletionRequest", { enumerable: true, get: function () { return protocol_inlineCompletion_1.InlineCompletionRequest; } });
|
|
116
|
+
const protocol_textDocumentContent_1 = require("./protocol.textDocumentContent");
|
|
117
|
+
Object.defineProperty(exports, "TextDocumentContentRequest", { enumerable: true, get: function () { return protocol_textDocumentContent_1.TextDocumentContentRequest; } });
|
|
118
|
+
Object.defineProperty(exports, "TextDocumentContentRefreshRequest", { enumerable: true, get: function () { return protocol_textDocumentContent_1.TextDocumentContentRefreshRequest; } });
|
|
116
119
|
// @ts-ignore: to avoid inlining LocationLink as dynamic import
|
|
117
120
|
let __noDynamicImport;
|
|
118
121
|
/**
|
|
@@ -125,7 +128,7 @@ var TextDocumentFilter;
|
|
|
125
128
|
(function (TextDocumentFilter) {
|
|
126
129
|
function is(value) {
|
|
127
130
|
const candidate = value;
|
|
128
|
-
return Is.string(candidate) || (Is.string(candidate.language) || Is.string(candidate.scheme) ||
|
|
131
|
+
return Is.string(candidate) || (Is.string(candidate.language) || Is.string(candidate.scheme) || GlobPattern.is(candidate.pattern));
|
|
129
132
|
}
|
|
130
133
|
TextDocumentFilter.is = is;
|
|
131
134
|
})(TextDocumentFilter || (exports.TextDocumentFilter = TextDocumentFilter = {}));
|
|
@@ -632,6 +635,14 @@ var RelativePattern;
|
|
|
632
635
|
}
|
|
633
636
|
RelativePattern.is = is;
|
|
634
637
|
})(RelativePattern || (exports.RelativePattern = RelativePattern = {}));
|
|
638
|
+
var GlobPattern;
|
|
639
|
+
(function (GlobPattern) {
|
|
640
|
+
function is(value) {
|
|
641
|
+
const candidate = value;
|
|
642
|
+
return Is.string(candidate) || RelativePattern.is(candidate);
|
|
643
|
+
}
|
|
644
|
+
GlobPattern.is = is;
|
|
645
|
+
})(GlobPattern || (exports.GlobPattern = GlobPattern = {}));
|
|
635
646
|
var WatchKind;
|
|
636
647
|
(function (WatchKind) {
|
|
637
648
|
/**
|
|
@@ -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
|
*/
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { DocumentUri } from 'vscode-languageserver-types';
|
|
2
|
+
import type { RequestHandler } from 'vscode-jsonrpc';
|
|
3
|
+
import { MessageDirection, ProtocolRequestType } from './messages';
|
|
4
|
+
import type { StaticRegistrationOptions } from './protocol';
|
|
5
|
+
/**
|
|
6
|
+
* Client capabilities for a text document content provider.
|
|
7
|
+
*
|
|
8
|
+
* @since 3.18.0
|
|
9
|
+
* @proposed
|
|
10
|
+
*/
|
|
11
|
+
export type TextDocumentContentClientCapabilities = {
|
|
12
|
+
/**
|
|
13
|
+
* Text document content provider supports dynamic registration.
|
|
14
|
+
*/
|
|
15
|
+
dynamicRegistration?: boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Text document content provider options.
|
|
19
|
+
*
|
|
20
|
+
* @since 3.18.0
|
|
21
|
+
* @proposed
|
|
22
|
+
*/
|
|
23
|
+
export type TextDocumentContentOptions = {
|
|
24
|
+
/**
|
|
25
|
+
* The scheme for which the server provides content.
|
|
26
|
+
*/
|
|
27
|
+
scheme: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Text document content provider registration options.
|
|
31
|
+
*
|
|
32
|
+
* @since 3.18.0
|
|
33
|
+
* @proposed
|
|
34
|
+
*/
|
|
35
|
+
export type TextDocumentContentRegistrationOptions = TextDocumentContentOptions & StaticRegistrationOptions;
|
|
36
|
+
/**
|
|
37
|
+
* Parameters for the `workspace/textDocumentContent` request.
|
|
38
|
+
*
|
|
39
|
+
* @since 3.18.0
|
|
40
|
+
* @proposed
|
|
41
|
+
*/
|
|
42
|
+
export interface TextDocumentContentParams {
|
|
43
|
+
/**
|
|
44
|
+
* The uri of the text document.
|
|
45
|
+
*/
|
|
46
|
+
uri: DocumentUri;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The `workspace/textDocumentContent` request is sent from the client to the
|
|
50
|
+
* server to request the content of a text document.
|
|
51
|
+
*
|
|
52
|
+
* @since 3.18.0
|
|
53
|
+
* @proposed
|
|
54
|
+
*/
|
|
55
|
+
export declare namespace TextDocumentContentRequest {
|
|
56
|
+
const method: 'workspace/textDocumentContent';
|
|
57
|
+
const messageDirection: MessageDirection;
|
|
58
|
+
const type: ProtocolRequestType<TextDocumentContentParams, string, void, void, TextDocumentContentRegistrationOptions>;
|
|
59
|
+
type HandlerSignature = RequestHandler<TextDocumentContentParams, string, void>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Parameters for the `workspace/textDocumentContent/refresh` request.
|
|
63
|
+
*
|
|
64
|
+
* @since 3.18.0
|
|
65
|
+
* @proposed
|
|
66
|
+
*/
|
|
67
|
+
export interface TextDocumentContentRefreshParams {
|
|
68
|
+
/**
|
|
69
|
+
* The uri of the text document to refresh.
|
|
70
|
+
*/
|
|
71
|
+
uri: DocumentUri;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The `workspace/textDocumentContent` request is sent from the server to the client to refresh
|
|
75
|
+
* the content of a specific text document.
|
|
76
|
+
*
|
|
77
|
+
* @since 3.18.0
|
|
78
|
+
* @proposed
|
|
79
|
+
*/
|
|
80
|
+
export declare namespace TextDocumentContentRefreshRequest {
|
|
81
|
+
const method: `workspace/textDocumentContent/refresh`;
|
|
82
|
+
const messageDirection: MessageDirection;
|
|
83
|
+
const type: ProtocolRequestType<TextDocumentContentRefreshParams, void, void, void, void>;
|
|
84
|
+
type HandlerSignature = RequestHandler<TextDocumentContentRefreshParams, void, void>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* --------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
5
|
+
* ------------------------------------------------------------------------------------------ */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TextDocumentContentRefreshRequest = exports.TextDocumentContentRequest = void 0;
|
|
8
|
+
const messages_1 = require("./messages");
|
|
9
|
+
/**
|
|
10
|
+
* The `workspace/textDocumentContent` request is sent from the client to the
|
|
11
|
+
* server to request the content of a text document.
|
|
12
|
+
*
|
|
13
|
+
* @since 3.18.0
|
|
14
|
+
* @proposed
|
|
15
|
+
*/
|
|
16
|
+
var TextDocumentContentRequest;
|
|
17
|
+
(function (TextDocumentContentRequest) {
|
|
18
|
+
TextDocumentContentRequest.method = 'workspace/textDocumentContent';
|
|
19
|
+
TextDocumentContentRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
20
|
+
TextDocumentContentRequest.type = new messages_1.ProtocolRequestType(TextDocumentContentRequest.method);
|
|
21
|
+
})(TextDocumentContentRequest || (exports.TextDocumentContentRequest = TextDocumentContentRequest = {}));
|
|
22
|
+
/**
|
|
23
|
+
* The `workspace/textDocumentContent` request is sent from the server to the client to refresh
|
|
24
|
+
* the content of a specific text document.
|
|
25
|
+
*
|
|
26
|
+
* @since 3.18.0
|
|
27
|
+
* @proposed
|
|
28
|
+
*/
|
|
29
|
+
var TextDocumentContentRefreshRequest;
|
|
30
|
+
(function (TextDocumentContentRefreshRequest) {
|
|
31
|
+
TextDocumentContentRefreshRequest.method = `workspace/textDocumentContent/refresh`;
|
|
32
|
+
TextDocumentContentRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
33
|
+
TextDocumentContentRefreshRequest.type = new messages_1.ProtocolRequestType(TextDocumentContentRefreshRequest.method);
|
|
34
|
+
})(TextDocumentContentRefreshRequest || (exports.TextDocumentContentRefreshRequest = TextDocumentContentRefreshRequest = {}));
|
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.9",
|
|
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",
|