vscode-languageserver-protocol 3.17.4-next.2 → 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.
Files changed (39) hide show
  1. package/lib/common/api.d.ts +1 -1
  2. package/lib/common/api.js +1 -1
  3. package/lib/common/messages.js +1 -1
  4. package/lib/common/protocol.callHierarchy.js +3 -3
  5. package/lib/common/protocol.colorProvider.js +2 -2
  6. package/lib/common/protocol.configuration.js +1 -1
  7. package/lib/common/protocol.d.ts +32 -33
  8. package/lib/common/protocol.declaration.d.ts +3 -4
  9. package/lib/common/protocol.declaration.js +4 -5
  10. package/lib/common/protocol.diagnostic.d.ts +21 -21
  11. package/lib/common/protocol.diagnostic.js +5 -5
  12. package/lib/common/protocol.fileOperations.d.ts +1 -1
  13. package/lib/common/protocol.fileOperations.js +7 -7
  14. package/lib/common/protocol.foldingRange.js +1 -1
  15. package/lib/common/protocol.implementation.d.ts +2 -3
  16. package/lib/common/protocol.implementation.js +3 -4
  17. package/lib/common/protocol.inlayHint.d.ts +5 -5
  18. package/lib/common/protocol.inlayHint.js +3 -3
  19. package/lib/common/protocol.inlineCompletion.d.ts +4 -4
  20. package/lib/common/protocol.inlineCompletion.js +1 -1
  21. package/lib/common/protocol.inlineValue.d.ts +5 -5
  22. package/lib/common/protocol.inlineValue.js +2 -2
  23. package/lib/common/protocol.js +71 -72
  24. package/lib/common/protocol.linkedEditingRange.js +1 -1
  25. package/lib/common/protocol.moniker.d.ts +2 -2
  26. package/lib/common/protocol.moniker.js +3 -3
  27. package/lib/common/protocol.notebook.d.ts +15 -15
  28. package/lib/common/protocol.notebook.js +10 -10
  29. package/lib/common/protocol.progress.js +3 -3
  30. package/lib/common/protocol.selectionRange.js +1 -1
  31. package/lib/common/protocol.semanticTokens.d.ts +1 -1
  32. package/lib/common/protocol.semanticTokens.js +6 -6
  33. package/lib/common/protocol.showDocument.js +1 -1
  34. package/lib/common/protocol.typeDefinition.d.ts +2 -3
  35. package/lib/common/protocol.typeDefinition.js +3 -4
  36. package/lib/common/protocol.typeHierarchy.d.ts +6 -6
  37. package/lib/common/protocol.typeHierarchy.js +3 -3
  38. package/lib/common/protocol.workspaceFolder.js +2 -2
  39. package/package.json +5 -5
@@ -53,6 +53,6 @@ export declare namespace LSPErrorCodes {
53
53
  */
54
54
  const lspReservedErrorRangeEnd: integer;
55
55
  }
56
- export declare type LSPErrorCodes = integer;
56
+ export type LSPErrorCodes = integer;
57
57
  export declare namespace Proposed {
58
58
  }
package/lib/common/api.js CHANGED
@@ -74,4 +74,4 @@ var LSPErrorCodes;
74
74
  * @since 3.16.0
75
75
  */
76
76
  LSPErrorCodes.lspReservedErrorRangeEnd = -32800;
77
- })(LSPErrorCodes = exports.LSPErrorCodes || (exports.LSPErrorCodes = {}));
77
+ })(LSPErrorCodes || (exports.LSPErrorCodes = LSPErrorCodes = {}));
@@ -11,7 +11,7 @@ var MessageDirection;
11
11
  MessageDirection["clientToServer"] = "clientToServer";
12
12
  MessageDirection["serverToClient"] = "serverToClient";
13
13
  MessageDirection["both"] = "both";
