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
package/lib/common/protocol.js
CHANGED
|
@@ -104,7 +104,7 @@ var TextDocumentFilter;
|
|
|
104
104
|
return Is.string(candidate) || (Is.string(candidate.language) || Is.string(candidate.scheme) || Is.string(candidate.pattern));
|
|
105
105
|
}
|
|
106
106
|
TextDocumentFilter.is = is;
|
|
107
|
-
})(TextDocumentFilter
|
|
107
|
+
})(TextDocumentFilter || (exports.TextDocumentFilter = TextDocumentFilter = {}));
|
|
108
108
|
/**
|
|
109
109
|
* The NotebookDocumentFilter namespace provides helper functions to work with
|
|
110
110
|
* {@link NotebookDocumentFilter} literals.
|
|
@@ -118,7 +118,7 @@ var NotebookDocumentFilter;
|
|
|
118
118
|
return Is.objectLiteral(candidate) && (Is.string(candidate.notebookType) || Is.string(candidate.scheme) || Is.string(candidate.pattern));
|
|
119
119
|
}
|
|
120
120
|
NotebookDocumentFilter.is = is;
|
|
121
|
-
})(NotebookDocumentFilter
|
|
121
|
+
})(NotebookDocumentFilter || (exports.NotebookDocumentFilter = NotebookDocumentFilter = {}));
|
|
122
122
|
/**
|
|
123
123
|
* The NotebookCellTextDocumentFilter namespace provides helper functions to work with
|
|
124
124
|
* {@link NotebookCellTextDocumentFilter} literals.
|
|
@@ -134,7 +134,7 @@ var NotebookCellTextDocumentFilter;
|
|
|
134
134
|
&& (candidate.language === undefined || Is.string(candidate.language));
|
|
135
135
|
}
|
|
136
136
|
NotebookCellTextDocumentFilter.is = is;
|
|
137
|
-
})(NotebookCellTextDocumentFilter
|
|
137
|
+
})(NotebookCellTextDocumentFilter || (exports.NotebookCellTextDocumentFilter = NotebookCellTextDocumentFilter = {}));
|
|
138
138
|
/**
|
|
139
139
|
* The DocumentSelector namespace provides helper functions to work with
|
|
140
140
|
* {@link DocumentSelector}s.
|
|
@@ -153,7 +153,7 @@ var DocumentSelector;
|
|
|
153
153
|
return true;
|
|
154
154
|
}
|
|
155
155
|
DocumentSelector.is = is;
|
|
156
|
-
})(DocumentSelector
|
|
156
|
+
})(DocumentSelector || (exports.DocumentSelector = DocumentSelector = {}));
|
|
157
157
|
/**
|
|
158
158
|
* The `client/registerCapability` request is sent from the server to the client to register a new capability
|
|
159
159
|
* handler on the client side.
|
|
@@ -163,7 +163,7 @@ var RegistrationRequest;
|
|
|
163
163
|
RegistrationRequest.method = 'client/registerCapability';
|
|
164
164
|
RegistrationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
165
165
|
RegistrationRequest.type = new messages_1.ProtocolRequestType(RegistrationRequest.method);
|
|
166
|
-
})(RegistrationRequest
|
|
166
|
+
})(RegistrationRequest || (exports.RegistrationRequest = RegistrationRequest = {}));
|
|
167
167
|
/**
|
|
168
168
|
* The `client/unregisterCapability` request is sent from the server to the client to unregister a previously registered capability
|
|
169
169
|
* handler on the client side.
|
|
@@ -173,7 +173,7 @@ var UnregistrationRequest;
|
|
|
173
173
|
UnregistrationRequest.method = 'client/unregisterCapability';
|
|
174
174
|
UnregistrationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
175
175
|
UnregistrationRequest.type = new messages_1.ProtocolRequestType(UnregistrationRequest.method);
|
|
176
|
-
})(UnregistrationRequest
|
|
176
|
+
})(UnregistrationRequest || (exports.UnregistrationRequest = UnregistrationRequest = {}));
|
|
177
177
|
var ResourceOperationKind;
|
|
178
178
|
(function (ResourceOperationKind) {
|
|
179
179
|
/**
|
|
@@ -188,7 +188,7 @@ var ResourceOperationKind;
|
|
|
188
188
|
* Supports deleting existing files and folders.
|
|
189
189
|
*/
|
|
190
190
|
ResourceOperationKind.Delete = 'delete';
|
|
191
|
-
})(ResourceOperationKind
|
|
191
|
+
})(ResourceOperationKind || (exports.ResourceOperationKind = ResourceOperationKind = {}));
|
|
192
192
|
var FailureHandlingKind;
|
|
193
193
|
(function (FailureHandlingKind) {
|
|
194
194
|
/**
|
|
@@ -212,7 +212,7 @@ var FailureHandlingKind;
|
|
|
212
212
|
* guarantee that this is succeeding.
|
|
213
213
|
*/
|
|
214
214
|
FailureHandlingKind.Undo = 'undo';
|
|
215
|
-
})(FailureHandlingKind
|
|
215
|
+
})(FailureHandlingKind || (exports.FailureHandlingKind = FailureHandlingKind = {}));
|
|
216
216
|
/**
|
|
217
217
|
* A set of predefined position encoding kinds.
|
|
218
218
|
*
|
|
@@ -239,7 +239,7 @@ var PositionEncodingKind;
|
|
|
239
239
|
* encoding-agnostic representation of character offsets.
|
|
240
240
|
*/
|
|
241
241
|
PositionEncodingKind.UTF32 = 'utf-32';
|
|
242
|
-
})(PositionEncodingKind
|
|
242
|
+
})(PositionEncodingKind || (exports.PositionEncodingKind = PositionEncodingKind = {}));
|
|
243
243
|
/**
|
|
244
244
|
* The StaticRegistrationOptions namespace provides helper functions to work with
|
|
245
245
|
* {@link StaticRegistrationOptions} literals.
|
|
@@ -251,7 +251,7 @@ var StaticRegistrationOptions;
|
|
|
251
251
|
return candidate && Is.string(candidate.id) && candidate.id.length > 0;
|
|
252
252
|
}
|
|
253
253
|
StaticRegistrationOptions.hasId = hasId;
|
|
254
|
-
})(StaticRegistrationOptions
|
|
254
|
+
})(StaticRegistrationOptions || (exports.StaticRegistrationOptions = StaticRegistrationOptions = {}));
|
|
255
255
|
/**
|
|
256
256
|
* The TextDocumentRegistrationOptions namespace provides helper functions to work with
|
|
257
257
|
* {@link TextDocumentRegistrationOptions} literals.
|
|
@@ -263,7 +263,7 @@ var TextDocumentRegistrationOptions;
|
|
|
263
263
|
return candidate && (candidate.documentSelector === null || DocumentSelector.is(candidate.documentSelector));
|
|
264
264
|
}
|
|
265
265
|
TextDocumentRegistrationOptions.is = is;
|
|
266
|
-
})(TextDocumentRegistrationOptions
|
|
266
|
+
})(TextDocumentRegistrationOptions || (exports.TextDocumentRegistrationOptions = TextDocumentRegistrationOptions = {}));
|
|
267
267
|
/**
|
|
268
268
|
* The WorkDoneProgressOptions namespace provides helper functions to work with
|
|
269
269
|
* {@link WorkDoneProgressOptions} literals.
|
|
@@ -280,7 +280,7 @@ var WorkDoneProgressOptions;
|
|
|
280
280
|
return candidate && Is.boolean(candidate.workDoneProgress);
|
|
281
281
|
}
|
|
282
282
|
WorkDoneProgressOptions.hasWorkDoneProgress = hasWorkDoneProgress;
|
|
283
|
-
})(WorkDoneProgressOptions
|
|
283
|
+
})(WorkDoneProgressOptions || (exports.WorkDoneProgressOptions = WorkDoneProgressOptions = {}));
|
|
284
284
|
/**
|
|
285
285
|
* The initialize request is sent from the client to the server.
|
|
286
286
|
* It is sent once as the request after starting up the server.
|
|
@@ -293,7 +293,7 @@ var InitializeRequest;
|
|
|
293
293
|
InitializeRequest.method = 'initialize';
|
|
294
294
|
InitializeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
295
295
|
InitializeRequest.type = new messages_1.ProtocolRequestType(InitializeRequest.method);
|
|
296
|
-
})(InitializeRequest
|
|
296
|
+
})(InitializeRequest || (exports.InitializeRequest = InitializeRequest = {}));
|
|
297
297
|
/**
|
|
298
298
|
* Known error codes for an `InitializeErrorCodes`;
|
|
299
299
|
*/
|
|
@@ -306,7 +306,7 @@ var InitializeErrorCodes;
|
|
|
306
306
|
* no version handshake in version 3.0x
|
|
307
307
|
*/
|
|
308
308
|
InitializeErrorCodes.unknownProtocolVersion = 1;
|
|
309
|
-
})(InitializeErrorCodes
|
|
309
|
+
})(InitializeErrorCodes || (exports.InitializeErrorCodes = InitializeErrorCodes = {}));
|
|
310
310
|
/**
|
|
311
311
|
* The initialized notification is sent from the client to the
|
|
312
312
|
* server after the client is fully initialized and the server
|
|
@@ -317,7 +317,7 @@ var InitializedNotification;
|
|
|
317
317
|
InitializedNotification.method = 'initialized';
|
|
318
318
|
InitializedNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
319
319
|
InitializedNotification.type = new messages_1.ProtocolNotificationType(InitializedNotification.method);
|
|
320
|
-
})(InitializedNotification
|
|
320
|
+
})(InitializedNotification || (exports.InitializedNotification = InitializedNotification = {}));
|
|
321
321
|
//---- Shutdown Method ----
|
|
322
322
|
/**
|
|
323
323
|
* A shutdown request is sent from the client to the server.
|
|
@@ -330,7 +330,7 @@ var ShutdownRequest;
|
|
|
330
330
|
ShutdownRequest.method = 'shutdown';
|
|
331
331
|
ShutdownRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
332
332
|
ShutdownRequest.type = new messages_1.ProtocolRequestType0(ShutdownRequest.method);
|
|
333
|
-
})(ShutdownRequest
|
|
333
|
+
})(ShutdownRequest || (exports.ShutdownRequest = ShutdownRequest = {}));
|
|
334
334
|
//---- Exit Notification ----
|
|
335
335
|
/**
|
|
336
336
|
* The exit event is sent from the client to the server to
|
|
@@ -341,7 +341,7 @@ var ExitNotification;
|
|
|
341
341
|
ExitNotification.method = 'exit';
|
|
342
342
|
ExitNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
343
343
|
ExitNotification.type = new messages_1.ProtocolNotificationType0(ExitNotification.method);
|
|
344
|
-
})(ExitNotification
|
|
344
|
+
})(ExitNotification || (exports.ExitNotification = ExitNotification = {}));
|
|
345
345
|
/**
|
|
346
346
|
* The configuration change notification is sent from the client to the server
|
|
347
347
|
* when the client's configuration has changed. The notification contains
|
|
@@ -352,7 +352,7 @@ var DidChangeConfigurationNotification;
|
|
|
352
352
|
DidChangeConfigurationNotification.method = 'workspace/didChangeConfiguration';
|
|
353
353
|
DidChangeConfigurationNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
354
354
|
DidChangeConfigurationNotification.type = new messages_1.ProtocolNotificationType(DidChangeConfigurationNotification.method);
|
|
355
|
-
})(DidChangeConfigurationNotification
|
|
355
|
+
})(DidChangeConfigurationNotification || (exports.DidChangeConfigurationNotification = DidChangeConfigurationNotification = {}));
|
|
356
356
|
//---- Message show and log notifications ----
|
|
357
357
|
/**
|
|
358
358
|
* The message type
|
|
@@ -375,7 +375,7 @@ var MessageType;
|
|
|
375
375
|
* A log message.
|
|
376
376
|
*/
|
|
377
377
|
MessageType.Log = 4;
|
|
378
|
-
})(MessageType
|
|
378
|
+
})(MessageType || (exports.MessageType = MessageType = {}));
|
|
379
379
|
/**
|
|
380
380
|
* The show message notification is sent from a server to a client to ask
|
|
381
381
|
* the client to display a particular message in the user interface.
|
|
@@ -385,7 +385,7 @@ var ShowMessageNotification;
|
|
|
385
385
|
ShowMessageNotification.method = 'window/showMessage';
|
|
386
386
|
ShowMessageNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
387
387
|
ShowMessageNotification.type = new messages_1.ProtocolNotificationType(ShowMessageNotification.method);
|
|
388
|
-
})(ShowMessageNotification
|
|
388
|
+
})(ShowMessageNotification || (exports.ShowMessageNotification = ShowMessageNotification = {}));
|
|
389
389
|
/**
|
|
390
390
|
* The show message request is sent from the server to the client to show a message
|
|
391
391
|
* and a set of options actions to the user.
|
|
@@ -395,7 +395,7 @@ var ShowMessageRequest;
|
|
|
395
395
|
ShowMessageRequest.method = 'window/showMessageRequest';
|
|
396
396
|
ShowMessageRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
397
397
|
ShowMessageRequest.type = new messages_1.ProtocolRequestType(ShowMessageRequest.method);
|
|
398
|
-
})(ShowMessageRequest
|
|
398
|
+
})(ShowMessageRequest || (exports.ShowMessageRequest = ShowMessageRequest = {}));
|
|
399
399
|
/**
|
|
400
400
|
* The log message notification is sent from the server to the client to ask
|
|
401
401
|
* the client to log a particular message.
|
|
@@ -405,7 +405,7 @@ var LogMessageNotification;
|
|
|
405
405
|
LogMessageNotification.method = 'window/logMessage';
|
|
406
406
|
LogMessageNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
407
407
|
LogMessageNotification.type = new messages_1.ProtocolNotificationType(LogMessageNotification.method);
|
|
408
|
-
})(LogMessageNotification
|
|
408
|
+
})(LogMessageNotification || (exports.LogMessageNotification = LogMessageNotification = {}));
|
|
409
409
|
//---- Telemetry notification
|
|
410
410
|
/**
|
|
411
411
|
* The telemetry event notification is sent from the server to the client to ask
|
|
@@ -416,7 +416,7 @@ var TelemetryEventNotification;
|
|
|
416
416
|
TelemetryEventNotification.method = 'telemetry/event';
|
|
417
417
|
TelemetryEventNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
418
418
|
TelemetryEventNotification.type = new messages_1.ProtocolNotificationType(TelemetryEventNotification.method);
|
|
419
|
-
})(TelemetryEventNotification
|
|
419
|
+
})(TelemetryEventNotification || (exports.TelemetryEventNotification = TelemetryEventNotification = {}));
|
|
420
420
|
/**
|
|
421
421
|
* Defines how the host (editor) should sync
|
|
422
422
|
* document changes to the language server.
|
|
@@ -438,7 +438,7 @@ var TextDocumentSyncKind;
|
|
|
438
438
|
* send.
|
|
439
439
|
*/
|
|
440
440
|
TextDocumentSyncKind.Incremental = 2;
|
|
441
|
-
})(TextDocumentSyncKind
|
|
441
|
+
})(TextDocumentSyncKind || (exports.TextDocumentSyncKind = TextDocumentSyncKind = {}));
|
|
442
442
|
/**
|
|
443
443
|
* The document open notification is sent from the client to the server to signal
|
|
444
444
|
* newly opened text documents. The document's truth is now managed by the client
|
|
@@ -454,7 +454,7 @@ var DidOpenTextDocumentNotification;
|
|
|
454
454
|
DidOpenTextDocumentNotification.method = 'textDocument/didOpen';
|
|
455
455
|
DidOpenTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
456
456
|
DidOpenTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidOpenTextDocumentNotification.method);
|
|
457
|
-
})(DidOpenTextDocumentNotification
|
|
457
|
+
})(DidOpenTextDocumentNotification || (exports.DidOpenTextDocumentNotification = DidOpenTextDocumentNotification = {}));
|
|
458
458
|
var TextDocumentContentChangeEvent;
|
|
459
459
|
(function (TextDocumentContentChangeEvent) {
|
|
460
460
|
/**
|
|
@@ -476,7 +476,7 @@ var TextDocumentContentChangeEvent;
|
|
|
476
476
|
typeof candidate.text === 'string' && candidate.range === undefined && candidate.rangeLength === undefined;
|
|
477
477
|
}
|
|
478
478
|
TextDocumentContentChangeEvent.isFull = isFull;
|
|
479
|
-
})(TextDocumentContentChangeEvent
|
|
479
|
+
})(TextDocumentContentChangeEvent || (exports.TextDocumentContentChangeEvent = TextDocumentContentChangeEvent = {}));
|
|
480
480
|
/**
|
|
481
481
|
* The document change notification is sent from the client to the server to signal
|
|
482
482
|
* changes to a text document.
|
|
@@ -486,7 +486,7 @@ var DidChangeTextDocumentNotification;
|
|
|
486
486
|
DidChangeTextDocumentNotification.method = 'textDocument/didChange';
|
|
487
487
|
DidChangeTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
488
488
|
DidChangeTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidChangeTextDocumentNotification.method);
|
|
489
|
-
})(DidChangeTextDocumentNotification
|
|
489
|
+
})(DidChangeTextDocumentNotification || (exports.DidChangeTextDocumentNotification = DidChangeTextDocumentNotification = {}));
|
|
490
490
|
/**
|
|
491
491
|
* The document close notification is sent from the client to the server when
|
|
492
492
|
* the document got closed in the client. The document's truth now exists where
|
|
@@ -501,7 +501,7 @@ var DidCloseTextDocumentNotification;
|
|
|
501
501
|
DidCloseTextDocumentNotification.method = 'textDocument/didClose';
|
|
502
502
|
DidCloseTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
503
503
|
DidCloseTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseTextDocumentNotification.method);
|
|
504
|
-
})(DidCloseTextDocumentNotification
|
|
504
|
+
})(DidCloseTextDocumentNotification || (exports.DidCloseTextDocumentNotification = DidCloseTextDocumentNotification = {}));
|
|
505
505
|
/**
|
|
506
506
|
* The document save notification is sent from the client to the server when
|
|
507
507
|
* the document got saved in the client.
|
|
@@ -511,7 +511,7 @@ var DidSaveTextDocumentNotification;
|
|
|
511
511
|
DidSaveTextDocumentNotification.method = 'textDocument/didSave';
|
|
512
512
|
DidSaveTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
513
513
|
DidSaveTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidSaveTextDocumentNotification.method);
|
|
514
|
-
})(DidSaveTextDocumentNotification
|
|
514
|
+
})(DidSaveTextDocumentNotification || (exports.DidSaveTextDocumentNotification = DidSaveTextDocumentNotification = {}));
|
|
515
515
|
/**
|
|
516
516
|
* Represents reasons why a text document is saved.
|
|
517
517
|
*/
|
|
@@ -530,7 +530,7 @@ var TextDocumentSaveReason;
|
|
|
530
530
|
* When the editor lost focus.
|
|
531
531
|
*/
|
|
532
532
|
TextDocumentSaveReason.FocusOut = 3;
|
|
533
|
-
})(TextDocumentSaveReason
|
|
533
|
+
})(TextDocumentSaveReason || (exports.TextDocumentSaveReason = TextDocumentSaveReason = {}));
|
|
534
534
|
/**
|
|
535
535
|
* A document will save notification is sent from the client to the server before
|
|
536
536
|
* the document is actually saved.
|
|
@@ -540,7 +540,7 @@ var WillSaveTextDocumentNotification;
|
|
|
540
540
|
WillSaveTextDocumentNotification.method = 'textDocument/willSave';
|
|
541
541
|
WillSaveTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
542
542
|
WillSaveTextDocumentNotification.type = new messages_1.ProtocolNotificationType(WillSaveTextDocumentNotification.method);
|
|
543
|
-
})(WillSaveTextDocumentNotification
|
|
543
|
+
})(WillSaveTextDocumentNotification || (exports.WillSaveTextDocumentNotification = WillSaveTextDocumentNotification = {}));
|
|
544
544
|
/**
|
|
545
545
|
* A document will save request is sent from the client to the server before
|
|
546
546
|
* the document is actually saved. The request can return an array of TextEdits
|
|
@@ -554,7 +554,7 @@ var WillSaveTextDocumentWaitUntilRequest;
|
|
|
554
554
|
WillSaveTextDocumentWaitUntilRequest.method = 'textDocument/willSaveWaitUntil';
|
|
555
555
|
WillSaveTextDocumentWaitUntilRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
556
556
|
WillSaveTextDocumentWaitUntilRequest.type = new messages_1.ProtocolRequestType(WillSaveTextDocumentWaitUntilRequest.method);
|
|
557
|
-
})(WillSaveTextDocumentWaitUntilRequest
|
|
557
|
+
})(WillSaveTextDocumentWaitUntilRequest || (exports.WillSaveTextDocumentWaitUntilRequest = WillSaveTextDocumentWaitUntilRequest = {}));
|
|
558
558
|
/**
|
|
559
559
|
* The watched files notification is sent from the client to the server when
|
|
560
560
|
* the client detects changes to file watched by the language client.
|
|
@@ -564,7 +564,7 @@ var DidChangeWatchedFilesNotification;
|
|
|
564
564
|
DidChangeWatchedFilesNotification.method = 'workspace/didChangeWatchedFiles';
|
|
565
565
|
DidChangeWatchedFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
566
566
|
DidChangeWatchedFilesNotification.type = new messages_1.ProtocolNotificationType(DidChangeWatchedFilesNotification.method);
|
|
567
|
-
})(DidChangeWatchedFilesNotification
|
|
567
|
+
})(DidChangeWatchedFilesNotification || (exports.DidChangeWatchedFilesNotification = DidChangeWatchedFilesNotification = {}));
|
|
568
568
|
/**
|
|
569
569
|
* The file event type
|
|
570
570
|
*/
|
|
@@ -582,7 +582,7 @@ var FileChangeType;
|
|
|
582
582
|
* The file got deleted.
|
|
583
583
|
*/
|
|
584
584
|
FileChangeType.Deleted = 3;
|
|
585
|
-
})(FileChangeType
|
|
585
|
+
})(FileChangeType || (exports.FileChangeType = FileChangeType = {}));
|
|
586
586
|
var RelativePattern;
|
|
587
587
|
(function (RelativePattern) {
|
|
588
588
|
function is(value) {
|
|
@@ -590,7 +590,7 @@ var RelativePattern;
|
|
|
590
590
|
return Is.objectLiteral(candidate) && (vscode_languageserver_types_1.URI.is(candidate.baseUri) || vscode_languageserver_types_1.WorkspaceFolder.is(candidate.baseUri)) && Is.string(candidate.pattern);
|
|
591
591
|
}
|
|
592
592
|
RelativePattern.is = is;
|
|
593
|
-
})(RelativePattern
|
|
593
|
+
})(RelativePattern || (exports.RelativePattern = RelativePattern = {}));
|
|
594
594
|
var WatchKind;
|
|
595
595
|
(function (WatchKind) {
|
|
596
596
|
/**
|
|
@@ -605,7 +605,7 @@ var WatchKind;
|
|
|
605
605
|
* Interested in delete events
|
|
606
606
|
*/
|
|
607
607
|
WatchKind.Delete = 4;
|
|
608
|
-
})(WatchKind
|
|
608
|
+
})(WatchKind || (exports.WatchKind = WatchKind = {}));
|
|
609
609
|
/**
|
|
610
610
|
* Diagnostics notification are sent from the server to the client to signal
|
|
611
611
|
* results of validation runs.
|
|
@@ -615,7 +615,7 @@ var PublishDiagnosticsNotification;
|
|
|
615
615
|
PublishDiagnosticsNotification.method = 'textDocument/publishDiagnostics';
|
|
616
616
|
PublishDiagnosticsNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
617
617
|
PublishDiagnosticsNotification.type = new messages_1.ProtocolNotificationType(PublishDiagnosticsNotification.method);
|
|
618
|
-
})(PublishDiagnosticsNotification
|
|
618
|
+
})(PublishDiagnosticsNotification || (exports.PublishDiagnosticsNotification = PublishDiagnosticsNotification = {}));
|
|
619
619
|
/**
|
|
620
620
|
* How a completion was triggered
|
|
621
621
|
*/
|
|
@@ -635,7 +635,7 @@ var CompletionTriggerKind;
|
|
|
635
635
|
* Completion was re-triggered as current completion list is incomplete
|
|
636
636
|
*/
|
|
637
637
|
CompletionTriggerKind.TriggerForIncompleteCompletions = 3;
|
|
638
|
-
})(CompletionTriggerKind
|
|
638
|
+
})(CompletionTriggerKind || (exports.CompletionTriggerKind = CompletionTriggerKind = {}));
|
|
639
639
|
/**
|
|
640
640
|
* Request to request completion at a given text document position. The request's
|
|
641
641
|
* parameter is of type {@link TextDocumentPosition} the response
|
|
@@ -652,7 +652,7 @@ var CompletionRequest;
|
|
|
652
652
|
CompletionRequest.method = 'textDocument/completion';
|
|
653
653
|
CompletionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
654
654
|
CompletionRequest.type = new messages_1.ProtocolRequestType(CompletionRequest.method);
|
|
655
|
-
})(CompletionRequest
|
|
655
|
+
})(CompletionRequest || (exports.CompletionRequest = CompletionRequest = {}));
|
|
656
656
|
/**
|
|
657
657
|
* Request to resolve additional information for a given completion item.The request's
|
|
658
658
|
* parameter is of type {@link CompletionItem} the response
|
|
@@ -663,7 +663,7 @@ var CompletionResolveRequest;
|
|
|
663
663
|
CompletionResolveRequest.method = 'completionItem/resolve';
|
|
664
664
|
CompletionResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
665
665
|
CompletionResolveRequest.type = new messages_1.ProtocolRequestType(CompletionResolveRequest.method);
|
|
666
|
-
})(CompletionResolveRequest
|
|
666
|
+
})(CompletionResolveRequest || (exports.CompletionResolveRequest = CompletionResolveRequest = {}));
|
|
667
667
|
/**
|
|
668
668
|
* Request to request hover information at a given text document position. The request's
|
|
669
669
|
* parameter is of type {@link TextDocumentPosition} the response is of
|
|
@@ -674,7 +674,7 @@ var HoverRequest;
|
|
|
674
674
|
HoverRequest.method = 'textDocument/hover';
|
|
675
675
|
HoverRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
676
676
|
HoverRequest.type = new messages_1.ProtocolRequestType(HoverRequest.method);
|
|
677
|
-
})(HoverRequest
|
|
677
|
+
})(HoverRequest || (exports.HoverRequest = HoverRequest = {}));
|
|
678
678
|
/**
|
|
679
679
|
* How a signature help was triggered.
|
|
680
680
|
*
|
|
@@ -694,26 +694,25 @@ var SignatureHelpTriggerKind;
|
|
|
694
694
|
* Signature help was triggered by the cursor moving or by the document content changing.
|
|
695
695
|
*/
|
|
696
696
|
SignatureHelpTriggerKind.ContentChange = 3;
|
|
697
|
-
})(SignatureHelpTriggerKind
|
|
697
|
+
})(SignatureHelpTriggerKind || (exports.SignatureHelpTriggerKind = SignatureHelpTriggerKind = {}));
|
|
698
698
|
var SignatureHelpRequest;
|
|
699
699
|
(function (SignatureHelpRequest) {
|
|
700
700
|
SignatureHelpRequest.method = 'textDocument/signatureHelp';
|
|
701
701
|
SignatureHelpRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
702
702
|
SignatureHelpRequest.type = new messages_1.ProtocolRequestType(SignatureHelpRequest.method);
|
|
703
|
-
})(SignatureHelpRequest
|
|
703
|
+
})(SignatureHelpRequest || (exports.SignatureHelpRequest = SignatureHelpRequest = {}));
|
|
704
704
|
/**
|
|
705
705
|
* A request to resolve the definition location of a symbol at a given text
|
|
706
|
-
* document position. The request's parameter is of type
|
|
707
|
-
*
|
|
708
|
-
*
|
|
709
|
-
* to such.
|
|
706
|
+
* document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
707
|
+
* the response is of either type {@link Definition} or a typed array of
|
|
708
|
+
* {@link DefinitionLink} or a Thenable that resolves to such.
|
|
710
709
|
*/
|
|
711
710
|
var DefinitionRequest;
|
|
712
711
|
(function (DefinitionRequest) {
|
|
713
712
|
DefinitionRequest.method = 'textDocument/definition';
|
|
714
713
|
DefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
715
714
|
DefinitionRequest.type = new messages_1.ProtocolRequestType(DefinitionRequest.method);
|
|
716
|
-
})(DefinitionRequest
|
|
715
|
+
})(DefinitionRequest || (exports.DefinitionRequest = DefinitionRequest = {}));
|
|
717
716
|
/**
|
|
718
717
|
* A request to resolve project-wide references for the symbol denoted
|
|
719
718
|
* by the given text document position. The request's parameter is of
|
|
@@ -725,19 +724,19 @@ var ReferencesRequest;
|
|
|
725
724
|
ReferencesRequest.method = 'textDocument/references';
|
|
726
725
|
ReferencesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
727
726
|
ReferencesRequest.type = new messages_1.ProtocolRequestType(ReferencesRequest.method);
|
|
728
|
-
})(ReferencesRequest
|
|
727
|
+
})(ReferencesRequest || (exports.ReferencesRequest = ReferencesRequest = {}));
|
|
729
728
|
/**
|
|
730
729
|
* Request to resolve a {@link DocumentHighlight} for a given
|
|
731
|
-
* text document position. The request's parameter is of type
|
|
732
|
-
*
|
|
733
|
-
*
|
|
730
|
+
* text document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
731
|
+
* the request response is an array of type {@link DocumentHighlight}
|
|
732
|
+
* or a Thenable that resolves to such.
|
|
734
733
|
*/
|
|
735
734
|
var DocumentHighlightRequest;
|
|
736
735
|
(function (DocumentHighlightRequest) {
|
|
737
736
|
DocumentHighlightRequest.method = 'textDocument/documentHighlight';
|
|
738
737
|
DocumentHighlightRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
739
738
|
DocumentHighlightRequest.type = new messages_1.ProtocolRequestType(DocumentHighlightRequest.method);
|
|
740
|
-
})(DocumentHighlightRequest
|
|
739
|
+
})(DocumentHighlightRequest || (exports.DocumentHighlightRequest = DocumentHighlightRequest = {}));
|
|
741
740
|
/**
|
|
742
741
|
* A request to list all symbols found in a given text document. The request's
|
|
743
742
|
* parameter is of type {@link TextDocumentIdentifier} the
|
|
@@ -749,7 +748,7 @@ var DocumentSymbolRequest;
|
|
|
749
748
|
DocumentSymbolRequest.method = 'textDocument/documentSymbol';
|
|
750
749
|
DocumentSymbolRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
751
750
|
DocumentSymbolRequest.type = new messages_1.ProtocolRequestType(DocumentSymbolRequest.method);
|
|
752
|
-
})(DocumentSymbolRequest
|
|
751
|
+
})(DocumentSymbolRequest || (exports.DocumentSymbolRequest = DocumentSymbolRequest = {}));
|
|
753
752
|
/**
|
|
754
753
|
* A request to provide commands for the given text document and range.
|
|
755
754
|
*/
|
|
@@ -758,7 +757,7 @@ var CodeActionRequest;
|
|
|
758
757
|
CodeActionRequest.method = 'textDocument/codeAction';
|
|
759
758
|
CodeActionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
760
759
|
CodeActionRequest.type = new messages_1.ProtocolRequestType(CodeActionRequest.method);
|
|
761
|
-
})(CodeActionRequest
|
|
760
|
+
})(CodeActionRequest || (exports.CodeActionRequest = CodeActionRequest = {}));
|
|
762
761
|
/**
|
|
763
762
|
* Request to resolve additional information for a given code action.The request's
|
|
764
763
|
* parameter is of type {@link CodeAction} the response
|
|
@@ -769,7 +768,7 @@ var CodeActionResolveRequest;
|
|
|
769
768
|
CodeActionResolveRequest.method = 'codeAction/resolve';
|
|
770
769
|
CodeActionResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
771
770
|
CodeActionResolveRequest.type = new messages_1.ProtocolRequestType(CodeActionResolveRequest.method);
|
|
772
|
-
})(CodeActionResolveRequest
|
|
771
|
+
})(CodeActionResolveRequest || (exports.CodeActionResolveRequest = CodeActionResolveRequest = {}));
|
|
773
772
|
/**
|
|
774
773
|
* A request to list project-wide symbols matching the query string given
|
|
775
774
|
* by the {@link WorkspaceSymbolParams}. The response is
|
|
@@ -786,7 +785,7 @@ var WorkspaceSymbolRequest;
|
|
|
786
785
|
WorkspaceSymbolRequest.method = 'workspace/symbol';
|
|
787
786
|
WorkspaceSymbolRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
788
787
|
WorkspaceSymbolRequest.type = new messages_1.ProtocolRequestType(WorkspaceSymbolRequest.method);
|
|
789
|
-
})(WorkspaceSymbolRequest
|
|
788
|
+
})(WorkspaceSymbolRequest || (exports.WorkspaceSymbolRequest = WorkspaceSymbolRequest = {}));
|
|
790
789
|
/**
|
|
791
790
|
* A request to resolve the range inside the workspace
|
|
792
791
|
* symbol's location.
|
|
@@ -798,7 +797,7 @@ var WorkspaceSymbolResolveRequest;
|
|
|
798
797
|
WorkspaceSymbolResolveRequest.method = 'workspaceSymbol/resolve';
|
|
799
798
|
WorkspaceSymbolResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
800
799
|
WorkspaceSymbolResolveRequest.type = new messages_1.ProtocolRequestType(WorkspaceSymbolResolveRequest.method);
|
|
801
|
-
})(WorkspaceSymbolResolveRequest
|
|
800
|
+
})(WorkspaceSymbolResolveRequest || (exports.WorkspaceSymbolResolveRequest = WorkspaceSymbolResolveRequest = {}));
|
|
802
801
|
/**
|
|
803
802
|
* A request to provide code lens for the given text document.
|
|
804
803
|
*/
|
|
@@ -807,7 +806,7 @@ var CodeLensRequest;
|
|
|
807
806
|
CodeLensRequest.method = 'textDocument/codeLens';
|
|
808
807
|
CodeLensRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
809
808
|
CodeLensRequest.type = new messages_1.ProtocolRequestType(CodeLensRequest.method);
|
|
810
|
-
})(CodeLensRequest
|
|
809
|
+
})(CodeLensRequest || (exports.CodeLensRequest = CodeLensRequest = {}));
|
|
811
810
|
/**
|
|
812
811
|
* A request to resolve a command for a given code lens.
|
|
813
812
|
*/
|
|
@@ -816,7 +815,7 @@ var CodeLensResolveRequest;
|
|
|
816
815
|
CodeLensResolveRequest.method = 'codeLens/resolve';
|
|
817
816
|
CodeLensResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
818
817
|
CodeLensResolveRequest.type = new messages_1.ProtocolRequestType(CodeLensResolveRequest.method);
|
|
819
|
-
})(CodeLensResolveRequest
|
|
818
|
+
})(CodeLensResolveRequest || (exports.CodeLensResolveRequest = CodeLensResolveRequest = {}));
|
|
820
819
|
/**
|
|
821
820
|
* A request to refresh all code actions
|
|
822
821
|
*
|
|
@@ -827,7 +826,7 @@ var CodeLensRefreshRequest;
|
|
|
827
826
|
CodeLensRefreshRequest.method = `workspace/codeLens/refresh`;
|
|
828
827
|
CodeLensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
829
828
|
CodeLensRefreshRequest.type = new messages_1.ProtocolRequestType0(CodeLensRefreshRequest.method);
|
|
830
|
-
})(CodeLensRefreshRequest
|
|
829
|
+
})(CodeLensRefreshRequest || (exports.CodeLensRefreshRequest = CodeLensRefreshRequest = {}));
|
|
831
830
|
/**
|
|
832
831
|
* A request to provide document links
|
|
833
832
|
*/
|
|
@@ -836,7 +835,7 @@ var DocumentLinkRequest;
|
|
|
836
835
|
DocumentLinkRequest.method = 'textDocument/documentLink';
|
|
837
836
|
DocumentLinkRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
838
837
|
DocumentLinkRequest.type = new messages_1.ProtocolRequestType(DocumentLinkRequest.method);
|
|
839
|
-
})(DocumentLinkRequest
|
|
838
|
+
})(DocumentLinkRequest || (exports.DocumentLinkRequest = DocumentLinkRequest = {}));
|
|
840
839
|
/**
|
|
841
840
|
* Request to resolve additional information for a given document link. The request's
|
|
842
841
|
* parameter is of type {@link DocumentLink} the response
|
|
@@ -847,7 +846,7 @@ var DocumentLinkResolveRequest;
|
|
|
847
846
|
DocumentLinkResolveRequest.method = 'documentLink/resolve';
|
|
848
847
|
DocumentLinkResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
849
848
|
DocumentLinkResolveRequest.type = new messages_1.ProtocolRequestType(DocumentLinkResolveRequest.method);
|
|
850
|
-
})(DocumentLinkResolveRequest
|
|
849
|
+
})(DocumentLinkResolveRequest || (exports.DocumentLinkResolveRequest = DocumentLinkResolveRequest = {}));
|
|
851
850
|
/**
|
|
852
851
|
* A request to format a whole document.
|
|
853
852
|
*/
|
|
@@ -856,7 +855,7 @@ var DocumentFormattingRequest;
|
|
|
856
855
|
DocumentFormattingRequest.method = 'textDocument/formatting';
|
|
857
856
|
DocumentFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
858
857
|
DocumentFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentFormattingRequest.method);
|
|
859
|
-
})(DocumentFormattingRequest
|
|
858
|
+
})(DocumentFormattingRequest || (exports.DocumentFormattingRequest = DocumentFormattingRequest = {}));
|
|
860
859
|
/**
|
|
861
860
|
* A request to format a range in a document.
|
|
862
861
|
*/
|
|
@@ -865,7 +864,7 @@ var DocumentRangeFormattingRequest;
|
|
|
865
864
|
DocumentRangeFormattingRequest.method = 'textDocument/rangeFormatting';
|
|
866
865
|
DocumentRangeFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
867
866
|
DocumentRangeFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentRangeFormattingRequest.method);
|
|
868
|
-
})(DocumentRangeFormattingRequest
|
|
867
|
+
})(DocumentRangeFormattingRequest || (exports.DocumentRangeFormattingRequest = DocumentRangeFormattingRequest = {}));
|
|
869
868
|
/**
|
|
870
869
|
* A request to format ranges in a document.
|
|
871
870
|
*
|
|
@@ -877,7 +876,7 @@ var DocumentRangesFormattingRequest;
|
|
|
877
876
|
DocumentRangesFormattingRequest.method = 'textDocument/rangesFormatting';
|
|
878
877
|
DocumentRangesFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
879
878
|
DocumentRangesFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentRangesFormattingRequest.method);
|
|
880
|
-
})(DocumentRangesFormattingRequest
|
|
879
|
+
})(DocumentRangesFormattingRequest || (exports.DocumentRangesFormattingRequest = DocumentRangesFormattingRequest = {}));
|
|
881
880
|
/**
|
|
882
881
|
* A request to format a document on type.
|
|
883
882
|
*/
|
|
@@ -886,7 +885,7 @@ var DocumentOnTypeFormattingRequest;
|
|
|
886
885
|
DocumentOnTypeFormattingRequest.method = 'textDocument/onTypeFormatting';
|
|
887
886
|
DocumentOnTypeFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
888
887
|
DocumentOnTypeFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentOnTypeFormattingRequest.method);
|
|
889
|
-
})(DocumentOnTypeFormattingRequest
|
|
888
|
+
})(DocumentOnTypeFormattingRequest || (exports.DocumentOnTypeFormattingRequest = DocumentOnTypeFormattingRequest = {}));
|
|
890
889
|
//---- Rename ----------------------------------------------
|
|
891
890
|
var PrepareSupportDefaultBehavior;
|
|
892
891
|
(function (PrepareSupportDefaultBehavior) {
|
|
@@ -895,7 +894,7 @@ var PrepareSupportDefaultBehavior;
|
|
|
895
894
|
* according the to language's syntax rule.
|
|
896
895
|
*/
|
|
897
896
|
PrepareSupportDefaultBehavior.Identifier = 1;
|
|
898
|
-
})(PrepareSupportDefaultBehavior
|
|
897
|
+
})(PrepareSupportDefaultBehavior || (exports.PrepareSupportDefaultBehavior = PrepareSupportDefaultBehavior = {}));
|
|
899
898
|
/**
|
|
900
899
|
* A request to rename a symbol.
|
|
901
900
|
*/
|
|
@@ -904,7 +903,7 @@ var RenameRequest;
|
|
|
904
903
|
RenameRequest.method = 'textDocument/rename';
|
|
905
904
|
RenameRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
906
905
|
RenameRequest.type = new messages_1.ProtocolRequestType(RenameRequest.method);
|
|
907
|
-
})(RenameRequest
|
|
906
|
+
})(RenameRequest || (exports.RenameRequest = RenameRequest = {}));
|
|
908
907
|
/**
|
|
909
908
|
* A request to test and perform the setup necessary for a rename.
|
|
910
909
|
*
|
|
@@ -915,7 +914,7 @@ var PrepareRenameRequest;
|
|
|
915
914
|
PrepareRenameRequest.method = 'textDocument/prepareRename';
|
|
916
915
|
PrepareRenameRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
917
916
|
PrepareRenameRequest.type = new messages_1.ProtocolRequestType(PrepareRenameRequest.method);
|
|
918
|
-
})(PrepareRenameRequest
|
|
917
|
+
})(PrepareRenameRequest || (exports.PrepareRenameRequest = PrepareRenameRequest = {}));
|
|
919
918
|
/**
|
|
920
919
|
* A request send from the client to the server to execute a command. The request might return
|
|
921
920
|
* a workspace edit which the client will apply to the workspace.
|
|
@@ -925,7 +924,7 @@ var ExecuteCommandRequest;
|
|
|
925
924
|
ExecuteCommandRequest.method = 'workspace/executeCommand';
|
|
926
925
|
ExecuteCommandRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
927
926
|
ExecuteCommandRequest.type = new messages_1.ProtocolRequestType(ExecuteCommandRequest.method);
|
|
928
|
-
})(ExecuteCommandRequest
|
|
927
|
+
})(ExecuteCommandRequest || (exports.ExecuteCommandRequest = ExecuteCommandRequest = {}));
|
|
929
928
|
/**
|
|
930
929
|
* A request sent from the server to the client to modified certain resources.
|
|
931
930
|
*/
|
|
@@ -934,4 +933,4 @@ var ApplyWorkspaceEditRequest;
|
|
|
934
933
|
ApplyWorkspaceEditRequest.method = 'workspace/applyEdit';
|
|
935
934
|
ApplyWorkspaceEditRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
936
935
|
ApplyWorkspaceEditRequest.type = new messages_1.ProtocolRequestType('workspace/applyEdit');
|
|
937
|
-
})(ApplyWorkspaceEditRequest
|
|
936
|
+
})(ApplyWorkspaceEditRequest || (exports.ApplyWorkspaceEditRequest = ApplyWorkspaceEditRequest = {}));
|
|
@@ -16,4 +16,4 @@ var LinkedEditingRangeRequest;
|
|
|
16
16
|
LinkedEditingRangeRequest.method = 'textDocument/linkedEditingRange';
|
|
17
17
|
LinkedEditingRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
18
18
|
LinkedEditingRangeRequest.type = new messages_1.ProtocolRequestType(LinkedEditingRangeRequest.method);
|
|
19
|
-
})(LinkedEditingRangeRequest
|
|
19
|
+
})(LinkedEditingRangeRequest || (exports.LinkedEditingRangeRequest = LinkedEditingRangeRequest = {}));
|
|
@@ -27,7 +27,7 @@ export declare namespace UniquenessLevel {
|
|
|
27
27
|
*/
|
|
28
28
|
const global = "global";
|
|
29
29
|
}
|
|
30
|
-
export
|
|
30
|
+
export type UniquenessLevel = 'document' | 'project' | 'group' | 'scheme' | 'global';
|
|
31
31
|
/**
|
|
32
32
|
* The moniker kind.
|
|
33
33
|
*
|
|
@@ -48,7 +48,7 @@ export declare namespace MonikerKind {
|
|
|
48
48
|
*/
|
|
49
49
|
const local = "local";
|
|
50
50
|
}
|
|
51
|
-
export
|
|
51
|
+
export type MonikerKind = 'import' | 'export' | 'local';
|
|
52
52
|
/**
|
|
53
53
|
* Moniker definition to match LSIF 0.5 moniker definition.
|
|
54
54
|
*
|
|
@@ -33,7 +33,7 @@ var UniquenessLevel;
|
|
|
33
33
|
* The moniker is globally unique
|
|
34
34
|
*/
|
|
35
35
|
UniquenessLevel.global = 'global';
|
|
36
|
-
})(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
|
|
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
|
|
68
|
+
})(MonikerRequest || (exports.MonikerRequest = MonikerRequest = {}));
|