vscode-languageserver-protocol 3.17.4-next.2 → 3.17.4
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/api.d.ts +1 -1
- package/lib/common/api.js +1 -1
- package/lib/common/messages.js +1 -1
- package/lib/common/protocol.callHierarchy.js +3 -3
- package/lib/common/protocol.colorProvider.js +2 -2
- package/lib/common/protocol.configuration.js +1 -1
- package/lib/common/protocol.d.ts +47 -35
- package/lib/common/protocol.declaration.d.ts +3 -4
- package/lib/common/protocol.declaration.js +4 -5
- package/lib/common/protocol.diagnostic.d.ts +21 -21
- package/lib/common/protocol.diagnostic.js +5 -5
- package/lib/common/protocol.fileOperations.d.ts +1 -1
- package/lib/common/protocol.fileOperations.js +7 -7
- package/lib/common/protocol.foldingRange.d.ts +33 -2
- package/lib/common/protocol.foldingRange.js +12 -2
- package/lib/common/protocol.implementation.d.ts +2 -3
- package/lib/common/protocol.implementation.js +3 -4
- package/lib/common/protocol.inlayHint.d.ts +5 -5
- package/lib/common/protocol.inlayHint.js +3 -3
- package/lib/common/protocol.inlineCompletion.d.ts +4 -4
- package/lib/common/protocol.inlineCompletion.js +1 -1
- package/lib/common/protocol.inlineValue.d.ts +5 -5
- package/lib/common/protocol.inlineValue.js +2 -2
- package/lib/common/protocol.js +80 -74
- package/lib/common/protocol.linkedEditingRange.js +1 -1
- package/lib/common/protocol.moniker.d.ts +2 -2
- package/lib/common/protocol.moniker.js +3 -3
- package/lib/common/protocol.notebook.d.ts +15 -15
- package/lib/common/protocol.notebook.js +10 -10
- package/lib/common/protocol.progress.js +3 -3
- package/lib/common/protocol.selectionRange.js +1 -1
- package/lib/common/protocol.semanticTokens.d.ts +1 -1
- package/lib/common/protocol.semanticTokens.js +6 -6
- package/lib/common/protocol.showDocument.js +1 -1
- package/lib/common/protocol.typeDefinition.d.ts +2 -3
- package/lib/common/protocol.typeDefinition.js +3 -4
- package/lib/common/protocol.typeHierarchy.d.ts +6 -6
- package/lib/common/protocol.typeHierarchy.js +3 -3
- package/lib/common/protocol.workspaceFolder.js +2 -2
- package/package.json +5 -5
package/lib/common/api.d.ts
CHANGED
package/lib/common/api.js
CHANGED
package/lib/common/messages.js
CHANGED
|
@@ -11,7 +11,7 @@ var MessageDirection;
|
|
|
11
11
|
MessageDirection["clientToServer"] = "clientToServer";
|
|
12
12
|
MessageDirection["serverToClient"] = "serverToClient";
|
|
13
13
|
MessageDirection["both"] = "both";
|
|
14
|
-
})(MessageDirection
|
|
14
|
+
})(MessageDirection || (exports.MessageDirection = MessageDirection = {}));
|
|
15
15
|
class RegistrationType {
|
|
16
16
|
constructor(method) {
|
|
17
17
|
this.method = method;
|
|
@@ -17,7 +17,7 @@ var CallHierarchyPrepareRequest;
|
|
|
17
17
|
CallHierarchyPrepareRequest.method = 'textDocument/prepareCallHierarchy';
|
|
18
18
|
CallHierarchyPrepareRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
19
19
|
CallHierarchyPrepareRequest.type = new messages_1.ProtocolRequestType(CallHierarchyPrepareRequest.method);
|
|
20
|
-
})(CallHierarchyPrepareRequest
|
|
20
|
+
})(CallHierarchyPrepareRequest || (exports.CallHierarchyPrepareRequest = CallHierarchyPrepareRequest = {}));
|
|
21
21
|
/**
|
|
22
22
|
* A request to resolve the incoming calls for a given `CallHierarchyItem`.
|
|
23
23
|
*
|
|
@@ -28,7 +28,7 @@ var CallHierarchyIncomingCallsRequest;
|
|
|
28
28
|
CallHierarchyIncomingCallsRequest.method = 'callHierarchy/incomingCalls';
|
|
29
29
|
CallHierarchyIncomingCallsRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
30
30
|
CallHierarchyIncomingCallsRequest.type = new messages_1.ProtocolRequestType(CallHierarchyIncomingCallsRequest.method);
|
|
31
|
-
})(CallHierarchyIncomingCallsRequest
|
|
31
|
+
})(CallHierarchyIncomingCallsRequest || (exports.CallHierarchyIncomingCallsRequest = CallHierarchyIncomingCallsRequest = {}));
|
|
32
32
|
/**
|
|
33
33
|
* A request to resolve the outgoing calls for a given `CallHierarchyItem`.
|
|
34
34
|
*
|
|
@@ -39,4 +39,4 @@ var CallHierarchyOutgoingCallsRequest;
|
|
|
39
39
|
CallHierarchyOutgoingCallsRequest.method = 'callHierarchy/outgoingCalls';
|
|
40
40
|
CallHierarchyOutgoingCallsRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
41
41
|
CallHierarchyOutgoingCallsRequest.type = new messages_1.ProtocolRequestType(CallHierarchyOutgoingCallsRequest.method);
|
|
42
|
-
})(CallHierarchyOutgoingCallsRequest
|
|
42
|
+
})(CallHierarchyOutgoingCallsRequest || (exports.CallHierarchyOutgoingCallsRequest = CallHierarchyOutgoingCallsRequest = {}));
|
|
@@ -17,7 +17,7 @@ var DocumentColorRequest;
|
|
|
17
17
|
DocumentColorRequest.method = 'textDocument/documentColor';
|
|
18
18
|
DocumentColorRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
19
19
|
DocumentColorRequest.type = new messages_1.ProtocolRequestType(DocumentColorRequest.method);
|
|
20
|
-
})(DocumentColorRequest
|
|
20
|
+
})(DocumentColorRequest || (exports.DocumentColorRequest = DocumentColorRequest = {}));
|
|
21
21
|
/**
|
|
22
22
|
* A request to list all presentation for a color. The request's
|
|
23
23
|
* parameter is of type {@link ColorPresentationParams} the
|
|
@@ -29,4 +29,4 @@ var ColorPresentationRequest;
|
|
|
29
29
|
ColorPresentationRequest.method = 'textDocument/colorPresentation';
|
|
30
30
|
ColorPresentationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
31
31
|
ColorPresentationRequest.type = new messages_1.ProtocolRequestType(ColorPresentationRequest.method);
|
|
32
|
-
})(ColorPresentationRequest
|
|
32
|
+
})(ColorPresentationRequest || (exports.ColorPresentationRequest = ColorPresentationRequest = {}));
|
|
@@ -21,4 +21,4 @@ var ConfigurationRequest;
|
|
|
21
21
|
ConfigurationRequest.method = 'workspace/configuration';
|
|
22
22
|
ConfigurationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
23
23
|
ConfigurationRequest.type = new messages_1.ProtocolRequestType(ConfigurationRequest.method);
|
|
24
|
-
})(ConfigurationRequest
|
|
24
|
+
})(ConfigurationRequest || (exports.ConfigurationRequest = ConfigurationRequest = {}));
|
package/lib/common/protocol.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { TypeDefinitionRequest, TypeDefinitionClientCapabilities, TypeDefinition
|
|
|
6
6
|
import { WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFoldersChangeEvent, WorkspaceFoldersInitializeParams, WorkspaceFoldersServerCapabilities } from './protocol.workspaceFolder';
|
|
7
7
|
import { ConfigurationRequest, ConfigurationParams, ConfigurationItem } from './protocol.configuration';
|
|
8
8
|
import { DocumentColorRequest, ColorPresentationRequest, DocumentColorOptions, DocumentColorParams, ColorPresentationParams, DocumentColorClientCapabilities, DocumentColorRegistrationOptions } from './protocol.colorProvider';
|
|
9
|
-
import { FoldingRangeClientCapabilities, FoldingRangeOptions, FoldingRangeRequest, FoldingRangeParams, FoldingRangeRegistrationOptions } from './protocol.foldingRange';
|
|
9
|
+
import { FoldingRangeClientCapabilities, FoldingRangeOptions, FoldingRangeRequest, FoldingRangeParams, FoldingRangeRegistrationOptions, FoldingRangeRefreshRequest, FoldingRangeWorkspaceClientCapabilities } from './protocol.foldingRange';
|
|
10
10
|
import { DeclarationClientCapabilities, DeclarationRequest, DeclarationOptions, DeclarationRegistrationOptions, DeclarationParams } from './protocol.declaration';
|
|
11
11
|
import { SelectionRangeClientCapabilities, SelectionRangeOptions, SelectionRangeRequest, SelectionRangeParams, SelectionRangeRegistrationOptions } from './protocol.selectionRange';
|
|
12
12
|
import { WorkDoneProgressBegin, WorkDoneProgressReport, WorkDoneProgressEnd, WorkDoneProgress, WorkDoneProgressCreateParams, WorkDoneProgressCreateRequest, WorkDoneProgressCancelParams, WorkDoneProgressCancelNotification } from './protocol.progress';
|
|
@@ -40,26 +40,26 @@ import { InlineCompletionClientCapabilities, InlineCompletionOptions, InlineComp
|
|
|
40
40
|
*
|
|
41
41
|
* @since 3.17.0
|
|
42
42
|
*/
|
|
43
|
-
export
|
|
43
|
+
export type TextDocumentFilter = {
|
|
44
44
|
/** A language id, like `typescript`. */
|
|
45
45
|
language: string;
|
|
46
46
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
47
47
|
scheme?: string;
|
|
48
|
-
/** A glob pattern, like
|
|
48
|
+
/** A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples. */
|
|
49
49
|
pattern?: string;
|
|
50
50
|
} | {
|
|
51
51
|
/** A language id, like `typescript`. */
|
|
52
52
|
language?: string;
|
|
53
53
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
54
54
|
scheme: string;
|
|
55
|
-
/** A glob pattern, like
|
|
55
|
+
/** A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples. */
|
|
56
56
|
pattern?: string;
|
|
57
57
|
} | {
|
|
58
58
|
/** A language id, like `typescript`. */
|
|
59
59
|
language?: string;
|
|
60
60
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
61
61
|
scheme?: string;
|
|
62
|
-
/** A glob pattern, like
|
|
62
|
+
/** A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples. */
|
|
63
63
|
pattern: string;
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
@@ -78,7 +78,7 @@ export declare namespace TextDocumentFilter {
|
|
|
78
78
|
*
|
|
79
79
|
* @since 3.17.0
|
|
80
80
|
*/
|
|
81
|
-
export
|
|
81
|
+
export type NotebookDocumentFilter = {
|
|
82
82
|
/** The type of the enclosing notebook. */
|
|
83
83
|
notebookType: string;
|
|
84
84
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
@@ -115,7 +115,7 @@ export declare namespace NotebookDocumentFilter {
|
|
|
115
115
|
*
|
|
116
116
|
* @since 3.17.0
|
|
117
117
|
*/
|
|
118
|
-
export
|
|
118
|
+
export type NotebookCellTextDocumentFilter = {
|
|
119
119
|
/**
|
|
120
120
|
* A filter that matches against the notebook
|
|
121
121
|
* containing the notebook cell. If a string
|
|
@@ -146,7 +146,7 @@ export declare namespace NotebookCellTextDocumentFilter {
|
|
|
146
146
|
*
|
|
147
147
|
* @since 3.17.0 - proposed support for NotebookCellTextDocumentFilter.
|
|
148
148
|
*/
|
|
149
|
-
export
|
|
149
|
+
export type DocumentFilter = TextDocumentFilter | NotebookCellTextDocumentFilter;
|
|
150
150
|
/**
|
|
151
151
|
* A document selector is the combination of one or many document filters.
|
|
152
152
|
*
|
|
@@ -154,7 +154,7 @@ export declare type DocumentFilter = TextDocumentFilter | NotebookCellTextDocume
|
|
|
154
154
|
*
|
|
155
155
|
* The use of a string as a document filter is deprecated @since 3.16.0.
|
|
156
156
|
*/
|
|
157
|
-
export
|
|
157
|
+
export type DocumentSelector = (string | DocumentFilter)[];
|
|
158
158
|
/**
|
|
159
159
|
* The DocumentSelector namespace provides helper functions to work with
|
|
160
160
|
* {@link DocumentSelector}s.
|
|
@@ -250,7 +250,7 @@ export interface TextDocumentPositionParams {
|
|
|
250
250
|
/**
|
|
251
251
|
* The kind of resource operations supported by the client.
|
|
252
252
|
*/
|
|
253
|
-
export
|
|
253
|
+
export type ResourceOperationKind = 'create' | 'rename' | 'delete';
|
|
254
254
|
export declare namespace ResourceOperationKind {
|
|
255
255
|
/**
|
|
256
256
|
* Supports creating new files and folders.
|
|
@@ -265,7 +265,7 @@ export declare namespace ResourceOperationKind {
|
|
|
265
265
|
*/
|
|
266
266
|
const Delete: ResourceOperationKind;
|
|
267
267
|
}
|
|
268
|
-
export
|
|
268
|
+
export type FailureHandlingKind = 'abort' | 'transactional' | 'undo' | 'textOnlyTransactional';
|
|
269
269
|
export declare namespace FailureHandlingKind {
|
|
270
270
|
/**
|
|
271
271
|
* Applying the workspace change is simply aborted if one of the changes provided
|
|
@@ -372,6 +372,13 @@ export interface WorkspaceClientCapabilities {
|
|
|
372
372
|
* @since 3.17.0.
|
|
373
373
|
*/
|
|
374
374
|
diagnostics?: DiagnosticWorkspaceClientCapabilities;
|
|
375
|
+
/**
|
|
376
|
+
* Capabilities specific to the folding range requests scoped to the workspace.
|
|
377
|
+
*
|
|
378
|
+
* @since 3.18.0
|
|
379
|
+
* @proposed
|
|
380
|
+
*/
|
|
381
|
+
foldingRange?: FoldingRangeWorkspaceClientCapabilities;
|
|
375
382
|
}
|
|
376
383
|
/**
|
|
377
384
|
* Text document specific client capabilities.
|
|
@@ -629,7 +636,7 @@ export declare namespace PositionEncodingKind {
|
|
|
629
636
|
*
|
|
630
637
|
* @since 3.17.0
|
|
631
638
|
*/
|
|
632
|
-
export
|
|
639
|
+
export type PositionEncodingKind = string;
|
|
633
640
|
/**
|
|
634
641
|
* General client capabilities.
|
|
635
642
|
*
|
|
@@ -1071,7 +1078,7 @@ export interface _InitializeParams extends WorkDoneProgressParams {
|
|
|
1071
1078
|
*/
|
|
1072
1079
|
trace?: TraceValues;
|
|
1073
1080
|
}
|
|
1074
|
-
export
|
|
1081
|
+
export type InitializeParams = _InitializeParams & WorkspaceFoldersInitializeParams;
|
|
1075
1082
|
/**
|
|
1076
1083
|
* The result returned from an initialize request.
|
|
1077
1084
|
*/
|
|
@@ -1112,7 +1119,7 @@ export declare namespace InitializeErrorCodes {
|
|
|
1112
1119
|
*/
|
|
1113
1120
|
const unknownProtocolVersion: 1;
|
|
1114
1121
|
}
|
|
1115
|
-
export
|
|
1122
|
+
export type InitializeErrorCodes = 1;
|
|
1116
1123
|
/**
|
|
1117
1124
|
* The data type of the ResponseError if the
|
|
1118
1125
|
* initialize request fails.
|
|
@@ -1206,8 +1213,14 @@ export declare namespace MessageType {
|
|
|
1206
1213
|
* A log message.
|
|
1207
1214
|
*/
|
|
1208
1215
|
const Log = 4;
|
|
1216
|
+
/**
|
|
1217
|
+
* A debug message.
|
|
1218
|
+
*
|
|
1219
|
+
* @since 3.18.0
|
|
1220
|
+
*/
|
|
1221
|
+
const Debug = 5;
|
|
1209
1222
|
}
|
|
1210
|
-
export
|
|
1223
|
+
export type MessageType = 1 | 2 | 3 | 4 | 5;
|
|
1211
1224
|
/**
|
|
1212
1225
|
* The parameters of a notification message.
|
|
1213
1226
|
*/
|
|
@@ -1353,7 +1366,7 @@ export declare namespace TextDocumentSyncKind {
|
|
|
1353
1366
|
*/
|
|
1354
1367
|
const Incremental = 2;
|
|
1355
1368
|
}
|
|
1356
|
-
export
|
|
1369
|
+
export type TextDocumentSyncKind = 0 | 1 | 2;
|
|
1357
1370
|
export interface TextDocumentSyncOptions {
|
|
1358
1371
|
/**
|
|
1359
1372
|
* Open and close notifications are sent to the server. If omitted open close notification should not
|
|
@@ -1409,7 +1422,7 @@ export declare namespace DidOpenTextDocumentNotification {
|
|
|
1409
1422
|
* An event describing a change to a text document. If only a text is provided
|
|
1410
1423
|
* it is considered to be the full content of the document.
|
|
1411
1424
|
*/
|
|
1412
|
-
export
|
|
1425
|
+
export type TextDocumentContentChangeEvent = {
|
|
1413
1426
|
/**
|
|
1414
1427
|
* The range of the document that changed.
|
|
1415
1428
|
*/
|
|
@@ -1558,7 +1571,7 @@ export declare namespace TextDocumentSaveReason {
|
|
|
1558
1571
|
*/
|
|
1559
1572
|
const FocusOut: 3;
|
|
1560
1573
|
}
|
|
1561
|
-
export
|
|
1574
|
+
export type TextDocumentSaveReason = 1 | 2 | 3;
|
|
1562
1575
|
/**
|
|
1563
1576
|
* The parameters sent in a will save text document notification.
|
|
1564
1577
|
*/
|
|
@@ -1644,7 +1657,7 @@ export declare namespace FileChangeType {
|
|
|
1644
1657
|
*/
|
|
1645
1658
|
const Deleted = 3;
|
|
1646
1659
|
}
|
|
1647
|
-
export
|
|
1660
|
+
export type FileChangeType = 1 | 2 | 3;
|
|
1648
1661
|
/**
|
|
1649
1662
|
* An event describing a file change.
|
|
1650
1663
|
*/
|
|
@@ -1678,7 +1691,7 @@ export interface DidChangeWatchedFilesRegistrationOptions {
|
|
|
1678
1691
|
*
|
|
1679
1692
|
* @since 3.17.0
|
|
1680
1693
|
*/
|
|
1681
|
-
export
|
|
1694
|
+
export type Pattern = string;
|
|
1682
1695
|
/**
|
|
1683
1696
|
* A relative pattern is a helper to construct glob patterns that are matched
|
|
1684
1697
|
* relatively to a base URI. The common value for a `baseUri` is a workspace
|
|
@@ -1705,7 +1718,7 @@ export declare namespace RelativePattern {
|
|
|
1705
1718
|
*
|
|
1706
1719
|
* @since 3.17.0
|
|
1707
1720
|
*/
|
|
1708
|
-
export
|
|
1721
|
+
export type GlobPattern = Pattern | RelativePattern;
|
|
1709
1722
|
export interface FileSystemWatcher {
|
|
1710
1723
|
/**
|
|
1711
1724
|
* The glob pattern to watch. See {@link GlobPattern glob pattern} for more detail.
|
|
@@ -1734,7 +1747,7 @@ export declare namespace WatchKind {
|
|
|
1734
1747
|
*/
|
|
1735
1748
|
const Delete: 4;
|
|
1736
1749
|
}
|
|
1737
|
-
export
|
|
1750
|
+
export type WatchKind = uinteger;
|
|
1738
1751
|
/**
|
|
1739
1752
|
* The publish diagnostic client capabilities.
|
|
1740
1753
|
*/
|
|
@@ -1961,7 +1974,7 @@ export declare namespace CompletionTriggerKind {
|
|
|
1961
1974
|
*/
|
|
1962
1975
|
const TriggerForIncompleteCompletions: 3;
|
|
1963
1976
|
}
|
|
1964
|
-
export
|
|
1977
|
+
export type CompletionTriggerKind = 1 | 2 | 3;
|
|
1965
1978
|
/**
|
|
1966
1979
|
* Contains additional information about the context in which a completion request is triggered.
|
|
1967
1980
|
*/
|
|
@@ -2186,7 +2199,7 @@ export declare namespace SignatureHelpTriggerKind {
|
|
|
2186
2199
|
*/
|
|
2187
2200
|
const ContentChange: 3;
|
|
2188
2201
|
}
|
|
2189
|
-
export
|
|
2202
|
+
export type SignatureHelpTriggerKind = 1 | 2 | 3;
|
|
2190
2203
|
/**
|
|
2191
2204
|
* Additional information about the context in which a signature help request was triggered.
|
|
2192
2205
|
*
|
|
@@ -2272,10 +2285,9 @@ export interface DefinitionRegistrationOptions extends TextDocumentRegistrationO
|
|
|
2272
2285
|
}
|
|
2273
2286
|
/**
|
|
2274
2287
|
* A request to resolve the definition location of a symbol at a given text
|
|
2275
|
-
* document position. The request's parameter is of type
|
|
2276
|
-
*
|
|
2277
|
-
*
|
|
2278
|
-
* to such.
|
|
2288
|
+
* document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
2289
|
+
* the response is of either type {@link Definition} or a typed array of
|
|
2290
|
+
* {@link DefinitionLink} or a Thenable that resolves to such.
|
|
2279
2291
|
*/
|
|
2280
2292
|
export declare namespace DefinitionRequest {
|
|
2281
2293
|
const method: 'textDocument/definition';
|
|
@@ -2344,9 +2356,9 @@ export interface DocumentHighlightRegistrationOptions extends TextDocumentRegist
|
|
|
2344
2356
|
}
|
|
2345
2357
|
/**
|
|
2346
2358
|
* Request to resolve a {@link DocumentHighlight} for a given
|
|
2347
|
-
* text document position. The request's parameter is of type
|
|
2348
|
-
*
|
|
2349
|
-
*
|
|
2359
|
+
* text document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
2360
|
+
* the request response is an array of type {@link DocumentHighlight}
|
|
2361
|
+
* or a Thenable that resolves to such.
|
|
2350
2362
|
*/
|
|
2351
2363
|
export declare namespace DocumentHighlightRequest {
|
|
2352
2364
|
const method: 'textDocument/documentHighlight';
|
|
@@ -3003,7 +3015,7 @@ export declare namespace PrepareSupportDefaultBehavior {
|
|
|
3003
3015
|
*/
|
|
3004
3016
|
const Identifier: 1;
|
|
3005
3017
|
}
|
|
3006
|
-
export
|
|
3018
|
+
export type PrepareSupportDefaultBehavior = 1;
|
|
3007
3019
|
export interface RenameClientCapabilities {
|
|
3008
3020
|
/**
|
|
3009
3021
|
* Whether rename supports dynamic registration.
|
|
@@ -3081,7 +3093,7 @@ export declare namespace RenameRequest {
|
|
|
3081
3093
|
}
|
|
3082
3094
|
export interface PrepareRenameParams extends TextDocumentPositionParams, WorkDoneProgressParams {
|
|
3083
3095
|
}
|
|
3084
|
-
export
|
|
3096
|
+
export type PrepareRenameResult = Range | {
|
|
3085
3097
|
range: Range;
|
|
3086
3098
|
placeholder: string;
|
|
3087
3099
|
} | {
|
|
@@ -3227,7 +3239,7 @@ export interface ApplyWorkspaceEditResult {
|
|
|
3227
3239
|
/**
|
|
3228
3240
|
* @deprecated Use ApplyWorkspaceEditResult instead.
|
|
3229
3241
|
*/
|
|
3230
|
-
export
|
|
3242
|
+
export type ApplyWorkspaceEditResponse = ApplyWorkspaceEditResult;
|
|
3231
3243
|
/**
|
|
3232
3244
|
* A request sent from the server to the client to modified certain resources.
|
|
3233
3245
|
*/
|
|
@@ -3236,5 +3248,5 @@ export declare namespace ApplyWorkspaceEditRequest {
|
|
|
3236
3248
|
const messageDirection: MessageDirection;
|
|
3237
3249
|
const type: ProtocolRequestType<ApplyWorkspaceEditParams, ApplyWorkspaceEditResult, never, void, void>;
|
|
3238
3250
|
}
|
|
3239
|
-
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, 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 };
|
|
3251
|
+
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 };
|
|
3240
3252
|
export { DocumentColorOptions as ColorProviderOptions, DocumentColorOptions as ColorOptions, FoldingRangeOptions as FoldingRangeProviderOptions, SelectionRangeOptions as SelectionRangeProviderOptions, DocumentColorRegistrationOptions as ColorRegistrationOptions };
|
|
@@ -25,10 +25,9 @@ export interface DeclarationParams extends TextDocumentPositionParams, WorkDoneP
|
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* A request to resolve the type definition locations of a symbol at a given text
|
|
28
|
-
* document position. The request's parameter is of type
|
|
29
|
-
*
|
|
30
|
-
* or a
|
|
31
|
-
* to such.
|
|
28
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
29
|
+
* the response is of type {@link Declaration} or a typed array of {@link DeclarationLink}
|
|
30
|
+
* or a Thenable that resolves to such.
|
|
32
31
|
*/
|
|
33
32
|
export declare namespace DeclarationRequest {
|
|
34
33
|
const method: 'textDocument/declaration';
|
|
@@ -10,14 +10,13 @@ const messages_1 = require("./messages");
|
|
|
10
10
|
let __noDynamicImport;
|
|
11
11
|
/**
|
|
12
12
|
* A request to resolve the type definition locations of a symbol at a given text
|
|
13
|
-
* document position. The request's parameter is of type
|
|
14
|
-
*
|
|
15
|
-
* or a
|
|
16
|
-
* to such.
|
|
13
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
14
|
+
* the response is of type {@link Declaration} or a typed array of {@link DeclarationLink}
|
|
15
|
+
* or a Thenable that resolves to such.
|
|
17
16
|
*/
|
|
18
17
|
var DeclarationRequest;
|
|
19
18
|
(function (DeclarationRequest) {
|
|
20
19
|
DeclarationRequest.method = 'textDocument/declaration';
|
|
21
20
|
DeclarationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
22
21
|
DeclarationRequest.type = new messages_1.ProtocolRequestType(DeclarationRequest.method);
|
|
23
|
-
})(DeclarationRequest
|
|
22
|
+
})(DeclarationRequest || (exports.DeclarationRequest = DeclarationRequest = {}));
|
|
@@ -7,7 +7,7 @@ import type { PartialResultParams, StaticRegistrationOptions, WorkDoneProgressPa
|
|
|
7
7
|
*
|
|
8
8
|
* @since 3.17.0
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type DiagnosticClientCapabilities = {
|
|
11
11
|
/**
|
|
12
12
|
* Whether implementation supports dynamic registration. If this is set to `true`
|
|
13
13
|
* the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)`
|
|
@@ -24,7 +24,7 @@ export declare type DiagnosticClientCapabilities = {
|
|
|
24
24
|
*
|
|
25
25
|
* @since 3.17.0
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type DiagnosticWorkspaceClientCapabilities = {
|
|
28
28
|
/**
|
|
29
29
|
* Whether the client implementation supports a refresh request sent from
|
|
30
30
|
* the server to the client.
|
|
@@ -41,7 +41,7 @@ export declare type DiagnosticWorkspaceClientCapabilities = {
|
|
|
41
41
|
*
|
|
42
42
|
* @since 3.17.0
|
|
43
43
|
*/
|
|
44
|
-
export
|
|
44
|
+
export type DiagnosticOptions = WorkDoneProgressOptions & {
|
|
45
45
|
/**
|
|
46
46
|
* An optional identifier under which the diagnostics are
|
|
47
47
|
* managed by the client.
|
|
@@ -64,8 +64,8 @@ export declare type DiagnosticOptions = WorkDoneProgressOptions & {
|
|
|
64
64
|
*
|
|
65
65
|
* @since 3.17.0
|
|
66
66
|
*/
|
|
67
|
-
export
|
|
68
|
-
export
|
|
67
|
+
export type DiagnosticRegistrationOptions = TextDocumentRegistrationOptions & DiagnosticOptions & StaticRegistrationOptions;
|
|
68
|
+
export type $DiagnosticServerCapabilities = {
|
|
69
69
|
diagnosticProvider?: DiagnosticOptions;
|
|
70
70
|
};
|
|
71
71
|
/**
|
|
@@ -73,7 +73,7 @@ export declare type $DiagnosticServerCapabilities = {
|
|
|
73
73
|
*
|
|
74
74
|
* @since 3.17.0
|
|
75
75
|
*/
|
|
76
|
-
export
|
|
76
|
+
export type DiagnosticServerCancellationData = {
|
|
77
77
|
retriggerRequest: boolean;
|
|
78
78
|
};
|
|
79
79
|
/**
|
|
@@ -87,7 +87,7 @@ export declare namespace DiagnosticServerCancellationData {
|
|
|
87
87
|
*
|
|
88
88
|
* @since 3.17.0
|
|
89
89
|
*/
|
|
90
|
-
export
|
|
90
|
+
export type DocumentDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {
|
|
91
91
|
/**
|
|
92
92
|
* The text document.
|
|
93
93
|
*/
|
|
@@ -118,13 +118,13 @@ export declare namespace DocumentDiagnosticReportKind {
|
|
|
118
118
|
*/
|
|
119
119
|
const Unchanged = "unchanged";
|
|
120
120
|
}
|
|
121
|
-
export
|
|
121
|
+
export type DocumentDiagnosticReportKind = 'full' | 'unchanged';
|
|
122
122
|
/**
|
|
123
123
|
* A diagnostic report with a full set of problems.
|
|
124
124
|
*
|
|
125
125
|
* @since 3.17.0
|
|
126
126
|
*/
|
|
127
|
-
export
|
|
127
|
+
export type FullDocumentDiagnosticReport = {
|
|
128
128
|
/**
|
|
129
129
|
* A full document diagnostic report.
|
|
130
130
|
*/
|
|
@@ -145,7 +145,7 @@ export declare type FullDocumentDiagnosticReport = {
|
|
|
145
145
|
*
|
|
146
146
|
* @since 3.17.0
|
|
147
147
|
*/
|
|
148
|
-
export
|
|
148
|
+
export type RelatedFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {
|
|
149
149
|
/**
|
|
150
150
|
* Diagnostics of related documents. This information is useful
|
|
151
151
|
* in programming languages where code in a file A can generate
|
|
@@ -165,7 +165,7 @@ export declare type RelatedFullDocumentDiagnosticReport = FullDocumentDiagnostic
|
|
|
165
165
|
*
|
|
166
166
|
* @since 3.17.0
|
|
167
167
|
*/
|
|
168
|
-
export
|
|
168
|
+
export type UnchangedDocumentDiagnosticReport = {
|
|
169
169
|
/**
|
|
170
170
|
* A document diagnostic report indicating
|
|
171
171
|
* no changes to the last result. A server can
|
|
@@ -184,7 +184,7 @@ export declare type UnchangedDocumentDiagnosticReport = {
|
|
|
184
184
|
*
|
|
185
185
|
* @since 3.17.0
|
|
186
186
|
*/
|
|
187
|
-
export
|
|
187
|
+
export type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {
|
|
188
188
|
/**
|
|
189
189
|
* Diagnostics of related documents. This information is useful
|
|
190
190
|
* in programming languages where code in a file A can generate
|
|
@@ -207,13 +207,13 @@ export declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocument
|
|
|
207
207
|
*
|
|
208
208
|
* @since 3.17.0
|
|
209
209
|
*/
|
|
210
|
-
export
|
|
210
|
+
export type DocumentDiagnosticReport = RelatedFullDocumentDiagnosticReport | RelatedUnchangedDocumentDiagnosticReport;
|
|
211
211
|
/**
|
|
212
212
|
* A partial result for a document diagnostic report.
|
|
213
213
|
*
|
|
214
214
|
* @since 3.17.0
|
|
215
215
|
*/
|
|
216
|
-
export
|
|
216
|
+
export type DocumentDiagnosticReportPartialResult = {
|
|
217
217
|
relatedDocuments: {
|
|
218
218
|
[uri: DocumentUri]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
|
|
219
219
|
};
|
|
@@ -235,7 +235,7 @@ export declare namespace DocumentDiagnosticRequest {
|
|
|
235
235
|
*
|
|
236
236
|
* @since 3.17.0
|
|
237
237
|
*/
|
|
238
|
-
export
|
|
238
|
+
export type PreviousResultId = {
|
|
239
239
|
/**
|
|
240
240
|
* The URI for which the client knowns a
|
|
241
241
|
* result id.
|
|
@@ -251,7 +251,7 @@ export declare type PreviousResultId = {
|
|
|
251
251
|
*
|
|
252
252
|
* @since 3.17.0
|
|
253
253
|
*/
|
|
254
|
-
export
|
|
254
|
+
export type WorkspaceDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {
|
|
255
255
|
/**
|
|
256
256
|
* The additional identifier provided during registration.
|
|
257
257
|
*/
|
|
@@ -267,7 +267,7 @@ export declare type WorkspaceDiagnosticParams = WorkDoneProgressParams & Partial
|
|
|
267
267
|
*
|
|
268
268
|
* @since 3.17.0
|
|
269
269
|
*/
|
|
270
|
-
export
|
|
270
|
+
export type WorkspaceFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {
|
|
271
271
|
/**
|
|
272
272
|
* The URI for which diagnostic information is reported.
|
|
273
273
|
*/
|
|
@@ -283,7 +283,7 @@ export declare type WorkspaceFullDocumentDiagnosticReport = FullDocumentDiagnost
|
|
|
283
283
|
*
|
|
284
284
|
* @since 3.17.0
|
|
285
285
|
*/
|
|
286
|
-
export
|
|
286
|
+
export type WorkspaceUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {
|
|
287
287
|
/**
|
|
288
288
|
* The URI for which diagnostic information is reported.
|
|
289
289
|
*/
|
|
@@ -299,13 +299,13 @@ export declare type WorkspaceUnchangedDocumentDiagnosticReport = UnchangedDocume
|
|
|
299
299
|
*
|
|
300
300
|
* @since 3.17.0
|
|
301
301
|
*/
|
|
302
|
-
export
|
|
302
|
+
export type WorkspaceDocumentDiagnosticReport = WorkspaceFullDocumentDiagnosticReport | WorkspaceUnchangedDocumentDiagnosticReport;
|
|
303
303
|
/**
|
|
304
304
|
* A workspace diagnostic report.
|
|
305
305
|
*
|
|
306
306
|
* @since 3.17.0
|
|
307
307
|
*/
|
|
308
|
-
export
|
|
308
|
+
export type WorkspaceDiagnosticReport = {
|
|
309
309
|
items: WorkspaceDocumentDiagnosticReport[];
|
|
310
310
|
};
|
|
311
311
|
/**
|
|
@@ -313,7 +313,7 @@ export declare type WorkspaceDiagnosticReport = {
|
|
|
313
313
|
*
|
|
314
314
|
* @since 3.17.0
|
|
315
315
|
*/
|
|
316
|
-
export
|
|
316
|
+
export type WorkspaceDiagnosticReportPartialResult = {
|
|
317
317
|
items: WorkspaceDocumentDiagnosticReport[];
|
|
318
318
|
};
|
|
319
319
|
/**
|
|
@@ -18,7 +18,7 @@ var DiagnosticServerCancellationData;
|
|
|
18
18
|
return candidate && Is.boolean(candidate.retriggerRequest);
|
|
19
19
|
}
|
|
20
20
|
DiagnosticServerCancellationData.is = is;
|
|
21
|
-
})(DiagnosticServerCancellationData
|
|
21
|
+
})(DiagnosticServerCancellationData || (exports.DiagnosticServerCancellationData = DiagnosticServerCancellationData = {}));
|
|
22
22
|
/**
|
|
23
23
|
* The document diagnostic report kinds.
|
|
24
24
|
*
|
|
@@ -36,7 +36,7 @@ var DocumentDiagnosticReportKind;
|
|
|
36
36
|
* returned report is still accurate.
|
|
37
37
|
*/
|
|
38
38
|
DocumentDiagnosticReportKind.Unchanged = 'unchanged';
|
|
39
|
-
})(DocumentDiagnosticReportKind
|
|
39
|
+
})(DocumentDiagnosticReportKind || (exports.DocumentDiagnosticReportKind = DocumentDiagnosticReportKind = {}));
|
|
40
40
|
/**
|
|
41
41
|
* The document diagnostic request definition.
|
|
42
42
|
*
|
|
@@ -48,7 +48,7 @@ var DocumentDiagnosticRequest;
|
|
|
48
48
|
DocumentDiagnosticRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
49
49
|
DocumentDiagnosticRequest.type = new messages_1.ProtocolRequestType(DocumentDiagnosticRequest.method);
|
|
50
50
|
DocumentDiagnosticRequest.partialResult = new vscode_jsonrpc_1.ProgressType();
|
|
51
|
-
})(DocumentDiagnosticRequest
|
|
51
|
+
})(DocumentDiagnosticRequest || (exports.DocumentDiagnosticRequest = DocumentDiagnosticRequest = {}));
|
|
52
52
|
/**
|
|
53
53
|
* The workspace diagnostic request definition.
|
|
54
54
|
*
|
|
@@ -60,7 +60,7 @@ var WorkspaceDiagnosticRequest;
|
|
|
60
60
|
WorkspaceDiagnosticRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
61
61
|
WorkspaceDiagnosticRequest.type = new messages_1.ProtocolRequestType(WorkspaceDiagnosticRequest.method);
|
|
62
62
|
WorkspaceDiagnosticRequest.partialResult = new vscode_jsonrpc_1.ProgressType();
|
|
63
|
-
})(WorkspaceDiagnosticRequest
|
|
63
|
+
})(WorkspaceDiagnosticRequest || (exports.WorkspaceDiagnosticRequest = WorkspaceDiagnosticRequest = {}));
|
|
64
64
|
/**
|
|
65
65
|
* The diagnostic refresh request definition.
|
|
66
66
|
*
|
|
@@ -71,4 +71,4 @@ var DiagnosticRefreshRequest;
|
|
|
71
71
|
DiagnosticRefreshRequest.method = `workspace/diagnostic/refresh`;
|
|
72
72
|
DiagnosticRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
73
73
|
DiagnosticRefreshRequest.type = new messages_1.ProtocolRequestType0(DiagnosticRefreshRequest.method);
|
|
74
|
-
})(DiagnosticRefreshRequest
|
|
74
|
+
})(DiagnosticRefreshRequest || (exports.DiagnosticRefreshRequest = DiagnosticRefreshRequest = {}));
|
|
@@ -59,7 +59,7 @@ export declare namespace FileOperationPatternKind {
|
|
|
59
59
|
*/
|
|
60
60
|
const folder: 'folder';
|
|
61
61
|
}
|
|
62
|
-
export
|
|
62
|
+
export type FileOperationPatternKind = 'file' | 'folder';
|
|
63
63
|
/**
|
|
64
64
|
* Matching options for the file operation pattern.
|
|
65
65
|
*
|