14
- })(MessageDirection = exports.MessageDirection || (exports.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 = exports.CallHierarchyPrepareRequest || (exports.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 = exports.CallHierarchyIncomingCallsRequest || (exports.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 = exports.CallHierarchyOutgoingCallsRequest || (exports.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 = exports.DocumentColorRequest || (exports.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 = exports.ColorPresentationRequest || (exports.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 = exports.ConfigurationRequest || (exports.ConfigurationRequest = {}));
24
+ })(ConfigurationRequest || (exports.ConfigurationRequest = ConfigurationRequest = {}));
@@ -40,26 +40,26 @@ import { InlineCompletionClientCapabilities, InlineCompletionOptions, InlineComp
40
40
  *
41
41
  * @since 3.17.0
42
42
  */
43
- export declare type TextDocumentFilter = {
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 `*.{ts,js}`. */
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 `*.{ts,js}`. */
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 `*.{ts,js}`. */
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 declare type NotebookDocumentFilter = {
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 declare type NotebookCellTextDocumentFilter = {
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 declare type DocumentFilter = TextDocumentFilter | NotebookCellTextDocumentFilter;
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 declare type DocumentSelector = (string | DocumentFilter)[];
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 declare type ResourceOperationKind = 'create' | 'rename' | 'delete';
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 declare type FailureHandlingKind = 'abort' | 'transactional' | 'undo' | 'textOnlyTransactional';
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
@@ -629,7 +629,7 @@ export declare namespace PositionEncodingKind {
629
629
  *
630
630
  * @since 3.17.0
631
631
  */
632
- export declare type PositionEncodingKind = string;
632
+ export type PositionEncodingKind = string;
633
633
  /**
634
634
  * General client capabilities.
635
635
  *
@@ -1071,7 +1071,7 @@ export interface _InitializeParams extends WorkDoneProgressParams {
1071
1071
  */
1072
1072
  trace?: TraceValues;
1073
1073
  }
1074
- export declare type InitializeParams = _InitializeParams & WorkspaceFoldersInitializeParams;
1074
+ export type InitializeParams = _InitializeParams & WorkspaceFoldersInitializeParams;
1075
1075
  /**
1076
1076
  * The result returned from an initialize request.
1077
1077
  */
@@ -1112,7 +1112,7 @@ export declare namespace InitializeErrorCodes {
1112
1112
  */
1113
1113
  const unknownProtocolVersion: 1;
1114
1114
  }
1115
- export declare type InitializeErrorCodes = 1;
1115
+ export type InitializeErrorCodes = 1;
1116
1116
  /**
1117
1117
  * The data type of the ResponseError if the
1118
1118
  * initialize request fails.
@@ -1207,7 +1207,7 @@ export declare namespace MessageType {
1207
1207
  */
1208
1208
  const Log = 4;
1209
1209
  }
1210
- export declare type MessageType = 1 | 2 | 3 | 4;
1210
+ export type MessageType = 1 | 2 | 3 | 4;
1211
1211
  /**
1212
1212
  * The parameters of a notification message.
1213
1213
  */
@@ -1353,7 +1353,7 @@ export declare namespace TextDocumentSyncKind {
1353
1353
  */
1354
1354
  const Incremental = 2;
1355
1355
  }
1356
- export declare type TextDocumentSyncKind = 0 | 1 | 2;
1356
+ export type TextDocumentSyncKind = 0 | 1 | 2;
1357
1357
  export interface TextDocumentSyncOptions {
1358
1358
  /**
1359
1359
  * Open and close notifications are sent to the server. If omitted open close notification should not
@@ -1409,7 +1409,7 @@ export declare namespace DidOpenTextDocumentNotification {
1409
1409
  * An event describing a change to a text document. If only a text is provided
1410
1410
  * it is considered to be the full content of the document.
1411
1411
  */
1412
- export declare type TextDocumentContentChangeEvent = {
1412
+ export type TextDocumentContentChangeEvent = {
1413
1413
  /**
1414
1414
  * The range of the document that changed.
1415
1415
  */
@@ -1558,7 +1558,7 @@ export declare namespace TextDocumentSaveReason {
1558
1558
  */
1559
1559
  const FocusOut: 3;
1560
1560
  }
1561
- export declare type TextDocumentSaveReason = 1 | 2 | 3;
1561
+ export type TextDocumentSaveReason = 1 | 2 | 3;
1562
1562
  /**
1563
1563
  * The parameters sent in a will save text document notification.
1564
1564
  */
@@ -1644,7 +1644,7 @@ export declare namespace FileChangeType {
1644
1644
  */
1645
1645
  const Deleted = 3;
1646
1646
  }
1647
- export declare type FileChangeType = 1 | 2 | 3;
1647
+ export type FileChangeType = 1 | 2 | 3;
1648
1648
  /**
1649
1649
  * An event describing a file change.
1650
1650
  */
@@ -1678,7 +1678,7 @@ export interface DidChangeWatchedFilesRegistrationOptions {
1678
1678
  *
1679
1679
  * @since 3.17.0
1680
1680
  */
1681
- export declare type Pattern = string;
1681
+ export type Pattern = string;
1682
1682
  /**
1683
1683
  * A relative pattern is a helper to construct glob patterns that are matched
1684
1684
  * relatively to a base URI. The common value for a `baseUri` is a workspace
@@ -1705,7 +1705,7 @@ export declare namespace RelativePattern {
1705
1705
  *
1706
1706
  * @since 3.17.0
1707
1707
  */
1708
- export declare type GlobPattern = Pattern | RelativePattern;
1708
+ export type GlobPattern = Pattern | RelativePattern;
1709
1709
  export interface FileSystemWatcher {
1710
1710
  /**
1711
1711
  * The glob pattern to watch. See {@link GlobPattern glob pattern} for more detail.
@@ -1734,7 +1734,7 @@ export declare namespace WatchKind {
1734
1734
  */
1735
1735
  const Delete: 4;
1736
1736
  }
1737
- export declare type WatchKind = uinteger;
1737
+ export type WatchKind = uinteger;
1738
1738
  /**
1739
1739
  * The publish diagnostic client capabilities.
1740
1740
  */
@@ -1961,7 +1961,7 @@ export declare namespace CompletionTriggerKind {
1961
1961
  */
1962
1962
  const TriggerForIncompleteCompletions: 3;
1963
1963
  }
1964
- export declare type CompletionTriggerKind = 1 | 2 | 3;
1964
+ export type CompletionTriggerKind = 1 | 2 | 3;
1965
1965
  /**
1966
1966
  * Contains additional information about the context in which a completion request is triggered.
1967
1967
  */
@@ -2186,7 +2186,7 @@ export declare namespace SignatureHelpTriggerKind {
2186
2186
  */
2187
2187
  const ContentChange: 3;
2188
2188
  }
2189
- export declare type SignatureHelpTriggerKind = 1 | 2 | 3;
2189
+ export type SignatureHelpTriggerKind = 1 | 2 | 3;
2190
2190
  /**
2191
2191
  * Additional information about the context in which a signature help request was triggered.
2192
2192
  *
@@ -2272,10 +2272,9 @@ export interface DefinitionRegistrationOptions extends TextDocumentRegistrationO
2272
2272
  }
2273
2273
  /**
2274
2274
  * A request to resolve the definition location of a symbol at a given text
2275
- * document position. The request's parameter is of type [TextDocumentPosition]
2276
- * (#TextDocumentPosition) the response is of either type {@link Definition}
2277
- * or a typed array of {@link DefinitionLink} or a Thenable that resolves
2278
- * 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.
2279
2278
  */
2280
2279
  export declare namespace DefinitionRequest {
2281
2280
  const method: 'textDocument/definition';
@@ -2344,9 +2343,9 @@ export interface DocumentHighlightRegistrationOptions extends TextDocumentRegist
2344
2343
  }
2345
2344
  /**
2346
2345
  * Request to resolve a {@link DocumentHighlight} for a given
2347
- * text document position. The request's parameter is of type [TextDocumentPosition]
2348
- * (#TextDocumentPosition) the request response is of type [DocumentHighlight[]]
2349
- * (#DocumentHighlight) or a Thenable that resolves to such.
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.
2350
2349
  */
2351
2350
  export declare namespace DocumentHighlightRequest {
2352
2351
  const method: 'textDocument/documentHighlight';
@@ -3003,7 +3002,7 @@ export declare namespace PrepareSupportDefaultBehavior {
3003
3002
  */
3004
3003
  const Identifier: 1;
3005
3004
  }
3006
- export declare type PrepareSupportDefaultBehavior = 1;
3005
+ export type PrepareSupportDefaultBehavior = 1;
3007
3006
  export interface RenameClientCapabilities {
3008
3007
  /**
3009
3008
  * Whether rename supports dynamic registration.
@@ -3081,7 +3080,7 @@ export declare namespace RenameRequest {
3081
3080
  }
3082
3081
  export interface PrepareRenameParams extends TextDocumentPositionParams, WorkDoneProgressParams {
3083
3082
  }
3084
- export declare type PrepareRenameResult = Range | {
3083
+ export type PrepareRenameResult = Range | {
3085
3084
  range: Range;
3086
3085
  placeholder: string;
3087
3086
  } | {
@@ -3227,7 +3226,7 @@ export interface ApplyWorkspaceEditResult {
3227
3226
  /**
3228
3227
  * @deprecated Use ApplyWorkspaceEditResult instead.
3229
3228
  */
3230
- export declare type ApplyWorkspaceEditResponse = ApplyWorkspaceEditResult;
3229
+ export type ApplyWorkspaceEditResponse = ApplyWorkspaceEditResult;
3231
3230
  /**
3232
3231
  * A request sent from the server to the client to modified certain resources.
3233
3232
  */
@@ -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 [TextDocumentPositionParams]
29
- * (#TextDocumentPositionParams) the response is of type {@link Declaration}
30
- * or a typed array of {@link DeclarationLink} or a Thenable that resolves
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 [TextDocumentPositionParams]
14
- * (#TextDocumentPositionParams) the response is of type {@link Declaration}
15
- * or a typed array of {@link DeclarationLink} or a Thenable that resolves
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 = exports.DeclarationRequest || (exports.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 declare type DiagnosticClientCapabilities = {
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 declare type DiagnosticWorkspaceClientCapabilities = {
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 declare type DiagnosticOptions = WorkDoneProgressOptions & {
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 declare type DiagnosticRegistrationOptions = TextDocumentRegistrationOptions & DiagnosticOptions & StaticRegistrationOptions;
68
- export declare type $DiagnosticServerCapabilities = {
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 declare type DiagnosticServerCancellationData = {
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 declare type DocumentDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {
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 declare type DocumentDiagnosticReportKind = 'full' | 'unchanged';
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 declare type FullDocumentDiagnosticReport = {
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 declare type RelatedFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {
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 declare type UnchangedDocumentDiagnosticReport = {
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 declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {
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 declare type DocumentDiagnosticReport = RelatedFullDocumentDiagnosticReport | RelatedUnchangedDocumentDiagnosticReport;
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 declare type DocumentDiagnosticReportPartialResult = {
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 declare type PreviousResultId = {
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 declare type WorkspaceDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {
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 declare type WorkspaceFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {
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 declare type WorkspaceUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {
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 declare type WorkspaceDocumentDiagnosticReport = WorkspaceFullDocumentDiagnosticReport | WorkspaceUnchangedDocumentDiagnosticReport;
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 declare type WorkspaceDiagnosticReport = {
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 declare type WorkspaceDiagnosticReportPartialResult = {
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 = exports.DiagnosticServerCancellationData || (exports.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 = exports.DocumentDiagnosticReportKind || (exports.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 = exports.DocumentDiagnosticRequest || (exports.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 = exports.WorkspaceDiagnosticRequest || (exports.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 = exports.DiagnosticRefreshRequest || (exports.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 declare type FileOperationPatternKind = 'file' | 'folder';
62
+ export type FileOperationPatternKind = 'file' | 'folder';
63
63
  /**
64
64
  * Matching options for the file operation pattern.
65
65
  *
@@ -22,7 +22,7 @@ var FileOperationPatternKind;
22
22
  * The pattern matches a folder only.
23
23
  */
24
24
  FileOperationPatternKind.folder = 'folder';
25
- })(FileOperationPatternKind = exports.FileOperationPatternKind || (exports.FileOperationPatternKind = {}));
25
+ })(FileOperationPatternKind || (exports.FileOperationPatternKind = FileOperationPatternKind = {}));
26
26
  /**
27
27
  * The will create files request is sent from the client to the server before files are actually
28
28
  * created as long as the creation is triggered from within the client.
@@ -38,7 +38,7 @@ var WillCreateFilesRequest;
38
38
  WillCreateFilesRequest.method = 'workspace/willCreateFiles';
39
39
  WillCreateFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
40
40
  WillCreateFilesRequest.type = new messages_1.ProtocolRequestType(WillCreateFilesRequest.method);
41
- })(WillCreateFilesRequest = exports.WillCreateFilesRequest || (exports.WillCreateFilesRequest = {}));
41
+ })(WillCreateFilesRequest || (exports.WillCreateFilesRequest = WillCreateFilesRequest = {}));
42
42
  /**
43
43
  * The did create files notification is sent from the client to the server when
44
44
  * files were created from within the client.
@@ -50,7 +50,7 @@ var DidCreateFilesNotification;
50
50
  DidCreateFilesNotification.method = 'workspace/didCreateFiles';
51
51
  DidCreateFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
52
52
  DidCreateFilesNotification.type = new messages_1.ProtocolNotificationType(DidCreateFilesNotification.method);
53
- })(DidCreateFilesNotification = exports.DidCreateFilesNotification || (exports.DidCreateFilesNotification = {}));
53
+ })(DidCreateFilesNotification || (exports.DidCreateFilesNotification = DidCreateFilesNotification = {}));
54
54
  /**
55
55
  * The will rename files request is sent from the client to the server before files are actually
56
56
  * renamed as long as the rename is triggered from within the client.
@@ -62,7 +62,7 @@ var WillRenameFilesRequest;
62
62
  WillRenameFilesRequest.method = 'workspace/willRenameFiles';
63
63
  WillRenameFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
64
64
  WillRenameFilesRequest.type = new messages_1.ProtocolRequestType(WillRenameFilesRequest.method);
65
- })(WillRenameFilesRequest = exports.WillRenameFilesRequest || (exports.WillRenameFilesRequest = {}));
65
+ })(WillRenameFilesRequest || (exports.WillRenameFilesRequest = WillRenameFilesRequest = {}));
66
66
  /**
67
67
  * The did rename files notification is sent from the client to the server when
68
68
  * files were renamed from within the client.
@@ -74,7 +74,7 @@ var DidRenameFilesNotification;
74
74
  DidRenameFilesNotification.method = 'workspace/didRenameFiles';
75
75
  DidRenameFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
76
76
  DidRenameFilesNotification.type = new messages_1.ProtocolNotificationType(DidRenameFilesNotification.method);
77
- })(DidRenameFilesNotification = exports.DidRenameFilesNotification || (exports.DidRenameFilesNotification = {}));
77
+ })(DidRenameFilesNotification || (exports.DidRenameFilesNotification = DidRenameFilesNotification = {}));
78
78
  /**
79
79
  * The will delete files request is sent from the client to the server before files are actually
80
80
  * deleted as long as the deletion is triggered from within the client.
@@ -86,7 +86,7 @@ var DidDeleteFilesNotification;
86
86
  DidDeleteFilesNotification.method = 'workspace/didDeleteFiles';
87
87
  DidDeleteFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
88
88
  DidDeleteFilesNotification.type = new messages_1.ProtocolNotificationType(DidDeleteFilesNotification.method);
89
- })(DidDeleteFilesNotification = exports.DidDeleteFilesNotification || (exports.DidDeleteFilesNotification = {}));
89
+ })(DidDeleteFilesNotification || (exports.DidDeleteFilesNotification = DidDeleteFilesNotification = {}));
90
90
  /**
91
91
  * The did delete files notification is sent from the client to the server when
92
92
  * files were deleted from within the client.
@@ -98,4 +98,4 @@ var WillDeleteFilesRequest;
98
98
  WillDeleteFilesRequest.method = 'workspace/willDeleteFiles';
99
99
  WillDeleteFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
100
100
  WillDeleteFilesRequest.type = new messages_1.ProtocolRequestType(WillDeleteFilesRequest.method);
101
- })(WillDeleteFilesRequest = exports.WillDeleteFilesRequest || (exports.WillDeleteFilesRequest = {}));
101
+ })(WillDeleteFilesRequest || (exports.WillDeleteFilesRequest = WillDeleteFilesRequest = {}));
@@ -17,4 +17,4 @@ var FoldingRangeRequest;
17
17
  FoldingRangeRequest.method = 'textDocument/foldingRange';
18
18
  FoldingRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
19
19
  FoldingRangeRequest.type = new messages_1.ProtocolRequestType(FoldingRangeRequest.method);
20
- })(FoldingRangeRequest = exports.FoldingRangeRequest || (exports.FoldingRangeRequest = {}));
20
+ })(FoldingRangeRequest || (exports.FoldingRangeRequest = FoldingRangeRequest = {}));
@@ -27,9 +27,8 @@ export interface ImplementationParams extends TextDocumentPositionParams, WorkDo
27
27
  }
28
28
  /**
29
29
  * A request to resolve the implementation locations of a symbol at a given text
30
- * document position. The request's parameter is of type [TextDocumentPositionParams]
31
- * (#TextDocumentPositionParams) the response is of type {@link Definition} or a
32
- * Thenable that resolves to such.
30
+ * document position. The request's parameter is of type {@link TextDocumentPositionParams}
31
+ * the response is of type {@link Definition} or a Thenable that resolves to such.
33
32
  */
34
33
  export declare namespace ImplementationRequest {
35
34
  const method: 'textDocument/implementation';