vscode-languageserver-protocol 3.17.6-next.1 → 3.17.6-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/common/api.d.ts +1 -1
- package/lib/common/api.js +1 -1
- package/lib/common/messages.js +30 -0
- package/lib/common/protocol.d.ts +277 -132
- package/lib/common/protocol.diagnostic.d.ts +2 -2
- package/lib/common/protocol.diagnostic.js +24 -1
- package/lib/common/protocol.foldingRange.d.ts +6 -8
- package/lib/common/protocol.inlayHint.d.ts +2 -3
- package/lib/common/protocol.js +53 -8
- package/lib/common/protocol.notebook.d.ts +16 -22
- package/lib/common/protocol.notebook.js +24 -1
- package/lib/common/protocol.semanticTokens.d.ts +6 -9
- package/lib/common/protocol.showDocument.d.ts +2 -2
- package/lib/common/protocol.textDocumentContent.d.ts +100 -0
- package/lib/common/protocol.textDocumentContent.js +34 -0
- package/metaModel.schema.json +66 -2
- package/package.json +21 -12
- package/browser.d.ts +0 -6
- package/browser.js +0 -7
- package/node.cmd +0 -5
- package/node.d.ts +0 -6
- package/node.js +0 -7
package/lib/common/protocol.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProgressToken, RequestHandler,
|
|
1
|
+
import { ProgressToken, RequestHandler, TraceValue } from 'vscode-jsonrpc';
|
|
2
2
|
import { MessageDirection, ProtocolRequestType, ProtocolRequestType0, ProtocolNotificationType, ProtocolNotificationType0 } from './messages';
|
|
3
|
-
import { Position, Range, Location, LocationLink, Diagnostic, Command, TextEdit, WorkspaceEdit, DocumentUri, TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem, CompletionItem, CompletionList, Hover, SignatureHelp, Definition, ReferenceContext, DocumentHighlight, SymbolInformation, CodeLens, CodeActionContext, FormattingOptions, DocumentLink, MarkupKind, SymbolKind, CompletionItemKind, CodeAction, CodeActionKind, DocumentSymbol, CompletionItemTag, DiagnosticTag, SymbolTag, uinteger, integer, InsertTextMode, LSPAny, WorkspaceSymbol, URI, WorkspaceFolder } from 'vscode-languageserver-types';
|
|
3
|
+
import { Position, Range, Location, LocationLink, Diagnostic, Command, TextEdit, WorkspaceEdit, WorkspaceEditMetadata, DocumentUri, TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem, CompletionItem, CompletionList, Hover, SignatureHelp, Definition, ReferenceContext, DocumentHighlight, SymbolInformation, CodeLens, CodeActionContext, FormattingOptions, DocumentLink, MarkupKind, SymbolKind, CompletionItemKind, CodeAction, CodeActionKind, DocumentSymbol, CompletionItemTag, DiagnosticTag, SymbolTag, uinteger, integer, InsertTextMode, LSPAny, WorkspaceSymbol, URI, WorkspaceFolder } from 'vscode-languageserver-types';
|
|
4
4
|
import { ImplementationRequest, ImplementationClientCapabilities, ImplementationOptions, ImplementationRegistrationOptions, ImplementationParams } from './protocol.implementation';
|
|
5
5
|
import { TypeDefinitionRequest, TypeDefinitionClientCapabilities, TypeDefinitionOptions, TypeDefinitionRegistrationOptions, TypeDefinitionParams } from './protocol.typeDefinition';
|
|
6
6
|
import { WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFoldersChangeEvent, WorkspaceFoldersInitializeParams, WorkspaceFoldersServerCapabilities } from './protocol.workspaceFolder';
|
|
@@ -20,50 +20,72 @@ import { TypeHierarchyClientCapabilities, TypeHierarchyOptions, TypeHierarchyReg
|
|
|
20
20
|
import { InlineValueClientCapabilities, InlineValueOptions, InlineValueRegistrationOptions, InlineValueWorkspaceClientCapabilities, InlineValueParams, InlineValueRequest, InlineValueRefreshRequest } from './protocol.inlineValue';
|
|
21
21
|
import { InlayHintClientCapabilities, InlayHintOptions, InlayHintRegistrationOptions, InlayHintWorkspaceClientCapabilities, InlayHintParams, InlayHintRequest, InlayHintResolveRequest, InlayHintRefreshRequest } from './protocol.inlayHint';
|
|
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
|
-
import { NotebookDocumentSyncClientCapabilities, NotebookCellKind, ExecutionSummary, NotebookCell, NotebookDocument, NotebookDocumentIdentifier, VersionedNotebookDocumentIdentifier, NotebookDocumentSyncOptions, NotebookDocumentSyncRegistrationOptions, NotebookDocumentSyncRegistrationType, DidOpenNotebookDocumentParams, DidOpenNotebookDocumentNotification, NotebookCellArrayChange, NotebookDocumentChangeEvent, DidChangeNotebookDocumentParams, DidChangeNotebookDocumentNotification, DidSaveNotebookDocumentParams, DidSaveNotebookDocumentNotification, DidCloseNotebookDocumentParams, DidCloseNotebookDocumentNotification } from './protocol.notebook';
|
|
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, TextDocumentContentResult, 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
|
-
* @proposed
|
|
30
30
|
*/
|
|
31
|
-
export
|
|
32
|
-
/**
|
|
31
|
+
export type TextDocumentFilterLanguage = {
|
|
32
|
+
/**
|
|
33
|
+
* A language id, like `typescript`.
|
|
34
|
+
*/
|
|
33
35
|
language: string;
|
|
34
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
38
|
+
*/
|
|
35
39
|
scheme?: string;
|
|
36
|
-
/**
|
|
37
|
-
|
|
38
|
-
|
|
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
|
+
};
|
|
39
47
|
/**
|
|
40
48
|
* A document filter where `scheme` is required field.
|
|
41
49
|
*
|
|
42
50
|
* @since 3.18.0
|
|
43
|
-
* @proposed
|
|
44
51
|
*/
|
|
45
|
-
export
|
|
46
|
-
/**
|
|
52
|
+
export type TextDocumentFilterScheme = {
|
|
53
|
+
/**
|
|
54
|
+
* A language id, like `typescript`.
|
|
55
|
+
*/
|
|
47
56
|
language?: string;
|
|
48
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
59
|
+
*/
|
|
49
60
|
scheme: string;
|
|
50
|
-
/**
|
|
51
|
-
|
|
52
|
-
|
|
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
|
+
};
|
|
53
68
|
/**
|
|
54
69
|
* A document filter where `pattern` is required field.
|
|
55
70
|
*
|
|
56
71
|
* @since 3.18.0
|
|
57
|
-
* @proposed
|
|
58
72
|
*/
|
|
59
|
-
export
|
|
60
|
-
/**
|
|
73
|
+
export type TextDocumentFilterPattern = {
|
|
74
|
+
/**
|
|
75
|
+
* A language id, like `typescript`.
|
|
76
|
+
*/
|
|
61
77
|
language?: string;
|
|
62
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
80
|
+
*/
|
|
63
81
|
scheme?: string;
|
|
64
|
-
/**
|
|
65
|
-
|
|
66
|
-
|
|
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
|
+
};
|
|
67
89
|
/**
|
|
68
90
|
* A document filter denotes a document by different properties like
|
|
69
91
|
* the {@link TextDocument.languageId language}, the {@link Uri.scheme scheme} of
|
|
@@ -96,44 +118,59 @@ export declare namespace TextDocumentFilter {
|
|
|
96
118
|
* A notebook document filter where `notebookType` is required field.
|
|
97
119
|
*
|
|
98
120
|
* @since 3.18.0
|
|
99
|
-
* @proposed
|
|
100
121
|
*/
|
|
101
|
-
export
|
|
102
|
-
/**
|
|
122
|
+
export type NotebookDocumentFilterNotebookType = {
|
|
123
|
+
/**
|
|
124
|
+
* The type of the enclosing notebook.
|
|
125
|
+
*/
|
|
103
126
|
notebookType: string;
|
|
104
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
129
|
+
*/
|
|
105
130
|
scheme?: string;
|
|
106
|
-
/**
|
|
107
|
-
|
|
108
|
-
|
|
131
|
+
/**
|
|
132
|
+
* A glob pattern.
|
|
133
|
+
*/
|
|
134
|
+
pattern?: GlobPattern;
|
|
135
|
+
};
|
|
109
136
|
/**
|
|
110
137
|
* A notebook document filter where `scheme` is required field.
|
|
111
138
|
*
|
|
112
139
|
* @since 3.18.0
|
|
113
|
-
* @proposed
|
|
114
140
|
*/
|
|
115
|
-
export
|
|
116
|
-
/**
|
|
141
|
+
export type NotebookDocumentFilterScheme = {
|
|
142
|
+
/**
|
|
143
|
+
* The type of the enclosing notebook.
|
|
144
|
+
*/
|
|
117
145
|
notebookType?: string;
|
|
118
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
148
|
+
*/
|
|
119
149
|
scheme: string;
|
|
120
|
-
/**
|
|
121
|
-
|
|
122
|
-
|
|
150
|
+
/**
|
|
151
|
+
* A glob pattern.
|
|
152
|
+
*/
|
|
153
|
+
pattern?: GlobPattern;
|
|
154
|
+
};
|
|
123
155
|
/**
|
|
124
156
|
* A notebook document filter where `pattern` is required field.
|
|
125
157
|
*
|
|
126
158
|
* @since 3.18.0
|
|
127
|
-
* @proposed
|
|
128
159
|
*/
|
|
129
|
-
export
|
|
130
|
-
/**
|
|
160
|
+
export type NotebookDocumentFilterPattern = {
|
|
161
|
+
/**
|
|
162
|
+
* The type of the enclosing notebook.
|
|
163
|
+
*/
|
|
131
164
|
notebookType?: string;
|
|
132
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* A Uri {@link Uri.scheme scheme}, like `file` or `untitled`.
|
|
167
|
+
*/
|
|
133
168
|
scheme?: string;
|
|
134
|
-
/**
|
|
135
|
-
|
|
136
|
-
|
|
169
|
+
/**
|
|
170
|
+
* A glob pattern.
|
|
171
|
+
*/
|
|
172
|
+
pattern: GlobPattern;
|
|
173
|
+
};
|
|
137
174
|
/**
|
|
138
175
|
* A notebook document filter denotes a notebook document by
|
|
139
176
|
* different properties. The properties will be match
|
|
@@ -421,6 +458,13 @@ export interface WorkspaceClientCapabilities {
|
|
|
421
458
|
* @proposed
|
|
422
459
|
*/
|
|
423
460
|
foldingRange?: FoldingRangeWorkspaceClientCapabilities;
|
|
461
|
+
/**
|
|
462
|
+
* Capabilities specific to the `workspace/textDocumentContent` request.
|
|
463
|
+
*
|
|
464
|
+
* @since 3.18.0
|
|
465
|
+
* @proposed
|
|
466
|
+
*/
|
|
467
|
+
textDocumentContent?: TextDocumentContentClientCapabilities;
|
|
424
468
|
}
|
|
425
469
|
/**
|
|
426
470
|
* Text document specific client capabilities.
|
|
@@ -609,6 +653,16 @@ export interface WindowClientCapabilities {
|
|
|
609
653
|
*/
|
|
610
654
|
showDocument?: ShowDocumentClientCapabilities;
|
|
611
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* Regular Expression Engines
|
|
658
|
+
*
|
|
659
|
+
* @since 3.18.0
|
|
660
|
+
* @proposed
|
|
661
|
+
*/
|
|
662
|
+
export declare namespace RegularExpressionEngineKind {
|
|
663
|
+
const ES2020: "ES2020";
|
|
664
|
+
}
|
|
665
|
+
export type RegularExpressionEngineKind = string;
|
|
612
666
|
/**
|
|
613
667
|
* Client capabilities specific to regular expressions.
|
|
614
668
|
*
|
|
@@ -618,7 +672,7 @@ export interface RegularExpressionsClientCapabilities {
|
|
|
618
672
|
/**
|
|
619
673
|
* The engine's name.
|
|
620
674
|
*/
|
|
621
|
-
engine:
|
|
675
|
+
engine: RegularExpressionEngineKind;
|
|
622
676
|
/**
|
|
623
677
|
* The engine's version.
|
|
624
678
|
*/
|
|
@@ -681,9 +735,8 @@ export declare namespace PositionEncodingKind {
|
|
|
681
735
|
export type PositionEncodingKind = string;
|
|
682
736
|
/**
|
|
683
737
|
* @since 3.18.0
|
|
684
|
-
* @proposed
|
|
685
738
|
*/
|
|
686
|
-
export
|
|
739
|
+
export type StaleRequestSupportOptions = {
|
|
687
740
|
/**
|
|
688
741
|
* The client will actively cancel the request.
|
|
689
742
|
*/
|
|
@@ -694,7 +747,7 @@ export interface StaleRequestSupportOptions {
|
|
|
694
747
|
* response with error code `ContentModified`
|
|
695
748
|
*/
|
|
696
749
|
retryOnContentModified: string[];
|
|
697
|
-
}
|
|
750
|
+
};
|
|
698
751
|
/**
|
|
699
752
|
* General client capabilities.
|
|
700
753
|
*
|
|
@@ -853,9 +906,8 @@ export declare namespace WorkDoneProgressOptions {
|
|
|
853
906
|
* Defines workspace specific capabilities of the server.
|
|
854
907
|
*
|
|
855
908
|
* @since 3.18.0
|
|
856
|
-
* @proposed
|
|
857
909
|
*/
|
|
858
|
-
export
|
|
910
|
+
export type WorkspaceOptions = {
|
|
859
911
|
/**
|
|
860
912
|
* The server supports workspace folder.
|
|
861
913
|
*
|
|
@@ -868,7 +920,14 @@ export interface WorkspaceOptions {
|
|
|
868
920
|
* @since 3.16.0
|
|
869
921
|
*/
|
|
870
922
|
fileOperations?: FileOperationOptions;
|
|
871
|
-
|
|
923
|
+
/**
|
|
924
|
+
* The server supports the `workspace/textDocumentContent` request.
|
|
925
|
+
*
|
|
926
|
+
* @since 3.18.0
|
|
927
|
+
* @proposed
|
|
928
|
+
*/
|
|
929
|
+
textDocumentContent?: TextDocumentContentOptions | TextDocumentContentRegistrationOptions;
|
|
930
|
+
};
|
|
872
931
|
/**
|
|
873
932
|
* Defines the capabilities provided by a language
|
|
874
933
|
* server.
|
|
@@ -1059,9 +1118,8 @@ export interface ServerCapabilities<T = LSPAny> {
|
|
|
1059
1118
|
*
|
|
1060
1119
|
* @since 3.15.0
|
|
1061
1120
|
* @since 3.18.0 ServerInfo type name added.
|
|
1062
|
-
* @proposed
|
|
1063
1121
|
*/
|
|
1064
|
-
export
|
|
1122
|
+
export type ServerInfo = {
|
|
1065
1123
|
/**
|
|
1066
1124
|
* The name of the server as defined by the server.
|
|
1067
1125
|
*/
|
|
@@ -1070,15 +1128,14 @@ export interface ServerInfo {
|
|
|
1070
1128
|
* The server's version as defined by the server.
|
|
1071
1129
|
*/
|
|
1072
1130
|
version?: string;
|
|
1073
|
-
}
|
|
1131
|
+
};
|
|
1074
1132
|
/**
|
|
1075
1133
|
* Information about the client
|
|
1076
1134
|
*
|
|
1077
1135
|
* @since 3.15.0
|
|
1078
1136
|
* @since 3.18.0 ClientInfo type name added.
|
|
1079
|
-
* @proposed
|
|
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.
|
|
@@ -1155,7 +1212,7 @@ export interface _InitializeParams extends WorkDoneProgressParams {
|
|
|
1155
1212
|
/**
|
|
1156
1213
|
* The initial trace setting. If omitted trace is disabled ('off').
|
|
1157
1214
|
*/
|
|
1158
|
-
trace?:
|
|
1215
|
+
trace?: TraceValue;
|
|
1159
1216
|
}
|
|
1160
1217
|
export type InitializeParams = _InitializeParams & WorkspaceFoldersInitializeParams;
|
|
1161
1218
|
/**
|
|
@@ -1287,6 +1344,7 @@ export declare namespace MessageType {
|
|
|
1287
1344
|
* A debug message.
|
|
1288
1345
|
*
|
|
1289
1346
|
* @since 3.18.0
|
|
1347
|
+
* @proposed
|
|
1290
1348
|
*/
|
|
1291
1349
|
const Debug = 5;
|
|
1292
1350
|
}
|
|
@@ -1315,16 +1373,15 @@ export declare namespace ShowMessageNotification {
|
|
|
1315
1373
|
}
|
|
1316
1374
|
/**
|
|
1317
1375
|
* @since 3.18.0
|
|
1318
|
-
* @proposed
|
|
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
|
*/
|
|
@@ -1495,19 +1552,17 @@ export declare namespace DidOpenTextDocumentNotification {
|
|
|
1495
1552
|
}
|
|
1496
1553
|
/**
|
|
1497
1554
|
* @since 3.18.0
|
|
1498
|
-
* @proposed
|
|
1499
1555
|
*/
|
|
1500
|
-
export
|
|
1556
|
+
export type TextDocumentContentChangeWholeDocument = {
|
|
1501
1557
|
/**
|
|
1502
1558
|
* The new text of the whole document.
|
|
1503
1559
|
*/
|
|
1504
1560
|
text: string;
|
|
1505
|
-
}
|
|
1561
|
+
};
|
|
1506
1562
|
/**
|
|
1507
1563
|
* @since 3.18.0
|
|
1508
|
-
* @proposed
|
|
1509
1564
|
*/
|
|
1510
|
-
export
|
|
1565
|
+
export type TextDocumentContentChangePartial = {
|
|
1511
1566
|
/**
|
|
1512
1567
|
* The range of the document that changed.
|
|
1513
1568
|
*/
|
|
@@ -1522,7 +1577,7 @@ export interface TextDocumentContentChangePartial {
|
|
|
1522
1577
|
* The new text for the provided range.
|
|
1523
1578
|
*/
|
|
1524
1579
|
text: string;
|
|
1525
|
-
}
|
|
1580
|
+
};
|
|
1526
1581
|
/**
|
|
1527
1582
|
* An event describing a change to a text document. If only a text is provided
|
|
1528
1583
|
* it is considered to be the full content of the document.
|
|
@@ -1804,6 +1859,9 @@ export declare namespace RelativePattern {
|
|
|
1804
1859
|
* @since 3.17.0
|
|
1805
1860
|
*/
|
|
1806
1861
|
export type GlobPattern = Pattern | RelativePattern;
|
|
1862
|
+
export declare namespace GlobPattern {
|
|
1863
|
+
function is(value: any): value is GlobPattern;
|
|
1864
|
+
}
|
|
1807
1865
|
export interface FileSystemWatcher {
|
|
1808
1866
|
/**
|
|
1809
1867
|
* The glob pattern to watch. See {@link GlobPattern glob pattern} for more detail.
|
|
@@ -1835,18 +1893,17 @@ export declare namespace WatchKind {
|
|
|
1835
1893
|
export type WatchKind = uinteger;
|
|
1836
1894
|
/**
|
|
1837
1895
|
* @since 3.18.0
|
|
1838
|
-
* @proposed
|
|
1839
1896
|
*/
|
|
1840
|
-
export
|
|
1897
|
+
export type ClientDiagnosticsTagOptions = {
|
|
1841
1898
|
/**
|
|
1842
1899
|
* The tags supported by the client.
|
|
1843
1900
|
*/
|
|
1844
1901
|
valueSet: DiagnosticTag[];
|
|
1845
|
-
}
|
|
1902
|
+
};
|
|
1846
1903
|
/**
|
|
1847
|
-
*
|
|
1904
|
+
* General diagnostics capabilities for pull and push model.
|
|
1848
1905
|
*/
|
|
1849
|
-
export interface
|
|
1906
|
+
export interface DiagnosticsCapabilities {
|
|
1850
1907
|
/**
|
|
1851
1908
|
* Whether the clients accepts diagnostics with related information.
|
|
1852
1909
|
*/
|
|
@@ -1858,13 +1915,6 @@ export interface PublishDiagnosticsClientCapabilities {
|
|
|
1858
1915
|
* @since 3.15.0
|
|
1859
1916
|
*/
|
|
1860
1917
|
tagSupport?: ClientDiagnosticsTagOptions;
|
|
1861
|
-
/**
|
|
1862
|
-
* Whether the client interprets the version property of the
|
|
1863
|
-
* `textDocument/publishDiagnostics` notification's parameter.
|
|
1864
|
-
*
|
|
1865
|
-
* @since 3.15.0
|
|
1866
|
-
*/
|
|
1867
|
-
versionSupport?: boolean;
|
|
1868
1918
|
/**
|
|
1869
1919
|
* Client supports a codeDescription property
|
|
1870
1920
|
*
|
|
@@ -1880,6 +1930,18 @@ export interface PublishDiagnosticsClientCapabilities {
|
|
|
1880
1930
|
*/
|
|
1881
1931
|
dataSupport?: boolean;
|
|
1882
1932
|
}
|
|
1933
|
+
/**
|
|
1934
|
+
* The publish diagnostic client capabilities.
|
|
1935
|
+
*/
|
|
1936
|
+
export interface PublishDiagnosticsClientCapabilities extends DiagnosticsCapabilities {
|
|
1937
|
+
/**
|
|
1938
|
+
* Whether the client interprets the version property of the
|
|
1939
|
+
* `textDocument/publishDiagnostics` notification's parameter.
|
|
1940
|
+
*
|
|
1941
|
+
* @since 3.15.0
|
|
1942
|
+
*/
|
|
1943
|
+
versionSupport?: boolean;
|
|
1944
|
+
}
|
|
1883
1945
|
/**
|
|
1884
1946
|
* The publish diagnostic notification's parameters.
|
|
1885
1947
|
*/
|
|
@@ -1929,36 +1991,32 @@ export interface CompletionListCapabilities {
|
|
|
1929
1991
|
}
|
|
1930
1992
|
/**
|
|
1931
1993
|
* @since 3.18.0
|
|
1932
|
-
* @proposed
|
|
1933
1994
|
*/
|
|
1934
|
-
export
|
|
1995
|
+
export type CompletionItemTagOptions = {
|
|
1935
1996
|
/**
|
|
1936
1997
|
* The tags supported by the client.
|
|
1937
1998
|
*/
|
|
1938
1999
|
valueSet: CompletionItemTag[];
|
|
1939
|
-
}
|
|
2000
|
+
};
|
|
1940
2001
|
/**
|
|
1941
2002
|
* @since 3.18.0
|
|
1942
|
-
* @proposed
|
|
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
|
-
* @proposed
|
|
1953
2012
|
*/
|
|
1954
|
-
export
|
|
2013
|
+
export type ClientCompletionItemInsertTextModeOptions = {
|
|
1955
2014
|
valueSet: InsertTextMode[];
|
|
1956
|
-
}
|
|
2015
|
+
};
|
|
1957
2016
|
/**
|
|
1958
2017
|
* @since 3.18.0
|
|
1959
|
-
* @proposed
|
|
1960
2018
|
*/
|
|
1961
|
-
export
|
|
2019
|
+
export type ClientCompletionItemOptions = {
|
|
1962
2020
|
/**
|
|
1963
2021
|
* Client supports snippets as insert text.
|
|
1964
2022
|
*
|
|
@@ -2024,12 +2082,11 @@ export interface ClientCompletionItemOptions {
|
|
|
2024
2082
|
* @since 3.17.0
|
|
2025
2083
|
*/
|
|
2026
2084
|
labelDetailsSupport?: boolean;
|
|
2027
|
-
}
|
|
2085
|
+
};
|
|
2028
2086
|
/**
|
|
2029
2087
|
* @since 3.18.0
|
|
2030
|
-
* @proposed
|
|
2031
2088
|
*/
|
|
2032
|
-
export
|
|
2089
|
+
export type ClientCompletionItemOptionsKind = {
|
|
2033
2090
|
/**
|
|
2034
2091
|
* The completion item kind values the client supports. When this
|
|
2035
2092
|
* property exists the client also guarantees that it will
|
|
@@ -2041,7 +2098,7 @@ export interface ClientCompletionItemOptionsKind {
|
|
|
2041
2098
|
* the initial version of the protocol.
|
|
2042
2099
|
*/
|
|
2043
2100
|
valueSet?: CompletionItemKind[];
|
|
2044
|
-
}
|
|
2101
|
+
};
|
|
2045
2102
|
/**
|
|
2046
2103
|
* Completion client capabilities
|
|
2047
2104
|
*/
|
|
@@ -2123,9 +2180,8 @@ export interface CompletionParams extends TextDocumentPositionParams, WorkDonePr
|
|
|
2123
2180
|
}
|
|
2124
2181
|
/**
|
|
2125
2182
|
* @since 3.18.0
|
|
2126
|
-
* @proposed
|
|
2127
2183
|
*/
|
|
2128
|
-
export
|
|
2184
|
+
export type ServerCompletionItemOptions = {
|
|
2129
2185
|
/**
|
|
2130
2186
|
* The server has support for completion item label
|
|
2131
2187
|
* details (see also `CompletionItemLabelDetails`) when
|
|
@@ -2134,7 +2190,7 @@ export interface ServerCompletionItemOptions {
|
|
|
2134
2190
|
* @since 3.17.0
|
|
2135
2191
|
*/
|
|
2136
2192
|
labelDetailsSupport?: boolean;
|
|
2137
|
-
}
|
|
2193
|
+
};
|
|
2138
2194
|
/**
|
|
2139
2195
|
* Completion options.
|
|
2140
2196
|
*/
|
|
@@ -2243,9 +2299,8 @@ export declare namespace HoverRequest {
|
|
|
2243
2299
|
}
|
|
2244
2300
|
/**
|
|
2245
2301
|
* @since 3.18.0
|
|
2246
|
-
* @proposed
|
|
2247
2302
|
*/
|
|
2248
|
-
export
|
|
2303
|
+
export type ClientSignatureParameterInformationOptions = {
|
|
2249
2304
|
/**
|
|
2250
2305
|
* The client supports processing label offsets instead of a
|
|
2251
2306
|
* simple label string.
|
|
@@ -2253,12 +2308,11 @@ export interface ClientSignatureParameterInformationOptions {
|
|
|
2253
2308
|
* @since 3.14.0
|
|
2254
2309
|
*/
|
|
2255
2310
|
labelOffsetSupport?: boolean;
|
|
2256
|
-
}
|
|
2311
|
+
};
|
|
2257
2312
|
/**
|
|
2258
2313
|
* @since 3.18.0
|
|
2259
|
-
* @proposed
|
|
2260
2314
|
*/
|
|
2261
|
-
export
|
|
2315
|
+
export type ClientSignatureInformationOptions = {
|
|
2262
2316
|
/**
|
|
2263
2317
|
* Client supports the following content formats for the documentation
|
|
2264
2318
|
* property. The order describes the preferred format of the client.
|
|
@@ -2275,7 +2329,16 @@ export interface ClientSignatureInformationOptions {
|
|
|
2275
2329
|
* @since 3.16.0
|
|
2276
2330
|
*/
|
|
2277
2331
|
activeParameterSupport?: boolean;
|
|
2278
|
-
|
|
2332
|
+
/**
|
|
2333
|
+
* The client supports the `activeParameter` property on
|
|
2334
|
+
* `SignatureHelp`/`SignatureInformation` being set to `null` to
|
|
2335
|
+
* indicate that no parameter should be active.
|
|
2336
|
+
*
|
|
2337
|
+
* @since 3.18.0
|
|
2338
|
+
* @proposed
|
|
2339
|
+
*/
|
|
2340
|
+
noActiveParameterSupport?: boolean;
|
|
2341
|
+
};
|
|
2279
2342
|
/**
|
|
2280
2343
|
* Client Capabilities for a {@link SignatureHelpRequest}.
|
|
2281
2344
|
*/
|
|
@@ -2574,9 +2637,8 @@ export declare namespace DocumentSymbolRequest {
|
|
|
2574
2637
|
}
|
|
2575
2638
|
/**
|
|
2576
2639
|
* @since 3.18.0
|
|
2577
|
-
* @proposed
|
|
2578
2640
|
*/
|
|
2579
|
-
export
|
|
2641
|
+
export type ClientCodeActionKindOptions = {
|
|
2580
2642
|
/**
|
|
2581
2643
|
* The code action kind values the client supports. When this
|
|
2582
2644
|
* property exists the client also guarantees that it will
|
|
@@ -2584,28 +2646,26 @@ export interface ClientCodeActionKindOptions {
|
|
|
2584
2646
|
* to a default value when unknown.
|
|
2585
2647
|
*/
|
|
2586
2648
|
valueSet: CodeActionKind[];
|
|
2587
|
-
}
|
|
2649
|
+
};
|
|
2588
2650
|
/**
|
|
2589
2651
|
* @since 3.18.0
|
|
2590
|
-
* @proposed
|
|
2591
2652
|
*/
|
|
2592
|
-
export
|
|
2653
|
+
export type ClientCodeActionLiteralOptions = {
|
|
2593
2654
|
/**
|
|
2594
2655
|
* The code action kind is support with the following value
|
|
2595
2656
|
* set.
|
|
2596
2657
|
*/
|
|
2597
2658
|
codeActionKind: ClientCodeActionKindOptions;
|
|
2598
|
-
}
|
|
2659
|
+
};
|
|
2599
2660
|
/**
|
|
2600
2661
|
* @since 3.18.0
|
|
2601
|
-
* @proposed
|
|
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
|
*/
|
|
@@ -2659,6 +2719,14 @@ export interface CodeActionClientCapabilities {
|
|
|
2659
2719
|
* @since 3.16.0
|
|
2660
2720
|
*/
|
|
2661
2721
|
honorsChangeAnnotations?: boolean;
|
|
2722
|
+
/**
|
|
2723
|
+
* Whether the client supports documentation for a class of
|
|
2724
|
+
* code actions.
|
|
2725
|
+
*
|
|
2726
|
+
* @since 3.18.0
|
|
2727
|
+
* @proposed
|
|
2728
|
+
*/
|
|
2729
|
+
documentationSupport?: boolean;
|
|
2662
2730
|
}
|
|
2663
2731
|
/**
|
|
2664
2732
|
* The parameters of a {@link CodeActionRequest}.
|
|
@@ -2677,6 +2745,28 @@ export interface CodeActionParams extends WorkDoneProgressParams, PartialResultP
|
|
|
2677
2745
|
*/
|
|
2678
2746
|
context: CodeActionContext;
|
|
2679
2747
|
}
|
|
2748
|
+
/**
|
|
2749
|
+
* Documentation for a class of code actions.
|
|
2750
|
+
*
|
|
2751
|
+
* @since 3.18.0
|
|
2752
|
+
* @proposed
|
|
2753
|
+
*/
|
|
2754
|
+
export type CodeActionKindDocumentation = {
|
|
2755
|
+
/**
|
|
2756
|
+
* The kind of the code action being documented.
|
|
2757
|
+
*
|
|
2758
|
+
* If the kind is generic, such as `CodeActionKind.Refactor`, the documentation will be shown whenever any
|
|
2759
|
+
* refactorings are returned. If the kind if more specific, such as `CodeActionKind.RefactorExtract`, the
|
|
2760
|
+
* documentation will only be shown when extract refactoring code actions are returned.
|
|
2761
|
+
*/
|
|
2762
|
+
kind: CodeActionKind;
|
|
2763
|
+
/**
|
|
2764
|
+
* Command that is ued to display the documentation to the user.
|
|
2765
|
+
*
|
|
2766
|
+
* The title of this documentation code action is taken from {@linkcode Command.title}
|
|
2767
|
+
*/
|
|
2768
|
+
command: Command;
|
|
2769
|
+
};
|
|
2680
2770
|
/**
|
|
2681
2771
|
* Provider options for a {@link CodeActionRequest}.
|
|
2682
2772
|
*/
|
|
@@ -2688,6 +2778,24 @@ export interface CodeActionOptions extends WorkDoneProgressOptions {
|
|
|
2688
2778
|
* may list out every specific kind they provide.
|
|
2689
2779
|
*/
|
|
2690
2780
|
codeActionKinds?: CodeActionKind[];
|
|
2781
|
+
/**
|
|
2782
|
+
* Static documentation for a class of code actions.
|
|
2783
|
+
*
|
|
2784
|
+
* Documentation from the provider should be shown in the code actions menu if either:
|
|
2785
|
+
*
|
|
2786
|
+
* - Code actions of `kind` are requested by the editor. In this case, the editor will show the documentation that
|
|
2787
|
+
* most closely matches the requested code action kind. For example, if a provider has documentation for
|
|
2788
|
+
* both `Refactor` and `RefactorExtract`, when the user requests code actions for `RefactorExtract`,
|
|
2789
|
+
* the editor will use the documentation for `RefactorExtract` instead of the documentation for `Refactor`.
|
|
2790
|
+
*
|
|
2791
|
+
* - Any code actions of `kind` are returned by the provider.
|
|
2792
|
+
*
|
|
2793
|
+
* At most one documentation entry should be shown per provider.
|
|
2794
|
+
*
|
|
2795
|
+
* @since 3.18.0
|
|
2796
|
+
* @proposed
|
|
2797
|
+
*/
|
|
2798
|
+
documentation?: CodeActionKindDocumentation[];
|
|
2691
2799
|
/**
|
|
2692
2800
|
* The server provides support to resolve additional
|
|
2693
2801
|
* information for a code action.
|
|
@@ -2721,9 +2829,8 @@ export declare namespace CodeActionResolveRequest {
|
|
|
2721
2829
|
}
|
|
2722
2830
|
/**
|
|
2723
2831
|
* @since 3.18.0
|
|
2724
|
-
* @proposed
|
|
2725
2832
|
*/
|
|
2726
|
-
export
|
|
2833
|
+
export type ClientSymbolKindOptions = {
|
|
2727
2834
|
/**
|
|
2728
2835
|
* The symbol kind values the client supports. When this
|
|
2729
2836
|
* property exists the client also guarantees that it will
|
|
@@ -2735,28 +2842,26 @@ export interface ClientSymbolKindOptions {
|
|
|
2735
2842
|
* the initial version of the protocol.
|
|
2736
2843
|
*/
|
|
2737
2844
|
valueSet?: SymbolKind[];
|
|
2738
|
-
}
|
|
2845
|
+
};
|
|
2739
2846
|
/**
|
|
2740
2847
|
* @since 3.18.0
|
|
2741
|
-
* @proposed
|
|
2742
2848
|
*/
|
|
2743
|
-
export
|
|
2849
|
+
export type ClientSymbolTagOptions = {
|
|
2744
2850
|
/**
|
|
2745
2851
|
* The tags supported by the client.
|
|
2746
2852
|
*/
|
|
2747
2853
|
valueSet: SymbolTag[];
|
|
2748
|
-
}
|
|
2854
|
+
};
|
|
2749
2855
|
/**
|
|
2750
2856
|
* @since 3.18.0
|
|
2751
|
-
* @proposed
|
|
2752
2857
|
*/
|
|
2753
|
-
export
|
|
2858
|
+
export type ClientSymbolResolveOptions = {
|
|
2754
2859
|
/**
|
|
2755
2860
|
* The properties that a client can resolve lazily. Usually
|
|
2756
2861
|
* `location.range`
|
|
2757
2862
|
*/
|
|
2758
2863
|
properties: string[];
|
|
2759
|
-
}
|
|
2864
|
+
};
|
|
2760
2865
|
/**
|
|
2761
2866
|
* Client capabilities for a {@link WorkspaceSymbolRequest}.
|
|
2762
2867
|
*/
|
|
@@ -2792,6 +2897,12 @@ export interface WorkspaceSymbolParams extends WorkDoneProgressParams, PartialRe
|
|
|
2792
2897
|
/**
|
|
2793
2898
|
* A query string to filter symbols by. Clients may send an empty
|
|
2794
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.
|
|
2795
2906
|
*/
|
|
2796
2907
|
query: string;
|
|
2797
2908
|
}
|
|
@@ -2839,6 +2950,15 @@ export declare namespace WorkspaceSymbolResolveRequest {
|
|
|
2839
2950
|
const messageDirection: MessageDirection;
|
|
2840
2951
|
const type: ProtocolRequestType<WorkspaceSymbol, WorkspaceSymbol, never, void, void>;
|
|
2841
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
|
+
};
|
|
2842
2962
|
/**
|
|
2843
2963
|
* The client capabilities of a {@link CodeLensRequest}.
|
|
2844
2964
|
*/
|
|
@@ -2847,6 +2967,13 @@ export interface CodeLensClientCapabilities {
|
|
|
2847
2967
|
* Whether code lens supports dynamic registration.
|
|
2848
2968
|
*/
|
|
2849
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;
|
|
2850
2977
|
}
|
|
2851
2978
|
/**
|
|
2852
2979
|
* @since 3.16.0
|
|
@@ -3245,19 +3372,17 @@ export interface PrepareRenameParams extends TextDocumentPositionParams, WorkDon
|
|
|
3245
3372
|
}
|
|
3246
3373
|
/**
|
|
3247
3374
|
* @since 3.18.0
|
|
3248
|
-
* @proposed
|
|
3249
3375
|
*/
|
|
3250
|
-
export
|
|
3376
|
+
export type PrepareRenamePlaceholder = {
|
|
3251
3377
|
range: Range;
|
|
3252
3378
|
placeholder: string;
|
|
3253
|
-
}
|
|
3379
|
+
};
|
|
3254
3380
|
/**
|
|
3255
3381
|
* @since 3.18.0
|
|
3256
|
-
* @proposed
|
|
3257
3382
|
*/
|
|
3258
|
-
export
|
|
3383
|
+
export type PrepareRenameDefaultBehavior = {
|
|
3259
3384
|
defaultBehavior: boolean;
|
|
3260
|
-
}
|
|
3385
|
+
};
|
|
3261
3386
|
export type PrepareRenameResult = Range | PrepareRenamePlaceholder | PrepareRenameDefaultBehavior;
|
|
3262
3387
|
/**
|
|
3263
3388
|
* A request to test and perform the setup necessary for a rename.
|
|
@@ -3316,16 +3441,15 @@ export declare namespace ExecuteCommandRequest {
|
|
|
3316
3441
|
}
|
|
3317
3442
|
/**
|
|
3318
3443
|
* @since 3.18.0
|
|
3319
|
-
* @proposed
|
|
3320
3444
|
*/
|
|
3321
|
-
export
|
|
3445
|
+
export type ChangeAnnotationsSupportOptions = {
|
|
3322
3446
|
/**
|
|
3323
3447
|
* Whether the client groups edits with equal labels into tree nodes,
|
|
3324
3448
|
* for instance all edits labelled with "Changes in Strings" would
|
|
3325
3449
|
* be a tree node.
|
|
3326
3450
|
*/
|
|
3327
3451
|
groupsOnLabel?: boolean;
|
|
3328
|
-
}
|
|
3452
|
+
};
|
|
3329
3453
|
export interface WorkspaceEditClientCapabilities {
|
|
3330
3454
|
/**
|
|
3331
3455
|
* The client supports versioned document changes in `WorkspaceEdit`s
|
|
@@ -3362,6 +3486,20 @@ export interface WorkspaceEditClientCapabilities {
|
|
|
3362
3486
|
* @since 3.16.0
|
|
3363
3487
|
*/
|
|
3364
3488
|
changeAnnotationSupport?: ChangeAnnotationsSupportOptions;
|
|
3489
|
+
/**
|
|
3490
|
+
* Whether the client supports `WorkspaceEditMetadata` in `WorkspaceEdit`s.
|
|
3491
|
+
*
|
|
3492
|
+
* @since 3.18.0
|
|
3493
|
+
* @proposed
|
|
3494
|
+
*/
|
|
3495
|
+
metadataSupport?: boolean;
|
|
3496
|
+
/**
|
|
3497
|
+
* Whether the client supports snippets as text edits.
|
|
3498
|
+
*
|
|
3499
|
+
* @since 3.18.0
|
|
3500
|
+
* @proposed
|
|
3501
|
+
*/
|
|
3502
|
+
snippetEditSupport?: boolean;
|
|
3365
3503
|
}
|
|
3366
3504
|
/**
|
|
3367
3505
|
* The parameters passed via an apply workspace edit request.
|
|
@@ -3377,6 +3515,13 @@ export interface ApplyWorkspaceEditParams {
|
|
|
3377
3515
|
* The edits to apply.
|
|
3378
3516
|
*/
|
|
3379
3517
|
edit: WorkspaceEdit;
|
|
3518
|
+
/**
|
|
3519
|
+
* Additional data about the edit.
|
|
3520
|
+
*
|
|
3521
|
+
* @since 3.18.0
|
|
3522
|
+
* @proposed
|
|
3523
|
+
*/
|
|
3524
|
+
metadata?: WorkspaceEditMetadata;
|
|
3380
3525
|
}
|
|
3381
3526
|
/**
|
|
3382
3527
|
* The result returned from the apply workspace edit request.
|
|
@@ -3414,5 +3559,5 @@ export declare namespace ApplyWorkspaceEditRequest {
|
|
|
3414
3559
|
const type: ProtocolRequestType<ApplyWorkspaceEditParams, ApplyWorkspaceEditResult, never, void, void>;
|
|
3415
3560
|
type HandlerSignature = RequestHandler<ApplyWorkspaceEditParams, ApplyWorkspaceEditResult, void>;
|
|
3416
3561
|
}
|
|
3417
|
-
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, 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, TextDocumentContentResult, TextDocumentContentRequest, TextDocumentContentRefreshParams, TextDocumentContentRefreshRequest };
|
|
3418
3563
|
export { DocumentColorOptions as ColorProviderOptions, DocumentColorOptions as ColorOptions, FoldingRangeOptions as FoldingRangeProviderOptions, SelectionRangeOptions as SelectionRangeProviderOptions, DocumentColorRegistrationOptions as ColorRegistrationOptions };
|