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.
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 +93 -34
  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 +57 -0
  20. package/lib/common/protocol.inlineCompletion.js +22 -0
  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 +86 -73
  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
@@ -33,7 +33,7 @@ var UniquenessLevel;
33
33
  * The moniker is globally unique
34
34
  */
35
35
  UniquenessLevel.global = 'global';
36
- })(UniquenessLevel = exports.UniquenessLevel || (exports.UniquenessLevel = {}));
36
+ })(UniquenessLevel || (exports.UniquenessLevel = UniquenessLevel = {}));
37
37
  /**
38
38
  * The moniker kind.
39
39
  *
@@ -54,7 +54,7 @@ var MonikerKind;
54
54
  * variable of a function, a class not visible outside the project, ...)
55
55
  */
56
56
  MonikerKind.local = 'local';
57
- })(MonikerKind = exports.MonikerKind || (exports.MonikerKind = {}));
57
+ })(MonikerKind || (exports.MonikerKind = MonikerKind = {}));
58
58
  /**
59
59
  * A request to get the moniker of a symbol at a given text document position.
60
60
  * The request parameter is of type {@link TextDocumentPositionParams}.
@@ -65,4 +65,4 @@ var MonikerRequest;
65
65
  MonikerRequest.method = 'textDocument/moniker';
66
66
  MonikerRequest.messageDirection = messages_1.MessageDirection.clientToServer;
67
67
  MonikerRequest.type = new messages_1.ProtocolRequestType(MonikerRequest.method);
68
- })(MonikerRequest = exports.MonikerRequest || (exports.MonikerRequest = {}));
68
+ })(MonikerRequest || (exports.MonikerRequest = MonikerRequest = {}));
@@ -6,7 +6,7 @@ import type { StaticRegistrationOptions, NotebookDocumentFilter, TextDocumentCon
6
6
  *
7
7
  * @since 3.17.0
8
8
  */
