vscode-languageserver-protocol 3.17.4-next.1 → 3.17.4-next.3
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 +93 -34
- 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.js +1 -1
- 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 +57 -0
- package/lib/common/protocol.inlineCompletion.js +22 -0
- package/lib/common/protocol.inlineValue.d.ts +5 -5
- package/lib/common/protocol.inlineValue.js +2 -2
- package/lib/common/protocol.js +86 -73
- 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
|
@@ -21,6 +21,7 @@ import { InlineValueClientCapabilities, InlineValueOptions, InlineValueRegistrat
|
|
|
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
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';
|
|
24
|
+
import { InlineCompletionClientCapabilities, InlineCompletionOptions, InlineCompletionParams, InlineCompletionRegistrationOptions, InlineCompletionRequest } from './protocol.inlineCompletion';
|
|
24
25
|
/**
|
|
25
26
|
* A document filter denotes a document by different properties like
|
|
26
27
|
* the {@link TextDocument.languageId language}, the {@link Uri.scheme scheme} of
|
|
@@ -39,26 +40,26 @@ import { NotebookDocumentSyncClientCapabilities, NotebookCellKind, ExecutionSumm
|
|
|
39
40
|
*
|
|
40
41
|
* @since 3.17.0
|
|
41
42
|
*/
|
|
42
|
-
export
|
|
43
|
+
export type TextDocumentFilter = {
|
|
43
44
|
/** A language id, like `typescript`. */
|
|
44
45
|
language: string;
|
|
45
46
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
46
47
|
scheme?: string;
|
|
47
|
-
/** A glob pattern, like
|
|
48
|
+
/** A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples. */
|
|
48
49
|
pattern?: string;
|
|
49
50
|
} | {
|
|
50
51
|
/** A language id, like `typescript`. */
|
|
51
52
|
language?: string;
|
|
52
53
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
53
54
|
scheme: string;
|
|
54
|
-
/** A glob pattern, like
|
|
55
|
+
/** A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples. */
|
|
55
56
|
pattern?: string;
|
|
56
57
|
} | {
|
|
57
58
|
/** A language id, like `typescript`. */
|
|
58
59
|
language?: string;
|
|
59
60
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
60
61
|
scheme?: string;
|
|
61
|
-
/** A glob pattern, like
|
|
62
|
+
/** A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples. */
|
|
62
63
|
pattern: string;
|
|
63
64
|
};
|
|
64
65
|
/**
|
|
@@ -77,7 +78,7 @@ export declare namespace TextDocumentFilter {
|
|
|
77
78
|
*
|
|
78
79
|
* @since 3.17.0
|
|
79
80
|
*/
|
|
80
|
-
export
|
|
81
|
+
export type NotebookDocumentFilter = {
|
|
81
82
|
/** The type of the enclosing notebook. */
|
|
82
83
|
notebookType: string;
|
|
83
84
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
@@ -114,7 +115,7 @@ export declare namespace NotebookDocumentFilter {
|
|
|
114
115
|
*
|
|
115
116
|
* @since 3.17.0
|
|
116
117
|
*/
|
|
117
|
-
export
|
|
118
|
+
export type NotebookCellTextDocumentFilter = {
|
|
118
119
|
/**
|
|
119
120
|
* A filter that matches against the notebook
|
|
120
121
|
* containing the notebook cell. If a string
|
|
@@ -145,7 +146,7 @@ export declare namespace NotebookCellTextDocumentFilter {
|
|
|
145
146
|
*
|
|
146
147
|
* @since 3.17.0 - proposed support for NotebookCellTextDocumentFilter.
|
|
147
148
|
*/
|
|
148
|
-
export
|
|
149
|
+
export type DocumentFilter = TextDocumentFilter | NotebookCellTextDocumentFilter;
|
|
149
150
|
/**
|
|
150
151
|
* A document selector is the combination of one or many document filters.
|
|
151
152
|
*
|
|
@@ -153,7 +154,7 @@ export declare type DocumentFilter = TextDocumentFilter | NotebookCellTextDocume
|
|
|
153
154
|
*
|
|
154
155
|
* The use of a string as a document filter is deprecated @since 3.16.0.
|
|
155
156
|
*/
|
|
156
|
-
export
|
|
157
|
+
export type DocumentSelector = (string | DocumentFilter)[];
|
|
157
158
|
/**
|
|
158
159
|
* The DocumentSelector namespace provides helper functions to work with
|
|
159
160
|
* {@link DocumentSelector}s.
|
|
@@ -249,7 +250,7 @@ export interface TextDocumentPositionParams {
|
|
|
249
250
|
/**
|
|
250
251
|
* The kind of resource operations supported by the client.
|
|
251
252
|
*/
|
|
252
|
-
export
|
|
253
|
+
export type ResourceOperationKind = 'create' | 'rename' | 'delete';
|
|
253
254
|
export declare namespace ResourceOperationKind {
|
|
254
255
|
/**
|
|
255
256
|
* Supports creating new files and folders.
|
|
@@ -264,7 +265,7 @@ export declare namespace ResourceOperationKind {
|
|
|
264
265
|
*/
|
|
265
266
|
const Delete: ResourceOperationKind;
|
|
266
267
|
}
|
|
267
|
-
export
|
|
268
|
+
export type FailureHandlingKind = 'abort' | 'transactional' | 'undo' | 'textOnlyTransactional';
|
|
268
269
|
export declare namespace FailureHandlingKind {
|
|
269
270
|
/**
|
|
270
271
|
* Applying the workspace change is simply aborted if one of the changes provided
|
|
@@ -525,6 +526,13 @@ export interface TextDocumentClientCapabilities {
|
|
|
525
526
|
* @since 3.17.0
|
|
526
527
|
*/
|
|
527
528
|
diagnostic?: DiagnosticClientCapabilities;
|
|
529
|
+
/**
|
|
530
|
+
* Client capabilities specific to inline completions.
|
|
531
|
+
*
|
|
532
|
+
* @since 3.18.0
|
|
533
|
+
* @proposed
|
|
534
|
+
*/
|
|
535
|
+
inlineCompletion?: InlineCompletionClientCapabilities;
|
|
528
536
|
}
|
|
529
537
|
export interface WindowClientCapabilities {
|
|
530
538
|
/**
|
|
@@ -621,7 +629,7 @@ export declare namespace PositionEncodingKind {
|
|
|
621
629
|
*
|
|
622
630
|
* @since 3.17.0
|
|
623
631
|
*/
|
|
624
|
-
export
|
|
632
|
+
export type PositionEncodingKind = string;
|
|
625
633
|
/**
|
|
626
634
|
* General client capabilities.
|
|
627
635
|
*
|
|
@@ -956,6 +964,13 @@ export interface ServerCapabilities<T = LSPAny> {
|
|
|
956
964
|
* @since 3.17.0
|
|
957
965
|
*/
|
|
958
966
|
diagnosticProvider?: DiagnosticOptions | DiagnosticRegistrationOptions;
|
|
967
|
+
/**
|
|
968
|
+
* Inline completion options used during static registration.
|
|
969
|
+
*
|
|
970
|
+
* @since 3.18.0
|
|
971
|
+
* @proposed
|
|
972
|
+
*/
|
|
973
|
+
inlineCompletionProvider?: boolean | InlineCompletionOptions;
|
|
959
974
|
/**
|
|
960
975
|
* Workspace specific server capabilities.
|
|
961
976
|
*/
|
|
@@ -1056,7 +1071,7 @@ export interface _InitializeParams extends WorkDoneProgressParams {
|
|
|
1056
1071
|
*/
|
|
1057
1072
|
trace?: TraceValues;
|
|
1058
1073
|
}
|
|
1059
|
-
export
|
|
1074
|
+
export type InitializeParams = _InitializeParams & WorkspaceFoldersInitializeParams;
|
|
1060
1075
|
/**
|
|
1061
1076
|
* The result returned from an initialize request.
|
|
1062
1077
|
*/
|
|
@@ -1097,7 +1112,7 @@ export declare namespace InitializeErrorCodes {
|
|
|
1097
1112
|
*/
|
|
1098
1113
|
const unknownProtocolVersion: 1;
|
|
1099
1114
|
}
|
|
1100
|
-
export
|
|
1115
|
+
export type InitializeErrorCodes = 1;
|
|
1101
1116
|
/**
|
|
1102
1117
|
* The data type of the ResponseError if the
|
|
1103
1118
|
* initialize request fails.
|
|
@@ -1192,7 +1207,7 @@ export declare namespace MessageType {
|
|
|
1192
1207
|
*/
|
|
1193
1208
|
const Log = 4;
|
|
1194
1209
|
}
|
|
1195
|
-
export
|
|
1210
|
+
export type MessageType = 1 | 2 | 3 | 4;
|
|
1196
1211
|
/**
|
|
1197
1212
|
* The parameters of a notification message.
|
|
1198
1213
|
*/
|
|
@@ -1338,7 +1353,7 @@ export declare namespace TextDocumentSyncKind {
|
|
|
1338
1353
|
*/
|
|
1339
1354
|
const Incremental = 2;
|
|
1340
1355
|
}
|
|
1341
|
-
export
|
|
1356
|
+
export type TextDocumentSyncKind = 0 | 1 | 2;
|
|
1342
1357
|
export interface TextDocumentSyncOptions {
|
|
1343
1358
|
/**
|
|
1344
1359
|
* Open and close notifications are sent to the server. If omitted open close notification should not
|
|
@@ -1394,7 +1409,7 @@ export declare namespace DidOpenTextDocumentNotification {
|
|
|
1394
1409
|
* An event describing a change to a text document. If only a text is provided
|
|
1395
1410
|
* it is considered to be the full content of the document.
|
|
1396
1411
|
*/
|
|
1397
|
-
export
|
|
1412
|
+
export type TextDocumentContentChangeEvent = {
|
|
1398
1413
|
/**
|
|
1399
1414
|
* The range of the document that changed.
|
|
1400
1415
|
*/
|
|
@@ -1543,7 +1558,7 @@ export declare namespace TextDocumentSaveReason {
|
|
|
1543
1558
|
*/
|
|
1544
1559
|
const FocusOut: 3;
|
|
1545
1560
|
}
|
|
1546
|
-
export
|
|
1561
|
+
export type TextDocumentSaveReason = 1 | 2 | 3;
|
|
1547
1562
|
/**
|
|
1548
1563
|
* The parameters sent in a will save text document notification.
|
|
1549
1564
|
*/
|
|
@@ -1629,7 +1644,7 @@ export declare namespace FileChangeType {
|
|
|
1629
1644
|
*/
|
|
1630
1645
|
const Deleted = 3;
|
|
1631
1646
|
}
|
|
1632
|
-
export
|
|
1647
|
+
export type FileChangeType = 1 | 2 | 3;
|
|
1633
1648
|
/**
|
|
1634
1649
|
* An event describing a file change.
|
|
1635
1650
|
*/
|
|
@@ -1663,7 +1678,7 @@ export interface DidChangeWatchedFilesRegistrationOptions {
|
|
|
1663
1678
|
*
|
|
1664
1679
|
* @since 3.17.0
|
|
1665
1680
|
*/
|
|
1666
|
-
export
|
|
1681
|
+
export type Pattern = string;
|
|
1667
1682
|
/**
|
|
1668
1683
|
* A relative pattern is a helper to construct glob patterns that are matched
|
|
1669
1684
|
* relatively to a base URI. The common value for a `baseUri` is a workspace
|
|
@@ -1690,7 +1705,7 @@ export declare namespace RelativePattern {
|
|
|
1690
1705
|
*
|
|
1691
1706
|
* @since 3.17.0
|
|
1692
1707
|
*/
|
|
1693
|
-
export
|
|
1708
|
+
export type GlobPattern = Pattern | RelativePattern;
|
|
1694
1709
|
export interface FileSystemWatcher {
|
|
1695
1710
|
/**
|
|
1696
1711
|
* The glob pattern to watch. See {@link GlobPattern glob pattern} for more detail.
|
|
@@ -1719,7 +1734,7 @@ export declare namespace WatchKind {
|
|
|
1719
1734
|
*/
|
|
1720
1735
|
const Delete: 4;
|
|
1721
1736
|
}
|
|
1722
|
-
export
|
|
1737
|
+
export type WatchKind = uinteger;
|
|
1723
1738
|
/**
|
|
1724
1739
|
* The publish diagnostic client capabilities.
|
|
1725
1740
|
*/
|
|
@@ -1946,7 +1961,7 @@ export declare namespace CompletionTriggerKind {
|
|
|
1946
1961
|
*/
|
|
1947
1962
|
const TriggerForIncompleteCompletions: 3;
|
|
1948
1963
|
}
|
|
1949
|
-
export
|
|
1964
|
+
export type CompletionTriggerKind = 1 | 2 | 3;
|
|
1950
1965
|
/**
|
|
1951
1966
|
* Contains additional information about the context in which a completion request is triggered.
|
|
1952
1967
|
*/
|
|
@@ -2171,7 +2186,7 @@ export declare namespace SignatureHelpTriggerKind {
|
|
|
2171
2186
|
*/
|
|
2172
2187
|
const ContentChange: 3;
|
|
2173
2188
|
}
|
|
2174
|
-
export
|
|
2189
|
+
export type SignatureHelpTriggerKind = 1 | 2 | 3;
|
|
2175
2190
|
/**
|
|
2176
2191
|
* Additional information about the context in which a signature help request was triggered.
|
|
2177
2192
|
*
|
|
@@ -2257,10 +2272,9 @@ export interface DefinitionRegistrationOptions extends TextDocumentRegistrationO
|
|
|
2257
2272
|
}
|
|
2258
2273
|
/**
|
|
2259
2274
|
* A request to resolve the definition location of a symbol at a given text
|
|
2260
|
-
* document position. The request's parameter is of type
|
|
2261
|
-
*
|
|
2262
|
-
*
|
|
2263
|
-
* to such.
|
|
2275
|
+
* document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
2276
|
+
* the response is of either type {@link Definition} or a typed array of
|
|
2277
|
+
* {@link DefinitionLink} or a Thenable that resolves to such.
|
|
2264
2278
|
*/
|
|
2265
2279
|
export declare namespace DefinitionRequest {
|
|
2266
2280
|
const method: 'textDocument/definition';
|
|
@@ -2329,9 +2343,9 @@ export interface DocumentHighlightRegistrationOptions extends TextDocumentRegist
|
|
|
2329
2343
|
}
|
|
2330
2344
|
/**
|
|
2331
2345
|
* Request to resolve a {@link DocumentHighlight} for a given
|
|
2332
|
-
* text document position. The request's parameter is of type
|
|
2333
|
-
*
|
|
2334
|
-
*
|
|
2346
|
+
* text document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
2347
|
+
* the request response is an array of type {@link DocumentHighlight}
|
|
2348
|
+
* or a Thenable that resolves to such.
|
|
2335
2349
|
*/
|
|
2336
2350
|
export declare namespace DocumentHighlightRequest {
|
|
2337
2351
|
const method: 'textDocument/documentHighlight';
|
|
@@ -2839,6 +2853,13 @@ export interface DocumentRangeFormattingClientCapabilities {
|
|
|
2839
2853
|
* Whether range formatting supports dynamic registration.
|
|
2840
2854
|
*/
|
|
2841
2855
|
dynamicRegistration?: boolean;
|
|
2856
|
+
/**
|
|
2857
|
+
* Whether the client supports formatting multiple ranges at once.
|
|
2858
|
+
*
|
|
2859
|
+
* @since 3.18.0
|
|
2860
|
+
* @proposed
|
|
2861
|
+
*/
|
|
2862
|
+
rangesSupport?: boolean;
|
|
2842
2863
|
}
|
|
2843
2864
|
/**
|
|
2844
2865
|
* The parameters of a {@link DocumentRangeFormattingRequest}.
|
|
@@ -2857,10 +2878,37 @@ export interface DocumentRangeFormattingParams extends WorkDoneProgressParams {
|
|
|
2857
2878
|
*/
|
|
2858
2879
|
options: FormattingOptions;
|
|
2859
2880
|
}
|
|
2881
|
+
/**
|
|
2882
|
+
* The parameters of a {@link DocumentRangesFormattingRequest}.
|
|
2883
|
+
*
|
|
2884
|
+
* @since 3.18.0
|
|
2885
|
+
* @proposed
|
|
2886
|
+
*/
|
|
2887
|
+
export interface DocumentRangesFormattingParams extends WorkDoneProgressParams {
|
|
2888
|
+
/**
|
|
2889
|
+
* The document to format.
|
|
2890
|
+
*/
|
|
2891
|
+
textDocument: TextDocumentIdentifier;
|
|
2892
|
+
/**
|
|
2893
|
+
* The ranges to format
|
|
2894
|
+
*/
|
|
2895
|
+
ranges: Range[];
|
|
2896
|
+
/**
|
|
2897
|
+
* The format options
|
|
2898
|
+
*/
|
|
2899
|
+
options: FormattingOptions;
|
|
2900
|
+
}
|
|
2860
2901
|
/**
|
|
2861
2902
|
* Provider options for a {@link DocumentRangeFormattingRequest}.
|
|
2862
2903
|
*/
|
|
2863
2904
|
export interface DocumentRangeFormattingOptions extends WorkDoneProgressOptions {
|
|
2905
|
+
/**
|
|
2906
|
+
* Whether the server supports formatting multiple ranges at once.
|
|
2907
|
+
*
|
|
2908
|
+
* @since 3.18.0
|
|
2909
|
+
* @proposed
|
|
2910
|
+
*/
|
|
2911
|
+
rangesSupport?: boolean;
|
|
2864
2912
|
}
|
|
2865
2913
|
/**
|
|
2866
2914
|
* Registration options for a {@link DocumentRangeFormattingRequest}.
|
|
@@ -2875,6 +2923,17 @@ export declare namespace DocumentRangeFormattingRequest {
|
|
|
2875
2923
|
const messageDirection: MessageDirection;
|
|
2876
2924
|
const type: ProtocolRequestType<DocumentRangeFormattingParams, TextEdit[] | null, never, void, DocumentRangeFormattingRegistrationOptions>;
|
|
2877
2925
|
}
|
|
2926
|
+
/**
|
|
2927
|
+
* A request to format ranges in a document.
|
|
2928
|
+
*
|
|
2929
|
+
* @since 3.18.0
|
|
2930
|
+
* @proposed
|
|
2931
|
+
*/
|
|
2932
|
+
export declare namespace DocumentRangesFormattingRequest {
|
|
2933
|
+
const method: 'textDocument/rangesFormatting';
|
|
2934
|
+
const messageDirection: MessageDirection;
|
|
2935
|
+
const type: ProtocolRequestType<DocumentRangesFormattingParams, TextEdit[] | null, never, void, DocumentRangeFormattingRegistrationOptions>;
|
|
2936
|
+
}
|
|
2878
2937
|
/**
|
|
2879
2938
|
* Client capabilities of a {@link DocumentOnTypeFormattingRequest}.
|
|
2880
2939
|
*/
|
|
@@ -2943,7 +3002,7 @@ export declare namespace PrepareSupportDefaultBehavior {
|
|
|
2943
3002
|
*/
|
|
2944
3003
|
const Identifier: 1;
|
|
2945
3004
|
}
|
|
2946
|
-
export
|
|
3005
|
+
export type PrepareSupportDefaultBehavior = 1;
|
|
2947
3006
|
export interface RenameClientCapabilities {
|
|
2948
3007
|
/**
|
|
2949
3008
|
* Whether rename supports dynamic registration.
|
|
@@ -3021,7 +3080,7 @@ export declare namespace RenameRequest {
|
|
|
3021
3080
|
}
|
|
3022
3081
|
export interface PrepareRenameParams extends TextDocumentPositionParams, WorkDoneProgressParams {
|
|
3023
3082
|
}
|
|
3024
|
-
export
|
|
3083
|
+
export type PrepareRenameResult = Range | {
|
|
3025
3084
|
range: Range;
|
|
3026
3085
|
placeholder: string;
|
|
3027
3086
|
} | {
|
|
@@ -3167,7 +3226,7 @@ export interface ApplyWorkspaceEditResult {
|
|
|
3167
3226
|
/**
|
|
3168
3227
|
* @deprecated Use ApplyWorkspaceEditResult instead.
|
|
3169
3228
|
*/
|
|
3170
|
-
export
|
|
3229
|
+
export type ApplyWorkspaceEditResponse = ApplyWorkspaceEditResult;
|
|
3171
3230
|
/**
|
|
3172
3231
|
* A request sent from the server to the client to modified certain resources.
|
|
3173
3232
|
*/
|
|
@@ -3176,5 +3235,5 @@ export declare namespace ApplyWorkspaceEditRequest {
|
|
|
3176
3235
|
const messageDirection: MessageDirection;
|
|
3177
3236
|
const type: ProtocolRequestType<ApplyWorkspaceEditParams, ApplyWorkspaceEditResult, never, void, void>;
|
|
3178
3237
|
}
|
|
3179
|
-
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 };
|
|
3238
|
+
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 };
|
|
3180
3239
|
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
|
/**
|