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.
- 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 +32 -33
- 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 +4 -4
- package/lib/common/protocol.inlineCompletion.js +1 -1
- package/lib/common/protocol.inlineValue.d.ts +5 -5
- package/lib/common/protocol.inlineValue.js +2 -2
- package/lib/common/protocol.js +71 -72
- 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
|
@@ -6,7 +6,7 @@ import type { StaticRegistrationOptions, NotebookDocumentFilter, TextDocumentCon
|
|
|
6
6
|
*
|
|
7
7
|
* @since 3.17.0
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
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
|
|
39
|
-
export
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
20
|
+
})(SelectionRangeRequest || (exports.SelectionRangeRequest = SelectionRangeRequest = {}));
|
|
@@ -10,12 +10,12 @@ const messages_1 = require("./messages");
|
|
|
10
10
|
var TokenFormat;
|
|
11
11
|
(function (TokenFormat) {
|
|
12
12
|
TokenFormat.Relative = 'relative';
|
|
13
|
-
})(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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
31
|
-
*
|
|
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
|
|
14
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
22
|
-
"vscode-languageserver-types": "3.17.4-next.
|
|
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
|
|
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"
|