9
- export declare type NotebookDocumentSyncClientCapabilities = {
9
+ export type NotebookDocumentSyncClientCapabilities = {
10
10
  /**
11
11
  * Whether implementation supports dynamic registration. If this is
12
12
  * set to `true` the client supports the new
@@ -35,8 +35,8 @@ export declare namespace NotebookCellKind {
35
35
  const Code: 2;
36
36
  function is(value: any): value is NotebookCellKind;
37
37
  }
38
- export declare type NotebookCellKind = 1 | 2;
39
- export declare type ExecutionSummary = {
38
+ export type NotebookCellKind = 1 | 2;
39
+ export type ExecutionSummary = {
40
40
  /**
41
41
  * A strict monotonically increasing value
42
42
  * indicating the execution order of a cell
@@ -63,7 +63,7 @@ export declare namespace ExecutionSummary {
63
63
  *
64
64
  * @since 3.17.0
65
65
  */
66
- export declare type NotebookCell = {
66
+ export type NotebookCell = {
67
67
  /**
68
68
  * The cell's kind
69
69
  */
@@ -95,7 +95,7 @@ export declare namespace NotebookCell {
95
95
  *
96
96
  * @since 3.17.0
97
97
  */
98
- export declare type NotebookDocument = {
98
+ export type NotebookDocument = {
99
99
  /**
100
100
  * The notebook document's uri.
101
101
  */
@@ -130,7 +130,7 @@ export declare namespace NotebookDocument {
130
130
  *
131
131
  * @since 3.17.0
132
132
  */
133
- export declare type NotebookDocumentIdentifier = {
133
+ export type NotebookDocumentIdentifier = {
134
134
  /**
135
135
  * The notebook document's uri.
136
136
  */
@@ -141,7 +141,7 @@ export declare type NotebookDocumentIdentifier = {
141
141
  *
142
142
  * @since 3.17.0
143
143
  */
144
- export declare type VersionedNotebookDocumentIdentifier = {
144
+ export type VersionedNotebookDocumentIdentifier = {
145
145
  /**
146
146
  * The version number of this notebook document.
147
147
  */
@@ -166,7 +166,7 @@ export declare type VersionedNotebookDocumentIdentifier = {
166
166
  *
167
167
  * @since 3.17.0
168
168
  */
169
- export declare type NotebookDocumentSyncOptions = {
169
+ export type NotebookDocumentSyncOptions = {
170
170
  /**
171
171
  * The notebooks to be synced
172
172
  */
@@ -208,7 +208,7 @@ export declare type NotebookDocumentSyncOptions = {
208
208
  *
209
209
  * @since 3.17.0
210
210
  */
211
- export declare type NotebookDocumentSyncRegistrationOptions = NotebookDocumentSyncOptions & StaticRegistrationOptions;
211
+ export type NotebookDocumentSyncRegistrationOptions = NotebookDocumentSyncOptions & StaticRegistrationOptions;
212
212
  export declare namespace NotebookDocumentSyncRegistrationType {
213
213
  const method: 'notebookDocument/sync';
214
214
  const messageDirection: MessageDirection;
@@ -219,7 +219,7 @@ export declare namespace NotebookDocumentSyncRegistrationType {
219
219
  *
220
220
  * @since 3.17.0
221
221
  */
222
- export declare type DidOpenNotebookDocumentParams = {
222
+ export type DidOpenNotebookDocumentParams = {
223
223
  /**
224
224
  * The notebook document that got opened.
225
225
  */
@@ -247,7 +247,7 @@ export declare namespace DidOpenNotebookDocumentNotification {
247
247
  *
248
248
  * @since 3.17.0
249
249
  */
250
- export declare type NotebookCellArrayChange = {
250
+ export type NotebookCellArrayChange = {
251
251
  /**
252
252
  * The start oftest of the cell that changed.
253
253
  */
@@ -270,7 +270,7 @@ export declare namespace NotebookCellArrayChange {
270
270
  *
271
271
  * @since 3.17.0
272
272
  */
273
- export declare type NotebookDocumentChangeEvent = {
273
+ export type NotebookDocumentChangeEvent = {
274
274
  /**
275
275
  * The changed meta data if any.
276
276
  *
@@ -318,7 +318,7 @@ export declare type NotebookDocumentChangeEvent = {
318
318
  *
319
319
  * @since 3.17.0
320
320
  */
321
- export declare type DidChangeNotebookDocumentParams = {
321
+ export type DidChangeNotebookDocumentParams = {
322
322
  /**
323
323
  * The notebook document that did change. The version number points
324
324
  * to the version after all provided changes have been applied. If
@@ -354,7 +354,7 @@ export declare namespace DidChangeNotebookDocumentNotification {
354
354
  *
355
355
  * @since 3.17.0
356
356
  */
357
- export declare type DidSaveNotebookDocumentParams = {
357
+ export type DidSaveNotebookDocumentParams = {
358
358
  /**
359
359
  * The notebook document that got saved.
360
360
  */
@@ -376,7 +376,7 @@ export declare namespace DidSaveNotebookDocumentNotification {
376
376
  *
377
377
  * @since 3.17.0
378
378
  */
379
- export declare type DidCloseNotebookDocumentParams = {
379
+ export type DidCloseNotebookDocumentParams = {
380
380
  /**
381
381
  * The notebook document that got closed.
382
382
  */
@@ -27,7 +27,7 @@ var NotebookCellKind;
27
27
  return value === 1 || value === 2;
28
28
  }
29
29
  NotebookCellKind.is = is;
30
- })(NotebookCellKind = exports.NotebookCellKind || (exports.NotebookCellKind = {}));
30
+ })(NotebookCellKind || (exports.NotebookCellKind = NotebookCellKind = {}));
31
31
  var ExecutionSummary;
32
32
  (function (ExecutionSummary) {
33
33
  function create(executionOrder, success) {
@@ -53,7 +53,7 @@ var ExecutionSummary;
53
53
  return one.executionOrder === other.executionOrder && one.success === other.success;
54
54
  }
55
55
  ExecutionSummary.equals = equals;
56
- })(ExecutionSummary = exports.ExecutionSummary || (exports.ExecutionSummary = {}));
56
+ })(ExecutionSummary || (exports.ExecutionSummary = ExecutionSummary = {}));
57
57
  var NotebookCell;
58
58
  (function (NotebookCell) {
59
59
  function create(kind, document) {
@@ -134,7 +134,7 @@ var NotebookCell;
134
134
  }
135
135
  return true;
136
136
  }
137
- })(NotebookCell = exports.NotebookCell || (exports.NotebookCell = {}));
137
+ })(NotebookCell || (exports.NotebookCell = NotebookCell = {}));
138
138
  var NotebookDocument;
139
139
  (function (NotebookDocument) {
140
140
  function create(uri, notebookType, version, cells) {
@@ -146,13 +146,13 @@ var NotebookDocument;
146
146
  return Is.objectLiteral(candidate) && Is.string(candidate.uri) && vscode_languageserver_types_1.integer.is(candidate.version) && Is.typedArray(candidate.cells, NotebookCell.is);
147
147
  }
148
148
  NotebookDocument.is = is;
149
- })(NotebookDocument = exports.NotebookDocument || (exports.NotebookDocument = {}));
149
+ })(NotebookDocument || (exports.NotebookDocument = NotebookDocument = {}));
150
150
  var NotebookDocumentSyncRegistrationType;
151
151
  (function (NotebookDocumentSyncRegistrationType) {
152
152
  NotebookDocumentSyncRegistrationType.method = 'notebookDocument/sync';
153
153
  NotebookDocumentSyncRegistrationType.messageDirection = messages_1.MessageDirection.clientToServer;
154
154
  NotebookDocumentSyncRegistrationType.type = new messages_1.RegistrationType(NotebookDocumentSyncRegistrationType.method);
155
- })(NotebookDocumentSyncRegistrationType = exports.NotebookDocumentSyncRegistrationType || (exports.NotebookDocumentSyncRegistrationType = {}));
155
+ })(NotebookDocumentSyncRegistrationType || (exports.NotebookDocumentSyncRegistrationType = NotebookDocumentSyncRegistrationType = {}));
156
156
  /**
157
157
  * A notification sent when a notebook opens.
158
158
  *
@@ -164,7 +164,7 @@ var DidOpenNotebookDocumentNotification;
164
164
  DidOpenNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
165
165
  DidOpenNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidOpenNotebookDocumentNotification.method);
166
166
  DidOpenNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
167
- })(DidOpenNotebookDocumentNotification = exports.DidOpenNotebookDocumentNotification || (exports.DidOpenNotebookDocumentNotification = {}));
167
+ })(DidOpenNotebookDocumentNotification || (exports.DidOpenNotebookDocumentNotification = DidOpenNotebookDocumentNotification = {}));
168
168
  var NotebookCellArrayChange;
169
169
  (function (NotebookCellArrayChange) {
170
170
  function is(value) {
@@ -180,14 +180,14 @@ var NotebookCellArrayChange;
180
180
  return result;
181
181
  }
182
182
  NotebookCellArrayChange.create = create;
183
- })(NotebookCellArrayChange = exports.NotebookCellArrayChange || (exports.NotebookCellArrayChange = {}));
183
+ })(NotebookCellArrayChange || (exports.NotebookCellArrayChange = NotebookCellArrayChange = {}));
184
184
  var DidChangeNotebookDocumentNotification;
185
185
  (function (DidChangeNotebookDocumentNotification) {
186
186
  DidChangeNotebookDocumentNotification.method = 'notebookDocument/didChange';
187
187
  DidChangeNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
188
188
  DidChangeNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidChangeNotebookDocumentNotification.method);
189
189
  DidChangeNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
190
- })(DidChangeNotebookDocumentNotification = exports.DidChangeNotebookDocumentNotification || (exports.DidChangeNotebookDocumentNotification = {}));
190
+ })(DidChangeNotebookDocumentNotification || (exports.DidChangeNotebookDocumentNotification = DidChangeNotebookDocumentNotification = {}));
191
191
  /**
192
192
  * A notification sent when a notebook document is saved.
193
193
  *
@@ -199,7 +199,7 @@ var DidSaveNotebookDocumentNotification;
199
199
  DidSaveNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
200
200
  DidSaveNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidSaveNotebookDocumentNotification.method);
201
201
  DidSaveNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
202
- })(DidSaveNotebookDocumentNotification = exports.DidSaveNotebookDocumentNotification || (exports.DidSaveNotebookDocumentNotification = {}));
202
+ })(DidSaveNotebookDocumentNotification || (exports.DidSaveNotebookDocumentNotification = DidSaveNotebookDocumentNotification = {}));
203
203
  /**
204
204
  * A notification sent when a notebook closes.
205
205
  *
@@ -211,4 +211,4 @@ var DidCloseNotebookDocumentNotification;
211
211
  DidCloseNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
212
212
  DidCloseNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseNotebookDocumentNotification.method);
213
213
  DidCloseNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
214
- })(DidCloseNotebookDocumentNotification = exports.DidCloseNotebookDocumentNotification || (exports.DidCloseNotebookDocumentNotification = {}));
214
+ })(DidCloseNotebookDocumentNotification || (exports.DidCloseNotebookDocumentNotification = DidCloseNotebookDocumentNotification = {}));
@@ -14,7 +14,7 @@ var WorkDoneProgress;
14
14
  return value === WorkDoneProgress.type;
15
15
  }
16
16
  WorkDoneProgress.is = is;
17
- })(WorkDoneProgress = exports.WorkDoneProgress || (exports.WorkDoneProgress = {}));
17
+ })(WorkDoneProgress || (exports.WorkDoneProgress = WorkDoneProgress = {}));
18
18
  /**
19
19
  * The `window/workDoneProgress/create` request is sent from the server to the client to initiate progress
20
20
  * reporting from the server.
@@ -24,7 +24,7 @@ var WorkDoneProgressCreateRequest;
24
24
  WorkDoneProgressCreateRequest.method = 'window/workDoneProgress/create';
25
25
  WorkDoneProgressCreateRequest.messageDirection = messages_1.MessageDirection.serverToClient;
26
26
  WorkDoneProgressCreateRequest.type = new messages_1.ProtocolRequestType(WorkDoneProgressCreateRequest.method);
27
- })(WorkDoneProgressCreateRequest = exports.WorkDoneProgressCreateRequest || (exports.WorkDoneProgressCreateRequest = {}));
27
+ })(WorkDoneProgressCreateRequest || (exports.WorkDoneProgressCreateRequest = WorkDoneProgressCreateRequest = {}));
28
28
  /**
29
29
  * The `window/workDoneProgress/cancel` notification is sent from the client to the server to cancel a progress
30
30
  * initiated on the server side.
@@ -34,4 +34,4 @@ var WorkDoneProgressCancelNotification;
34
34
  WorkDoneProgressCancelNotification.method = 'window/workDoneProgress/cancel';
35
35
  WorkDoneProgressCancelNotification.messageDirection = messages_1.MessageDirection.clientToServer;
36
36
  WorkDoneProgressCancelNotification.type = new messages_1.ProtocolNotificationType(WorkDoneProgressCancelNotification.method);
37
- })(WorkDoneProgressCancelNotification = exports.WorkDoneProgressCancelNotification || (exports.WorkDoneProgressCancelNotification = {}));
37
+ })(WorkDoneProgressCancelNotification || (exports.WorkDoneProgressCancelNotification = WorkDoneProgressCancelNotification = {}));
@@ -17,4 +17,4 @@ var SelectionRangeRequest;
17
17
  SelectionRangeRequest.method = 'textDocument/selectionRange';
18
18
  SelectionRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
19
19
  SelectionRangeRequest.type = new messages_1.ProtocolRequestType(SelectionRangeRequest.method);
20
- })(SelectionRangeRequest = exports.SelectionRangeRequest || (exports.SelectionRangeRequest = {}));
20
+ })(SelectionRangeRequest || (exports.SelectionRangeRequest = SelectionRangeRequest = {}));
@@ -17,7 +17,7 @@ export interface SemanticTokensDeltaPartialResult {
17
17
  export declare namespace TokenFormat {
18
18
  const Relative: 'relative';
19
19
  }
20
- export declare type TokenFormat = 'relative';
20
+ export type TokenFormat = 'relative';
21
21
  /**
22
22
  * @since 3.16.0
23
23
  */
@@ -10,12 +10,12 @@ const messages_1 = require("./messages");
10
10
  var TokenFormat;
11
11
  (function (TokenFormat) {
12
12
  TokenFormat.Relative = 'relative';
13
- })(TokenFormat = exports.TokenFormat || (exports.TokenFormat = {}));
13
+ })(TokenFormat || (exports.TokenFormat = TokenFormat = {}));
14
14
  var SemanticTokensRegistrationType;
15
15
  (function (SemanticTokensRegistrationType) {
16
16
  SemanticTokensRegistrationType.method = 'textDocument/semanticTokens';
17
17
  SemanticTokensRegistrationType.type = new messages_1.RegistrationType(SemanticTokensRegistrationType.method);
18
- })(SemanticTokensRegistrationType = exports.SemanticTokensRegistrationType || (exports.SemanticTokensRegistrationType = {}));
18
+ })(SemanticTokensRegistrationType || (exports.SemanticTokensRegistrationType = SemanticTokensRegistrationType = {}));
19
19
  /**
20
20
  * @since 3.16.0
21
21
  */
@@ -25,7 +25,7 @@ var SemanticTokensRequest;
25
25
  SemanticTokensRequest.messageDirection = messages_1.MessageDirection.clientToServer;
26
26
  SemanticTokensRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRequest.method);
27
27
  SemanticTokensRequest.registrationMethod = SemanticTokensRegistrationType.method;
28
- })(SemanticTokensRequest = exports.SemanticTokensRequest || (exports.SemanticTokensRequest = {}));
28
+ })(SemanticTokensRequest || (exports.SemanticTokensRequest = SemanticTokensRequest = {}));
29
29
  /**
30
30
  * @since 3.16.0
31
31
  */
@@ -35,7 +35,7 @@ var SemanticTokensDeltaRequest;
35
35
  SemanticTokensDeltaRequest.messageDirection = messages_1.MessageDirection.clientToServer;
36
36
  SemanticTokensDeltaRequest.type = new messages_1.ProtocolRequestType(SemanticTokensDeltaRequest.method);
37
37
  SemanticTokensDeltaRequest.registrationMethod = SemanticTokensRegistrationType.method;
38
- })(SemanticTokensDeltaRequest = exports.SemanticTokensDeltaRequest || (exports.SemanticTokensDeltaRequest = {}));
38
+ })(SemanticTokensDeltaRequest || (exports.SemanticTokensDeltaRequest = SemanticTokensDeltaRequest = {}));
39
39
  /**
40
40
  * @since 3.16.0
41
41
  */
@@ -45,7 +45,7 @@ var SemanticTokensRangeRequest;
45
45
  SemanticTokensRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
46
46
  SemanticTokensRangeRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRangeRequest.method);
47
47
  SemanticTokensRangeRequest.registrationMethod = SemanticTokensRegistrationType.method;
48
- })(SemanticTokensRangeRequest = exports.SemanticTokensRangeRequest || (exports.SemanticTokensRangeRequest = {}));
48
+ })(SemanticTokensRangeRequest || (exports.SemanticTokensRangeRequest = SemanticTokensRangeRequest = {}));
49
49
  /**
50
50
  * @since 3.16.0
51
51
  */
@@ -54,4 +54,4 @@ var SemanticTokensRefreshRequest;
54
54
  SemanticTokensRefreshRequest.method = `workspace/semanticTokens/refresh`;
55
55
  SemanticTokensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
56
56
  SemanticTokensRefreshRequest.type = new messages_1.ProtocolRequestType0(SemanticTokensRefreshRequest.method);
57
- })(SemanticTokensRefreshRequest = exports.SemanticTokensRefreshRequest || (exports.SemanticTokensRefreshRequest = {}));
57
+ })(SemanticTokensRefreshRequest || (exports.SemanticTokensRefreshRequest = SemanticTokensRefreshRequest = {}));
@@ -19,4 +19,4 @@ var ShowDocumentRequest;
19
19
  ShowDocumentRequest.method = 'window/showDocument';
20
20
  ShowDocumentRequest.messageDirection = messages_1.MessageDirection.serverToClient;
21
21
  ShowDocumentRequest.type = new messages_1.ProtocolRequestType(ShowDocumentRequest.method);
22
- })(ShowDocumentRequest = exports.ShowDocumentRequest || (exports.ShowDocumentRequest = {}));
22
+ })(ShowDocumentRequest || (exports.ShowDocumentRequest = ShowDocumentRequest = {}));
@@ -27,9 +27,8 @@ export interface TypeDefinitionParams extends TextDocumentPositionParams, WorkDo
27
27
  }
28
28
  /**
29
29
  * A request to resolve the type definition 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 TypeDefinitionRequest {
35
34
  const method: 'textDocument/typeDefinition';
@@ -10,13 +10,12 @@ 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 Definition} or a
15
- * Thenable that resolves to such.
13
+ * document position. The request's parameter is of type {@link TextDocumentPositionParams}
14
+ * the response is of type {@link Definition} or a Thenable that resolves to such.
16
15
  */
17
16
  var TypeDefinitionRequest;
18
17
  (function (TypeDefinitionRequest) {
19
18
  TypeDefinitionRequest.method = 'textDocument/typeDefinition';
20
19
  TypeDefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
21
20
  TypeDefinitionRequest.type = new messages_1.ProtocolRequestType(TypeDefinitionRequest.method);
22
- })(TypeDefinitionRequest = exports.TypeDefinitionRequest || (exports.TypeDefinitionRequest = {}));
21
+ })(TypeDefinitionRequest || (exports.TypeDefinitionRequest = TypeDefinitionRequest = {}));
@@ -5,7 +5,7 @@ import type { TextDocumentRegistrationOptions, StaticRegistrationOptions, TextDo
5
5
  /**
6
6
  * @since 3.17.0
7
7
  */
8
- export declare type TypeHierarchyClientCapabilities = {
8
+ export type TypeHierarchyClientCapabilities = {
9
9
  /**
10
10
  * Whether implementation supports dynamic registration. If this is set to `true`
11
11
  * the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)`
@@ -18,19 +18,19 @@ export declare type TypeHierarchyClientCapabilities = {
18
18
  *
19
19
  * @since 3.17.0
20
20
  */
21
- export declare type TypeHierarchyOptions = WorkDoneProgressOptions;
21
+ export type TypeHierarchyOptions = WorkDoneProgressOptions;
22
22
  /**
23
23
  * Type hierarchy options used during static or dynamic registration.
24
24
  *
25
25
  * @since 3.17.0
26
26
  */
27
- export declare type TypeHierarchyRegistrationOptions = TextDocumentRegistrationOptions & TypeHierarchyOptions & StaticRegistrationOptions;
27
+ export type TypeHierarchyRegistrationOptions = TextDocumentRegistrationOptions & TypeHierarchyOptions & StaticRegistrationOptions;
28
28
  /**
29
29
  * The parameter of a `textDocument/prepareTypeHierarchy` request.
30
30
  *
31
31
  * @since 3.17.0
32
32
  */
33
- export declare type TypeHierarchyPrepareParams = TextDocumentPositionParams & WorkDoneProgressParams;
33
+ export type TypeHierarchyPrepareParams = TextDocumentPositionParams & WorkDoneProgressParams;
34
34
  /**
35
35
  * A request to result a `TypeHierarchyItem` in a document at a given position.
36
36
  * Can be used as an input to a subtypes or supertypes type hierarchy.
@@ -48,7 +48,7 @@ export declare namespace TypeHierarchyPrepareRequest {
48
48
  *
49
49
  * @since 3.17.0
50
50
  */
51
- export declare type TypeHierarchySupertypesParams = WorkDoneProgressParams & PartialResultParams & {
51
+ export type TypeHierarchySupertypesParams = WorkDoneProgressParams & PartialResultParams & {
52
52
  item: TypeHierarchyItem;
53
53
  };
54
54
  /**
@@ -67,7 +67,7 @@ export declare namespace TypeHierarchySupertypesRequest {
67
67
  *
68
68
  * @since 3.17.0
69
69
  */
70
- export declare type TypeHierarchySubtypesParams = WorkDoneProgressParams & PartialResultParams & {
70
+ export type TypeHierarchySubtypesParams = WorkDoneProgressParams & PartialResultParams & {
71
71
  item: TypeHierarchyItem;
72
72
  };
73
73
  /**
@@ -17,7 +17,7 @@ var TypeHierarchyPrepareRequest;
17
17
  TypeHierarchyPrepareRequest.method = 'textDocument/prepareTypeHierarchy';
18
18
  TypeHierarchyPrepareRequest.messageDirection = messages_1.MessageDirection.clientToServer;
19
19
  TypeHierarchyPrepareRequest.type = new messages_1.ProtocolRequestType(TypeHierarchyPrepareRequest.method);
20
- })(TypeHierarchyPrepareRequest = exports.TypeHierarchyPrepareRequest || (exports.TypeHierarchyPrepareRequest = {}));
20
+ })(TypeHierarchyPrepareRequest || (exports.TypeHierarchyPrepareRequest = TypeHierarchyPrepareRequest = {}));
21
21
  /**
22
22
  * A request to resolve the supertypes for a given `TypeHierarchyItem`.
23
23
  *
@@ -28,7 +28,7 @@ var TypeHierarchySupertypesRequest;
28
28
  TypeHierarchySupertypesRequest.method = 'typeHierarchy/supertypes';
29
29
  TypeHierarchySupertypesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
30
30
  TypeHierarchySupertypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySupertypesRequest.method);
31
- })(TypeHierarchySupertypesRequest = exports.TypeHierarchySupertypesRequest || (exports.TypeHierarchySupertypesRequest = {}));
31
+ })(TypeHierarchySupertypesRequest || (exports.TypeHierarchySupertypesRequest = TypeHierarchySupertypesRequest = {}));
32
32
  /**
33
33
  * A request to resolve the subtypes for a given `TypeHierarchyItem`.
34
34
  *
@@ -39,4 +39,4 @@ var TypeHierarchySubtypesRequest;
39
39
  TypeHierarchySubtypesRequest.method = 'typeHierarchy/subtypes';
40
40
  TypeHierarchySubtypesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
41
41
  TypeHierarchySubtypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySubtypesRequest.method);
42
- })(TypeHierarchySubtypesRequest = exports.TypeHierarchySubtypesRequest || (exports.TypeHierarchySubtypesRequest = {}));
42
+ })(TypeHierarchySubtypesRequest || (exports.TypeHierarchySubtypesRequest = TypeHierarchySubtypesRequest = {}));
@@ -14,7 +14,7 @@ var WorkspaceFoldersRequest;
14
14
  WorkspaceFoldersRequest.method = 'workspace/workspaceFolders';
15
15
  WorkspaceFoldersRequest.messageDirection = messages_1.MessageDirection.serverToClient;
16
16
  WorkspaceFoldersRequest.type = new messages_1.ProtocolRequestType0(WorkspaceFoldersRequest.method);
17
- })(WorkspaceFoldersRequest = exports.WorkspaceFoldersRequest || (exports.WorkspaceFoldersRequest = {}));
17
+ })(WorkspaceFoldersRequest || (exports.WorkspaceFoldersRequest = WorkspaceFoldersRequest = {}));
18
18
  /**
19
19
  * The `workspace/didChangeWorkspaceFolders` notification is sent from the client to the server when the workspace
20
20
  * folder configuration changes.
@@ -24,4 +24,4 @@ var DidChangeWorkspaceFoldersNotification;
24
24
  DidChangeWorkspaceFoldersNotification.method = 'workspace/didChangeWorkspaceFolders';
25
25
  DidChangeWorkspaceFoldersNotification.messageDirection = messages_1.MessageDirection.clientToServer;
26
26
  DidChangeWorkspaceFoldersNotification.type = new messages_1.ProtocolNotificationType(DidChangeWorkspaceFoldersNotification.method);
27
- })(DidChangeWorkspaceFoldersNotification = exports.DidChangeWorkspaceFoldersNotification || (exports.DidChangeWorkspaceFoldersNotification = {}));
27
+ })(DidChangeWorkspaceFoldersNotification || (exports.DidChangeWorkspaceFoldersNotification = DidChangeWorkspaceFoldersNotification = {}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vscode-languageserver-protocol",
3
3
  "description": "VSCode Language Server Protocol implementation",
4
- "version": "3.17.4-next.1",
4
+ "version": "3.17.4-next.3",
5
5
  "author": "Microsoft Corporation",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "typings": "./lib/common/api.d.ts",
20
20
  "dependencies": {
21
- "vscode-jsonrpc": "8.2.0-next.0",
22
- "vscode-languageserver-types": "3.17.4-next.0"
21
+ "vscode-jsonrpc": "8.2.0-next.2",
22
+ "vscode-languageserver-types": "3.17.4-next.2"
23
23
  },
24
24
  "scripts": {
25
25
  "prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail",
@@ -28,7 +28,7 @@
28
28
  "preversion": "npm test",
29
29
  "compile": "node ../build/bin/tsc -b ./tsconfig.json",
30
30
  "watch": "node ../build/bin/tsc -b ./tsconfig.watch.json -w",
31
- "clean": "node ../node_modules/rimraf/bin.js lib && node ../node_modules/rimraf/bin.js dist",
31
+ "clean": "node ../node_modules/.bin/rimraf lib && node ../node_modules/.bin/rimraf dist",
32
32
  "lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src",
33
33
  "test": "npm run test:node && npm run test:browser",
34
34
  "test:node": "node ../node_modules/mocha/bin/_mocha",
@@ -37,7 +37,7 @@
37
37
  "webpack:test:silent": "cd ../types && npm run compile:esm && cd ../protocol && node ../build/bin/webpack --no-stats --mode none --config ./src/browser/test/webpack.config.js",
38
38
  "compile:metaModelTool": "cd ../tools && npm run compile && cd ../protocol",
39
39
  "generate:metaModel": "node ../tools/lib/generator-main.js -p ./src/common/tsconfig.json > ./metaModel.json",
40
- "generate:metaModelSchema": "ts-json-schema-generator --path ../tools/src/metaModel.ts > ./metaModel.schema.json",
40
+ "generate:metaModelSchema": "ts-json-schema-generator --tsconfig ../tools/tsconfig.json --path ../tools/src/metaModel.ts > ./metaModel.schema.json",
41
41
  "all": "npm run clean && npm run compile && npm run lint && npm run test && npm run compile:metaModelTool && npm run generate:metaModel && npm run generate:metaModelSchema",
42
42
  "compile:publish": "node ../build/bin/tsc -b ./tsconfig.publish.json",
43
43
  "all:publish": "git clean -xfd . && npm install && npm run compile:publish && npm run lint && npm run test && npm run compile:metaModelTool && npm run generate:metaModel && npm run generate:metaModelSchema"