vscode-languageserver-protocol 3.15.0-next.9 → 3.15.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/.eslintignore +1 -0
- package/lib/main.d.ts +53 -31
- package/lib/main.js +34 -23
- package/lib/messages.d.ts +15 -0
- package/lib/messages.js +31 -0
- package/lib/protocol.callHierarchy.proposed.d.ts +133 -70
- package/lib/protocol.callHierarchy.proposed.js +26 -22
- package/lib/protocol.colorProvider.d.ts +6 -7
- package/lib/protocol.colorProvider.js +5 -2
- package/lib/protocol.configuration.d.ts +3 -2
- package/lib/protocol.configuration.js +2 -2
- package/lib/protocol.d.ts +149 -54
- package/lib/protocol.declaration.d.ts +6 -3
- package/lib/protocol.declaration.js +4 -1
- package/lib/protocol.foldingRange.d.ts +5 -2
- package/lib/protocol.foldingRange.js +4 -1
- package/lib/protocol.implementation.d.ts +6 -3
- package/lib/protocol.implementation.js +4 -1
- package/lib/protocol.js +96 -41
- package/lib/{protocol.progress.proposed.d.ts → protocol.progress.d.ts} +4 -3
- package/lib/{protocol.progress.proposed.js → protocol.progress.js} +3 -2
- package/lib/protocol.selectionRange.d.ts +5 -2
- package/lib/protocol.selectionRange.js +4 -1
- package/lib/protocol.sematicTokens.proposed.d.ts +240 -0
- package/lib/protocol.sematicTokens.proposed.js +93 -0
- package/lib/protocol.typeDefinition.d.ts +6 -3
- package/lib/protocol.typeDefinition.js +4 -1
- package/lib/protocol.workspaceFolders.d.ts +5 -4
- package/lib/protocol.workspaceFolders.js +3 -3
- package/lib/utils/is.d.ts +0 -1
- package/lib/utils/is.js +0 -4
- package/package.json +3 -3
- package/.eslintrc.json +0 -6
- package/vscode-languageserver-protocol.lsif +0 -18295
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
'use strict';
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
const
|
|
7
|
+
const messages_1 = require("./messages");
|
|
8
8
|
/**
|
|
9
9
|
* The 'workspace/configuration' request is sent from the server to the client to fetch a certain
|
|
10
10
|
* configuration setting.
|
|
@@ -16,5 +16,5 @@ const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
|
|
16
16
|
*/
|
|
17
17
|
var ConfigurationRequest;
|
|
18
18
|
(function (ConfigurationRequest) {
|
|
19
|
-
ConfigurationRequest.type = new
|
|
19
|
+
ConfigurationRequest.type = new messages_1.ProtocolRequestType('workspace/configuration');
|
|
20
20
|
})(ConfigurationRequest = exports.ConfigurationRequest || (exports.ConfigurationRequest = {}));
|
package/lib/protocol.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { ProgressToken, ProgressType } from 'vscode-jsonrpc';
|
|
2
|
+
import { ProtocolRequestType, ProtocolRequestType0, ProtocolNotificationType, ProtocolNotificationType0 } from './messages';
|
|
3
|
+
import { Position, Range, Location, LocationLink, Diagnostic, Command, TextEdit, WorkspaceEdit, DocumentUri, TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem, CompletionItem, CompletionList, Hover, SignatureHelp, ReferenceContext, DocumentHighlight, SymbolInformation, CodeLens, CodeActionContext, FormattingOptions, DocumentLink, MarkupKind, SymbolKind, CompletionItemKind, CodeAction, CodeActionKind, DocumentSymbol, CompletionItemTag, DiagnosticTag } from 'vscode-languageserver-types';
|
|
4
|
+
import { ImplementationRequest, ImplementationClientCapabilities, ImplementationOptions, ImplementationRegistrationOptions, ImplementationParams } from './protocol.implementation';
|
|
5
|
+
import { TypeDefinitionRequest, TypeDefinitionClientCapabilities, TypeDefinitionOptions, TypeDefinitionRegistrationOptions, TypeDefinitionParams } from './protocol.typeDefinition';
|
|
5
6
|
import { WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFolder, WorkspaceFoldersChangeEvent, WorkspaceFoldersInitializeParams, WorkspaceFoldersClientCapabilities, WorkspaceFoldersServerCapabilities } from './protocol.workspaceFolders';
|
|
6
7
|
import { ConfigurationRequest, ConfigurationParams, ConfigurationItem, ConfigurationClientCapabilities } from './protocol.configuration';
|
|
7
8
|
import { DocumentColorRequest, ColorPresentationRequest, DocumentColorOptions, DocumentColorParams, ColorPresentationParams, DocumentColorClientCapabilities, DocumentColorRegistrationOptions } from './protocol.colorProvider';
|
|
8
9
|
import { FoldingRangeClientCapabilities, FoldingRangeOptions, FoldingRangeRequest, FoldingRangeParams, FoldingRangeRegistrationOptions } from './protocol.foldingRange';
|
|
9
|
-
import { DeclarationClientCapabilities, DeclarationRequest, DeclarationOptions, DeclarationRegistrationOptions } from './protocol.declaration';
|
|
10
|
+
import { DeclarationClientCapabilities, DeclarationRequest, DeclarationOptions, DeclarationRegistrationOptions, DeclarationParams } from './protocol.declaration';
|
|
10
11
|
import { SelectionRangeClientCapabilities, SelectionRangeOptions, SelectionRangeRequest, SelectionRangeParams, SelectionRangeRegistrationOptions } from './protocol.selectionRange';
|
|
12
|
+
import { WorkDoneProgressClientCapabilities, WorkDoneProgressBegin, WorkDoneProgressReport, WorkDoneProgressEnd, WorkDoneProgress, WorkDoneProgressCreateParams, WorkDoneProgressCreateRequest, WorkDoneProgressCancelParams, WorkDoneProgressCancelNotification } from './protocol.progress';
|
|
11
13
|
/**
|
|
12
14
|
* A document filter denotes a document by different properties like
|
|
13
15
|
* the [language](#TextDocument.languageId), the [scheme](#Uri.scheme) of
|
|
@@ -92,7 +94,7 @@ export interface RegistrationParams {
|
|
|
92
94
|
* handler on the client side.
|
|
93
95
|
*/
|
|
94
96
|
export declare namespace RegistrationRequest {
|
|
95
|
-
const type:
|
|
97
|
+
const type: ProtocolRequestType<RegistrationParams, void, never, void, void>;
|
|
96
98
|
}
|
|
97
99
|
/**
|
|
98
100
|
* General parameters to unregister a request or notification.
|
|
@@ -116,7 +118,7 @@ export interface UnregistrationParams {
|
|
|
116
118
|
* handler on the client side.
|
|
117
119
|
*/
|
|
118
120
|
export declare namespace UnregistrationRequest {
|
|
119
|
-
const type:
|
|
121
|
+
const type: ProtocolRequestType<UnregistrationParams, void, never, void, void>;
|
|
120
122
|
}
|
|
121
123
|
export interface WorkDoneProgressParams {
|
|
122
124
|
/**
|
|
@@ -183,7 +185,7 @@ export declare namespace FailureHandlingKind {
|
|
|
183
185
|
const TextOnlyTransactional: FailureHandlingKind;
|
|
184
186
|
/**
|
|
185
187
|
* The client tries to undo the operations already executed. But there is no
|
|
186
|
-
*
|
|
188
|
+
* guarantee that this is succeeding.
|
|
187
189
|
*/
|
|
188
190
|
const Undo: FailureHandlingKind;
|
|
189
191
|
}
|
|
@@ -340,9 +342,9 @@ export interface _ClientCapabilities {
|
|
|
340
342
|
/**
|
|
341
343
|
* Experimental client capabilities.
|
|
342
344
|
*/
|
|
343
|
-
experimental?:
|
|
345
|
+
experimental?: object;
|
|
344
346
|
}
|
|
345
|
-
export declare type ClientCapabilities = _ClientCapabilities & WorkspaceFoldersClientCapabilities & ConfigurationClientCapabilities &
|
|
347
|
+
export declare type ClientCapabilities = _ClientCapabilities & WorkspaceFoldersClientCapabilities & ConfigurationClientCapabilities & WorkDoneProgressClientCapabilities;
|
|
346
348
|
/**
|
|
347
349
|
* Static registration options to be returned in the initialize
|
|
348
350
|
* request.
|
|
@@ -518,7 +520,7 @@ export declare type ServerCapabilities<T = any> = _ServerCapabilities<T> & Works
|
|
|
518
520
|
* resolves to such.
|
|
519
521
|
*/
|
|
520
522
|
export declare namespace InitializeRequest {
|
|
521
|
-
const type:
|
|
523
|
+
const type: ProtocolRequestType<_InitializeParams & WorkspaceFoldersInitializeParams & WorkDoneProgressParams, InitializeResult<any>, never, InitializeError, void>;
|
|
522
524
|
}
|
|
523
525
|
/**
|
|
524
526
|
* The initialize parameters
|
|
@@ -633,7 +635,7 @@ export interface InitializedParams {
|
|
|
633
635
|
* is allowed to send requests from the server to the client.
|
|
634
636
|
*/
|
|
635
637
|
export declare namespace InitializedNotification {
|
|
636
|
-
const type:
|
|
638
|
+
const type: ProtocolNotificationType<InitializedParams, void>;
|
|
637
639
|
}
|
|
638
640
|
/**
|
|
639
641
|
* A shutdown request is sent from the client to the server.
|
|
@@ -642,14 +644,14 @@ export declare namespace InitializedNotification {
|
|
|
642
644
|
* is the exit event.
|
|
643
645
|
*/
|
|
644
646
|
export declare namespace ShutdownRequest {
|
|
645
|
-
const type:
|
|
647
|
+
const type: ProtocolRequestType0<void, never, void, void>;
|
|
646
648
|
}
|
|
647
649
|
/**
|
|
648
650
|
* The exit event is sent from the client to the server to
|
|
649
651
|
* ask the server to exit its process.
|
|
650
652
|
*/
|
|
651
653
|
export declare namespace ExitNotification {
|
|
652
|
-
const type:
|
|
654
|
+
const type: ProtocolNotificationType0<void>;
|
|
653
655
|
}
|
|
654
656
|
export interface DidChangeConfigurationClientCapabilities {
|
|
655
657
|
/**
|
|
@@ -663,7 +665,7 @@ export interface DidChangeConfigurationClientCapabilities {
|
|
|
663
665
|
* the changed configuration as defined by the language client.
|
|
664
666
|
*/
|
|
665
667
|
export declare namespace DidChangeConfigurationNotification {
|
|
666
|
-
const type:
|
|
668
|
+
const type: ProtocolNotificationType<DidChangeConfigurationParams, DidChangeConfigurationRegistrationOptions>;
|
|
667
669
|
}
|
|
668
670
|
export interface DidChangeConfigurationRegistrationOptions {
|
|
669
671
|
section?: string | string[];
|
|
@@ -717,7 +719,7 @@ export interface ShowMessageParams {
|
|
|
717
719
|
* the client to display a particular message in the user interface.
|
|
718
720
|
*/
|
|
719
721
|
export declare namespace ShowMessageNotification {
|
|
720
|
-
const type:
|
|
722
|
+
const type: ProtocolNotificationType<ShowMessageParams, void>;
|
|
721
723
|
}
|
|
722
724
|
export interface MessageActionItem {
|
|
723
725
|
/**
|
|
@@ -744,14 +746,14 @@ export interface ShowMessageRequestParams {
|
|
|
744
746
|
* and a set of options actions to the user.
|
|
745
747
|
*/
|
|
746
748
|
export declare namespace ShowMessageRequest {
|
|
747
|
-
const type:
|
|
749
|
+
const type: ProtocolRequestType<ShowMessageRequestParams, MessageActionItem | null, never, void, void>;
|
|
748
750
|
}
|
|
749
751
|
/**
|
|
750
752
|
* The log message notification is sent from the server to the client to ask
|
|
751
753
|
* the client to log a particular message.
|
|
752
754
|
*/
|
|
753
755
|
export declare namespace LogMessageNotification {
|
|
754
|
-
const type:
|
|
756
|
+
const type: ProtocolNotificationType<LogMessageParams, void>;
|
|
755
757
|
}
|
|
756
758
|
/**
|
|
757
759
|
* The log message parameters.
|
|
@@ -771,7 +773,7 @@ export interface LogMessageParams {
|
|
|
771
773
|
* the client to log telemetry data.
|
|
772
774
|
*/
|
|
773
775
|
export declare namespace TelemetryEventNotification {
|
|
774
|
-
const type:
|
|
776
|
+
const type: ProtocolNotificationType<any, void>;
|
|
775
777
|
}
|
|
776
778
|
export interface TextDocumentSyncClientCapabilities {
|
|
777
779
|
/**
|
|
@@ -862,8 +864,34 @@ export interface DidOpenTextDocumentParams {
|
|
|
862
864
|
* is one.
|
|
863
865
|
*/
|
|
864
866
|
export declare namespace DidOpenTextDocumentNotification {
|
|
865
|
-
const
|
|
867
|
+
const method: 'textDocument/didOpen';
|
|
868
|
+
const type: ProtocolNotificationType<DidOpenTextDocumentParams, TextDocumentRegistrationOptions>;
|
|
866
869
|
}
|
|
870
|
+
/**
|
|
871
|
+
* An event describing a change to a text document. If range and rangeLength are omitted
|
|
872
|
+
* the new text is considered to be the full content of the document.
|
|
873
|
+
*/
|
|
874
|
+
export declare type TextDocumentContentChangeEvent = {
|
|
875
|
+
/**
|
|
876
|
+
* The range of the document that changed.
|
|
877
|
+
*/
|
|
878
|
+
range: Range;
|
|
879
|
+
/**
|
|
880
|
+
* The optional length of the range that got replaced.
|
|
881
|
+
*
|
|
882
|
+
* @deprecated use range instead.
|
|
883
|
+
*/
|
|
884
|
+
rangeLength?: number;
|
|
885
|
+
/**
|
|
886
|
+
* The new text for the provided range.
|
|
887
|
+
*/
|
|
888
|
+
text: string;
|
|
889
|
+
} | {
|
|
890
|
+
/**
|
|
891
|
+
* The new text of the whole document.
|
|
892
|
+
*/
|
|
893
|
+
text: string;
|
|
894
|
+
};
|
|
867
895
|
/**
|
|
868
896
|
* The change text document notification's parameters.
|
|
869
897
|
*/
|
|
@@ -876,8 +904,16 @@ export interface DidChangeTextDocumentParams {
|
|
|
876
904
|
textDocument: VersionedTextDocumentIdentifier;
|
|
877
905
|
/**
|
|
878
906
|
* The actual content changes. The content changes describe single state changes
|
|
879
|
-
* to the document. So if there are two content changes c1
|
|
880
|
-
* in state S then c1
|
|
907
|
+
* to the document. So if there are two content changes c1 (at array index 0) and
|
|
908
|
+
* c2 (at array index 1) for a document in state S then c1 moves the document from
|
|
909
|
+
* S to S' and c2 from S' to S''. So c1 is computed on the state S and c2 is computed
|
|
910
|
+
* on the state S'.
|
|
911
|
+
*
|
|
912
|
+
* To mirror the content of a document using change events use the following approach:
|
|
913
|
+
* - start with the same initial content
|
|
914
|
+
* - apply the 'textDocument/didChange' notifications in the order you recevie them.
|
|
915
|
+
* - apply the `TextDocumentContentChangeEvent`s in a single notification in the order
|
|
916
|
+
* you receive them.
|
|
881
917
|
*/
|
|
882
918
|
contentChanges: TextDocumentContentChangeEvent[];
|
|
883
919
|
}
|
|
@@ -895,7 +931,8 @@ export interface TextDocumentChangeRegistrationOptions extends TextDocumentRegis
|
|
|
895
931
|
* changes to a text document.
|
|
896
932
|
*/
|
|
897
933
|
export declare namespace DidChangeTextDocumentNotification {
|
|
898
|
-
const
|
|
934
|
+
const method: 'textDocument/didChange';
|
|
935
|
+
const type: ProtocolNotificationType<DidChangeTextDocumentParams, TextDocumentChangeRegistrationOptions>;
|
|
899
936
|
}
|
|
900
937
|
/**
|
|
901
938
|
* The parameters send in a close text document notification
|
|
@@ -916,7 +953,8 @@ export interface DidCloseTextDocumentParams {
|
|
|
916
953
|
* notification requires a previous open notification to be sent.
|
|
917
954
|
*/
|
|
918
955
|
export declare namespace DidCloseTextDocumentNotification {
|
|
919
|
-
const
|
|
956
|
+
const method: 'textDocument/didClose';
|
|
957
|
+
const type: ProtocolNotificationType<DidCloseTextDocumentParams, TextDocumentRegistrationOptions>;
|
|
920
958
|
}
|
|
921
959
|
/**
|
|
922
960
|
* The parameters send in a save text document notification
|
|
@@ -942,8 +980,28 @@ export interface TextDocumentSaveRegistrationOptions extends TextDocumentRegistr
|
|
|
942
980
|
* the document got saved in the client.
|
|
943
981
|
*/
|
|
944
982
|
export declare namespace DidSaveTextDocumentNotification {
|
|
945
|
-
const
|
|
983
|
+
const method: 'textDocument/didSave';
|
|
984
|
+
const type: ProtocolNotificationType<DidSaveTextDocumentParams, TextDocumentSaveRegistrationOptions>;
|
|
946
985
|
}
|
|
986
|
+
/**
|
|
987
|
+
* Represents reasons why a text document is saved.
|
|
988
|
+
*/
|
|
989
|
+
export declare namespace TextDocumentSaveReason {
|
|
990
|
+
/**
|
|
991
|
+
* Manually triggered, e.g. by the user pressing save, by starting debugging,
|
|
992
|
+
* or by an API call.
|
|
993
|
+
*/
|
|
994
|
+
const Manual: 1;
|
|
995
|
+
/**
|
|
996
|
+
* Automatic after a delay.
|
|
997
|
+
*/
|
|
998
|
+
const AfterDelay: 2;
|
|
999
|
+
/**
|
|
1000
|
+
* When the editor lost focus.
|
|
1001
|
+
*/
|
|
1002
|
+
const FocusOut: 3;
|
|
1003
|
+
}
|
|
1004
|
+
export declare type TextDocumentSaveReason = 1 | 2 | 3;
|
|
947
1005
|
/**
|
|
948
1006
|
* The parameters send in a will save text document notification.
|
|
949
1007
|
*/
|
|
@@ -962,7 +1020,8 @@ export interface WillSaveTextDocumentParams {
|
|
|
962
1020
|
* the document is actually saved.
|
|
963
1021
|
*/
|
|
964
1022
|
export declare namespace WillSaveTextDocumentNotification {
|
|
965
|
-
const
|
|
1023
|
+
const method: 'textDocument/willSave';
|
|
1024
|
+
const type: ProtocolNotificationType<WillSaveTextDocumentParams, TextDocumentRegistrationOptions>;
|
|
966
1025
|
}
|
|
967
1026
|
/**
|
|
968
1027
|
* A document will save request is sent from the client to the server before
|
|
@@ -973,7 +1032,8 @@ export declare namespace WillSaveTextDocumentNotification {
|
|
|
973
1032
|
* reliable.
|
|
974
1033
|
*/
|
|
975
1034
|
export declare namespace WillSaveTextDocumentWaitUntilRequest {
|
|
976
|
-
const
|
|
1035
|
+
const method: 'textDocument/willSaveWaitUntil';
|
|
1036
|
+
const type: ProtocolRequestType<WillSaveTextDocumentParams, TextEdit[] | null, never, void, TextDocumentRegistrationOptions>;
|
|
977
1037
|
}
|
|
978
1038
|
export interface DidChangeWatchedFilesClientCapabilities {
|
|
979
1039
|
/**
|
|
@@ -988,7 +1048,7 @@ export interface DidChangeWatchedFilesClientCapabilities {
|
|
|
988
1048
|
* the client detects changes to file watched by the language client.
|
|
989
1049
|
*/
|
|
990
1050
|
export declare namespace DidChangeWatchedFilesNotification {
|
|
991
|
-
const type:
|
|
1051
|
+
const type: ProtocolNotificationType<DidChangeWatchedFilesParams, DidChangeWatchedFilesRegistrationOptions>;
|
|
992
1052
|
}
|
|
993
1053
|
/**
|
|
994
1054
|
* The watched files change notification's parameters.
|
|
@@ -1091,6 +1151,13 @@ export interface PublishDiagnosticsClientCapabilities {
|
|
|
1091
1151
|
*/
|
|
1092
1152
|
valueSet: DiagnosticTag[];
|
|
1093
1153
|
};
|
|
1154
|
+
/**
|
|
1155
|
+
* Whether the client interprets the version property of the
|
|
1156
|
+
* `textDocument/publishDiagnostics` notification`s parameter.
|
|
1157
|
+
*
|
|
1158
|
+
* @since 3.15.0
|
|
1159
|
+
*/
|
|
1160
|
+
versionSupport?: boolean;
|
|
1094
1161
|
}
|
|
1095
1162
|
/**
|
|
1096
1163
|
* The publish diagnostic notification's parameters.
|
|
@@ -1116,7 +1183,7 @@ export interface PublishDiagnosticsParams {
|
|
|
1116
1183
|
* results of validation runs.
|
|
1117
1184
|
*/
|
|
1118
1185
|
export declare namespace PublishDiagnosticsNotification {
|
|
1119
|
-
const type:
|
|
1186
|
+
const type: ProtocolNotificationType<PublishDiagnosticsParams, void>;
|
|
1120
1187
|
}
|
|
1121
1188
|
/**
|
|
1122
1189
|
* Completion client capabilities
|
|
@@ -1255,6 +1322,9 @@ export interface CompletionOptions extends WorkDoneProgressOptions {
|
|
|
1255
1322
|
* if clients don't support individual commmit characters per completion item. See
|
|
1256
1323
|
* `ClientCapabilities.textDocument.completion.completionItem.commitCharactersSupport`
|
|
1257
1324
|
*
|
|
1325
|
+
* If a server provides both `allCommitCharacters` and commit characters on an individual
|
|
1326
|
+
* completion item the ones on the completion item win.
|
|
1327
|
+
*
|
|
1258
1328
|
* @since 3.2.0
|
|
1259
1329
|
*/
|
|
1260
1330
|
allCommitCharacters?: string[];
|
|
@@ -1281,7 +1351,9 @@ export interface CompletionRegistrationOptions extends TextDocumentRegistrationO
|
|
|
1281
1351
|
* `filterText`, `insertText`, and `textEdit`, must not be changed during resolve.
|
|
1282
1352
|
*/
|
|
1283
1353
|
export declare namespace CompletionRequest {
|
|
1284
|
-
const
|
|
1354
|
+
const method: 'textDocument/completion';
|
|
1355
|
+
const type: ProtocolRequestType<CompletionParams, CompletionList | CompletionItem[] | null, CompletionItem[], void, CompletionRegistrationOptions>;
|
|
1356
|
+
/** @deprecated Use CompletionRequest.type */
|
|
1285
1357
|
const resultType: ProgressType<CompletionItem[]>;
|
|
1286
1358
|
}
|
|
1287
1359
|
/**
|
|
@@ -1290,7 +1362,8 @@ export declare namespace CompletionRequest {
|
|
|
1290
1362
|
* is of type [CompletionItem](#CompletionItem) or a Thenable that resolves to such.
|
|
1291
1363
|
*/
|
|
1292
1364
|
export declare namespace CompletionResolveRequest {
|
|
1293
|
-
const
|
|
1365
|
+
const method: 'completionItem/resolve';
|
|
1366
|
+
const type: ProtocolRequestType<CompletionItem, CompletionItem, never, void, void>;
|
|
1294
1367
|
}
|
|
1295
1368
|
export interface HoverClientCapabilities {
|
|
1296
1369
|
/**
|
|
@@ -1324,7 +1397,8 @@ export interface HoverRegistrationOptions extends TextDocumentRegistrationOption
|
|
|
1324
1397
|
* type [Hover](#Hover) or a Thenable that resolves to such.
|
|
1325
1398
|
*/
|
|
1326
1399
|
export declare namespace HoverRequest {
|
|
1327
|
-
const
|
|
1400
|
+
const method: 'textDocument/hover';
|
|
1401
|
+
const type: ProtocolRequestType<HoverParams, Hover | null, never, void, HoverRegistrationOptions>;
|
|
1328
1402
|
}
|
|
1329
1403
|
/**
|
|
1330
1404
|
* Client Capabilities for a [SignatureHelpRequest](#SignatureHelpRequest).
|
|
@@ -1454,7 +1528,8 @@ export interface SignatureHelpParams extends TextDocumentPositionParams, WorkDon
|
|
|
1454
1528
|
export interface SignatureHelpRegistrationOptions extends TextDocumentRegistrationOptions, SignatureHelpOptions {
|
|
1455
1529
|
}
|
|
1456
1530
|
export declare namespace SignatureHelpRequest {
|
|
1457
|
-
const
|
|
1531
|
+
const method: 'textDocument/signatureHelp';
|
|
1532
|
+
const type: ProtocolRequestType<SignatureHelpParams, SignatureHelp | null, never, void, SignatureHelpRegistrationOptions>;
|
|
1458
1533
|
}
|
|
1459
1534
|
/**
|
|
1460
1535
|
* Client Capabilities for a [DefinitionRequest](#DefinitionRequest).
|
|
@@ -1494,8 +1569,10 @@ export interface DefinitionRegistrationOptions extends TextDocumentRegistrationO
|
|
|
1494
1569
|
* to such.
|
|
1495
1570
|
*/
|
|
1496
1571
|
export declare namespace DefinitionRequest {
|
|
1497
|
-
const
|
|
1498
|
-
const
|
|
1572
|
+
const method: 'textDocument/definition';
|
|
1573
|
+
const type: ProtocolRequestType<DefinitionParams, Location | Location[] | LocationLink[] | null, LocationLink[] | Location[], void, DefinitionRegistrationOptions>;
|
|
1574
|
+
/** @deprecated Use DefinitionRequest.type */
|
|
1575
|
+
const resultType: ProgressType<LocationLink[] | Location[]>;
|
|
1499
1576
|
}
|
|
1500
1577
|
/**
|
|
1501
1578
|
* Client Capabilities for a [ReferencesRequest](#ReferencesRequest).
|
|
@@ -1529,7 +1606,9 @@ export interface ReferenceRegistrationOptions extends TextDocumentRegistrationOp
|
|
|
1529
1606
|
* [Location[]](#Location) or a Thenable that resolves to such.
|
|
1530
1607
|
*/
|
|
1531
1608
|
export declare namespace ReferencesRequest {
|
|
1532
|
-
const
|
|
1609
|
+
const method: 'textDocument/references';
|
|
1610
|
+
const type: ProtocolRequestType<ReferenceParams, Location[] | null, Location[], void, ReferenceRegistrationOptions>;
|
|
1611
|
+
/** @deprecated Use ReferencesRequest.type */
|
|
1533
1612
|
const resultType: ProgressType<Location[]>;
|
|
1534
1613
|
}
|
|
1535
1614
|
/**
|
|
@@ -1563,7 +1642,9 @@ export interface DocumentHighlightRegistrationOptions extends TextDocumentRegist
|
|
|
1563
1642
|
* (#DocumentHighlight) or a Thenable that resolves to such.
|
|
1564
1643
|
*/
|
|
1565
1644
|
export declare namespace DocumentHighlightRequest {
|
|
1566
|
-
const
|
|
1645
|
+
const method: 'textDocument/documentHighlight';
|
|
1646
|
+
const type: ProtocolRequestType<DocumentHighlightParams, DocumentHighlight[] | null, DocumentHighlight[], void, DocumentHighlightRegistrationOptions>;
|
|
1647
|
+
/** @deprecated Use DocumentHighlightRequest.type */
|
|
1567
1648
|
const resultType: ProgressType<DocumentHighlight[]>;
|
|
1568
1649
|
}
|
|
1569
1650
|
/**
|
|
@@ -1621,8 +1702,10 @@ export interface DocumentSymbolRegistrationOptions extends TextDocumentRegistrat
|
|
|
1621
1702
|
* that resolves to such.
|
|
1622
1703
|
*/
|
|
1623
1704
|
export declare namespace DocumentSymbolRequest {
|
|
1624
|
-
const
|
|
1625
|
-
const
|
|
1705
|
+
const method: 'textDocument/documentSymbol';
|
|
1706
|
+
const type: ProtocolRequestType<DocumentSymbolParams, DocumentSymbol[] | SymbolInformation[] | null, DocumentSymbol[] | SymbolInformation[], void, DocumentSymbolRegistrationOptions>;
|
|
1707
|
+
/** @deprecated Use DocumentSymbolRequest.type */
|
|
1708
|
+
const resultType: ProgressType<DocumentSymbol[] | SymbolInformation[]>;
|
|
1626
1709
|
}
|
|
1627
1710
|
/**
|
|
1628
1711
|
* The Client Capabilities of a [CodeActionRequest](#CodeActionRequest).
|
|
@@ -1697,7 +1780,9 @@ export interface CodeActionRegistrationOptions extends TextDocumentRegistrationO
|
|
|
1697
1780
|
* A request to provide commands for the given text document and range.
|
|
1698
1781
|
*/
|
|
1699
1782
|
export declare namespace CodeActionRequest {
|
|
1700
|
-
const
|
|
1783
|
+
const method: 'textDocument/codeAction';
|
|
1784
|
+
const type: ProtocolRequestType<CodeActionParams, (Command | CodeAction)[] | null, (Command | CodeAction)[], void, CodeActionRegistrationOptions>;
|
|
1785
|
+
/** @deprecated Use CodeActionRequest.type */
|
|
1701
1786
|
const resultType: ProgressType<(Command | CodeAction)[]>;
|
|
1702
1787
|
}
|
|
1703
1788
|
/**
|
|
@@ -1752,7 +1837,9 @@ export interface WorkspaceSymbolRegistrationOptions extends WorkspaceSymbolOptio
|
|
|
1752
1837
|
* resolves to such.
|
|
1753
1838
|
*/
|
|
1754
1839
|
export declare namespace WorkspaceSymbolRequest {
|
|
1755
|
-
const
|
|
1840
|
+
const method: 'workspace/symbol';
|
|
1841
|
+
const type: ProtocolRequestType<WorkspaceSymbolParams, SymbolInformation[] | null, SymbolInformation[], void, WorkspaceSymbolRegistrationOptions>;
|
|
1842
|
+
/** @deprecated Use WorkspaceSymbolRequest.type */
|
|
1756
1843
|
const resultType: ProgressType<SymbolInformation[]>;
|
|
1757
1844
|
}
|
|
1758
1845
|
/**
|
|
@@ -1791,14 +1878,15 @@ export interface CodeLensRegistrationOptions extends TextDocumentRegistrationOpt
|
|
|
1791
1878
|
* A request to provide code lens for the given text document.
|
|
1792
1879
|
*/
|
|
1793
1880
|
export declare namespace CodeLensRequest {
|
|
1794
|
-
const type:
|
|
1881
|
+
const type: ProtocolRequestType<CodeLensParams, CodeLens[] | null, CodeLens[], void, CodeLensRegistrationOptions>;
|
|
1882
|
+
/** @deprecated Use CodeLensRequest.type */
|
|
1795
1883
|
const resultType: ProgressType<CodeLens[]>;
|
|
1796
1884
|
}
|
|
1797
1885
|
/**
|
|
1798
1886
|
* A request to resolve a command for a given code lens.
|
|
1799
1887
|
*/
|
|
1800
1888
|
export declare namespace CodeLensResolveRequest {
|
|
1801
|
-
const type:
|
|
1889
|
+
const type: ProtocolRequestType<CodeLens, CodeLens, never, void, void>;
|
|
1802
1890
|
}
|
|
1803
1891
|
/**
|
|
1804
1892
|
* The client capabilities of a [DocumentLinkRequest](#DocumentLinkRequest).
|
|
@@ -1842,7 +1930,9 @@ export interface DocumentLinkRegistrationOptions extends TextDocumentRegistratio
|
|
|
1842
1930
|
* A request to provide document links
|
|
1843
1931
|
*/
|
|
1844
1932
|
export declare namespace DocumentLinkRequest {
|
|
1845
|
-
const
|
|
1933
|
+
const method: 'textDocument/documentLink';
|
|
1934
|
+
const type: ProtocolRequestType<DocumentLinkParams, DocumentLink[] | null, DocumentLink[], void, DocumentLinkRegistrationOptions>;
|
|
1935
|
+
/** @deprecated Use DocumentLinkRequest.type */
|
|
1846
1936
|
const resultType: ProgressType<DocumentLink[]>;
|
|
1847
1937
|
}
|
|
1848
1938
|
/**
|
|
@@ -1851,7 +1941,7 @@ export declare namespace DocumentLinkRequest {
|
|
|
1851
1941
|
* is of type [DocumentLink](#DocumentLink) or a Thenable that resolves to such.
|
|
1852
1942
|
*/
|
|
1853
1943
|
export declare namespace DocumentLinkResolveRequest {
|
|
1854
|
-
const type:
|
|
1944
|
+
const type: ProtocolRequestType<DocumentLink, DocumentLink, never, void, void>;
|
|
1855
1945
|
}
|
|
1856
1946
|
/**
|
|
1857
1947
|
* Client capabilities of a [DocumentFormattingRequest](#DocumentFormattingRequest).
|
|
@@ -1889,7 +1979,8 @@ export interface DocumentFormattingRegistrationOptions extends TextDocumentRegis
|
|
|
1889
1979
|
* A request to to format a whole document.
|
|
1890
1980
|
*/
|
|
1891
1981
|
export declare namespace DocumentFormattingRequest {
|
|
1892
|
-
const
|
|
1982
|
+
const method: 'textDocument/formatting';
|
|
1983
|
+
const type: ProtocolRequestType<DocumentFormattingParams, TextEdit[] | null, never, void, DocumentFormattingRegistrationOptions>;
|
|
1893
1984
|
}
|
|
1894
1985
|
/**
|
|
1895
1986
|
* Client capabilities of a [DocumentRangeFormattingRequest](#DocumentRangeFormattingRequest).
|
|
@@ -1931,7 +2022,8 @@ export interface DocumentRangeFormattingRegistrationOptions extends TextDocument
|
|
|
1931
2022
|
* A request to to format a range in a document.
|
|
1932
2023
|
*/
|
|
1933
2024
|
export declare namespace DocumentRangeFormattingRequest {
|
|
1934
|
-
const
|
|
2025
|
+
const method: 'textDocument/rangeFormatting';
|
|
2026
|
+
const type: ProtocolRequestType<DocumentRangeFormattingParams, TextEdit[] | null, never, void, DocumentRangeFormattingRegistrationOptions>;
|
|
1935
2027
|
}
|
|
1936
2028
|
/**
|
|
1937
2029
|
* Client capabilities of a [DocumentOnTypeFormattingRequest](#DocumentOnTypeFormattingRequest).
|
|
@@ -1985,7 +2077,8 @@ export interface DocumentOnTypeFormattingRegistrationOptions extends TextDocumen
|
|
|
1985
2077
|
* A request to format a document on type.
|
|
1986
2078
|
*/
|
|
1987
2079
|
export declare namespace DocumentOnTypeFormattingRequest {
|
|
1988
|
-
const
|
|
2080
|
+
const method: 'textDocument/onTypeFormatting';
|
|
2081
|
+
const type: ProtocolRequestType<DocumentOnTypeFormattingParams, TextEdit[] | null, never, void, DocumentOnTypeFormattingRegistrationOptions>;
|
|
1989
2082
|
}
|
|
1990
2083
|
export interface RenameClientCapabilities {
|
|
1991
2084
|
/**
|
|
@@ -2039,7 +2132,8 @@ export interface RenameRegistrationOptions extends TextDocumentRegistrationOptio
|
|
|
2039
2132
|
* A request to rename a symbol.
|
|
2040
2133
|
*/
|
|
2041
2134
|
export declare namespace RenameRequest {
|
|
2042
|
-
const
|
|
2135
|
+
const method: 'textDocument/rename';
|
|
2136
|
+
const type: ProtocolRequestType<RenameParams, WorkspaceEdit | null, never, void, RenameRegistrationOptions>;
|
|
2043
2137
|
}
|
|
2044
2138
|
export interface PrepareRenameParams extends TextDocumentPositionParams, WorkDoneProgressParams {
|
|
2045
2139
|
}
|
|
@@ -2047,10 +2141,11 @@ export interface PrepareRenameParams extends TextDocumentPositionParams, WorkDon
|
|
|
2047
2141
|
* A request to test and perform the setup necessary for a rename.
|
|
2048
2142
|
*/
|
|
2049
2143
|
export declare namespace PrepareRenameRequest {
|
|
2050
|
-
const
|
|
2144
|
+
const method: 'textDocument/prepareRename';
|
|
2145
|
+
const type: ProtocolRequestType<PrepareRenameParams, Range | {
|
|
2051
2146
|
range: Range;
|
|
2052
2147
|
placeholder: string;
|
|
2053
|
-
} | null, void, void>;
|
|
2148
|
+
} | null, never, void, void>;
|
|
2054
2149
|
}
|
|
2055
2150
|
/**
|
|
2056
2151
|
* The client capabilities of a [ExecuteCommandRequest](#ExecuteCommandRequest).
|
|
@@ -2093,7 +2188,7 @@ export interface ExecuteCommandRegistrationOptions extends ExecuteCommandOptions
|
|
|
2093
2188
|
* a workspace edit which the client will apply to the workspace.
|
|
2094
2189
|
*/
|
|
2095
2190
|
export declare namespace ExecuteCommandRequest {
|
|
2096
|
-
const type:
|
|
2191
|
+
const type: ProtocolRequestType<ExecuteCommandParams, any, never, void, ExecuteCommandRegistrationOptions>;
|
|
2097
2192
|
}
|
|
2098
2193
|
export interface WorkspaceEditClientCapabilities {
|
|
2099
2194
|
/**
|
|
@@ -2155,7 +2250,7 @@ export interface ApplyWorkspaceEditResponse {
|
|
|
2155
2250
|
* A request sent from the server to the client to modified certain resources.
|
|
2156
2251
|
*/
|
|
2157
2252
|
export declare namespace ApplyWorkspaceEditRequest {
|
|
2158
|
-
const type:
|
|
2253
|
+
const type: ProtocolRequestType<ApplyWorkspaceEditParams, ApplyWorkspaceEditResponse, never, void, void>;
|
|
2159
2254
|
}
|
|
2160
|
-
export { ImplementationRequest, TypeDefinitionRequest, WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFolder, WorkspaceFoldersChangeEvent, ConfigurationRequest, ConfigurationParams, ConfigurationItem, DocumentColorRequest, ColorPresentationRequest, DocumentColorOptions, DocumentColorParams, ColorPresentationParams, FoldingRangeClientCapabilities, FoldingRangeOptions, FoldingRangeRequest, FoldingRangeParams, DeclarationClientCapabilities, DeclarationRequest, SelectionRangeClientCapabilities, SelectionRangeOptions, SelectionRangeParams, SelectionRangeRequest };
|
|
2255
|
+
export { ImplementationRequest, ImplementationParams, ImplementationRegistrationOptions, ImplementationOptions, TypeDefinitionRequest, TypeDefinitionParams, TypeDefinitionRegistrationOptions, TypeDefinitionOptions, WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFolder, WorkspaceFoldersChangeEvent, ConfigurationRequest, ConfigurationParams, ConfigurationItem, DocumentColorRequest, ColorPresentationRequest, DocumentColorOptions, DocumentColorParams, ColorPresentationParams, DocumentColorRegistrationOptions, FoldingRangeClientCapabilities, FoldingRangeOptions, FoldingRangeRequest, FoldingRangeParams, FoldingRangeRegistrationOptions, DeclarationClientCapabilities, DeclarationRequest, DeclarationParams, DeclarationRegistrationOptions, DeclarationOptions, SelectionRangeClientCapabilities, SelectionRangeOptions, SelectionRangeParams, SelectionRangeRequest, SelectionRangeRegistrationOptions, WorkDoneProgressBegin, WorkDoneProgressReport, WorkDoneProgressEnd, WorkDoneProgress, WorkDoneProgressCreateParams, WorkDoneProgressCreateRequest, WorkDoneProgressCancelParams, WorkDoneProgressCancelNotification };
|
|
2161
2256
|
export { DocumentColorOptions as ColorProviderOptions, DocumentColorOptions as ColorOptions, FoldingRangeOptions as FoldingRangeProviderOptions, SelectionRangeOptions as SelectionRangeProviderOptions, DocumentColorRegistrationOptions as ColorRegistrationOptions };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RequestHandler, ProgressType } from 'vscode-jsonrpc';
|
|
2
2
|
import { Declaration, DeclarationLink, Location, LocationLink } from 'vscode-languageserver-types';
|
|
3
|
+
import { ProtocolRequestType } from './messages';
|
|
3
4
|
import { TextDocumentRegistrationOptions, StaticRegistrationOptions, TextDocumentPositionParams, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
|
|
4
5
|
/**
|
|
5
6
|
* Since 3.14.0
|
|
@@ -30,7 +31,9 @@ export interface DeclarationParams extends TextDocumentPositionParams, WorkDoneP
|
|
|
30
31
|
* to such.
|
|
31
32
|
*/
|
|
32
33
|
export declare namespace DeclarationRequest {
|
|
33
|
-
const
|
|
34
|
-
const
|
|
34
|
+
const method: 'textDocument/declaration';
|
|
35
|
+
const type: ProtocolRequestType<DeclarationParams, Location | LocationLink[] | Location[] | null, LocationLink[] | Location[], void, DeclarationRegistrationOptions>;
|
|
36
|
+
/** @deprecated Use DeclarationRequest.type */
|
|
37
|
+
const resultType: ProgressType<LocationLink[] | Location[]>;
|
|
35
38
|
type HandlerSignature = RequestHandler<DeclarationParams, Declaration | DeclarationLink[] | null, void>;
|
|
36
39
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
'use strict';
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
|
8
|
+
const messages_1 = require("./messages");
|
|
8
9
|
// @ts-ignore: to avoid inlining LocatioLink as dynamic import
|
|
9
10
|
let __noDynamicImport;
|
|
10
11
|
/**
|
|
@@ -16,6 +17,8 @@ let __noDynamicImport;
|
|
|
16
17
|
*/
|
|
17
18
|
var DeclarationRequest;
|
|
18
19
|
(function (DeclarationRequest) {
|
|
19
|
-
DeclarationRequest.
|
|
20
|
+
DeclarationRequest.method = 'textDocument/declaration';
|
|
21
|
+
DeclarationRequest.type = new messages_1.ProtocolRequestType(DeclarationRequest.method);
|
|
22
|
+
/** @deprecated Use DeclarationRequest.type */
|
|
20
23
|
DeclarationRequest.resultType = new vscode_jsonrpc_1.ProgressType();
|
|
21
24
|
})(DeclarationRequest = exports.DeclarationRequest || (exports.DeclarationRequest = {}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RequestHandler, ProgressType } from 'vscode-jsonrpc';
|
|
2
2
|
import { TextDocumentIdentifier } from 'vscode-languageserver-types';
|
|
3
|
+
import { ProtocolRequestType } from './messages';
|
|
3
4
|
import { TextDocumentRegistrationOptions, StaticRegistrationOptions, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
|
|
4
5
|
export interface FoldingRangeClientCapabilities {
|
|
5
6
|
/**
|
|
@@ -83,7 +84,9 @@ export interface FoldingRangeParams extends WorkDoneProgressParams, PartialResul
|
|
|
83
84
|
* that resolves to such.
|
|
84
85
|
*/
|
|
85
86
|
export declare namespace FoldingRangeRequest {
|
|
86
|
-
const
|
|
87
|
+
const method: 'textDocument/foldingRange';
|
|
88
|
+
const type: ProtocolRequestType<FoldingRangeParams, FoldingRange[] | null, FoldingRange[], any, FoldingRangeRegistrationOptions>;
|
|
89
|
+
/** @deprecated Use FoldingRangeRequest.type */
|
|
87
90
|
const resultType: ProgressType<FoldingRange[]>;
|
|
88
91
|
type HandlerSignature = RequestHandler<FoldingRangeParams, FoldingRange[] | null, void>;
|
|
89
92
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*--------------------------------------------------------------------------------------------*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
|
8
|
+
const messages_1 = require("./messages");
|
|
8
9
|
/**
|
|
9
10
|
* Enum of known range kinds
|
|
10
11
|
*/
|
|
@@ -31,6 +32,8 @@ var FoldingRangeKind;
|
|
|
31
32
|
*/
|
|
32
33
|
var FoldingRangeRequest;
|
|
33
34
|
(function (FoldingRangeRequest) {
|
|
34
|
-
FoldingRangeRequest.
|
|
35
|
+
FoldingRangeRequest.method = 'textDocument/foldingRange';
|
|
36
|
+
FoldingRangeRequest.type = new messages_1.ProtocolRequestType(FoldingRangeRequest.method);
|
|
37
|
+
/** @deprecated Use FoldingRangeRequest.type */
|
|
35
38
|
FoldingRangeRequest.resultType = new vscode_jsonrpc_1.ProgressType();
|
|
36
39
|
})(FoldingRangeRequest = exports.FoldingRangeRequest || (exports.FoldingRangeRequest = {}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RequestHandler, ProgressType } from 'vscode-jsonrpc';
|
|
2
2
|
import { Definition, DefinitionLink, Location, LocationLink } from 'vscode-languageserver-types';
|
|
3
|
+
import { ProtocolRequestType } from './messages';
|
|
3
4
|
import { TextDocumentRegistrationOptions, StaticRegistrationOptions, TextDocumentPositionParams, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
|
|
4
5
|
/**
|
|
5
6
|
* Since 3.6.0
|
|
@@ -31,7 +32,9 @@ export interface ImplementationParams extends TextDocumentPositionParams, WorkDo
|
|
|
31
32
|
* Thenable that resolves to such.
|
|
32
33
|
*/
|
|
33
34
|
export declare namespace ImplementationRequest {
|
|
34
|
-
const
|
|
35
|
-
const
|
|
35
|
+
const method: 'textDocument/implementation';
|
|
36
|
+
const type: ProtocolRequestType<ImplementationParams, Location | Location[] | LocationLink[] | null, LocationLink[] | Location[], void, ImplementationRegistrationOptions>;
|
|
37
|
+
/** @deprecated Use ImplementationRequest.type */
|
|
38
|
+
const resultType: ProgressType<LocationLink[] | Location[]>;
|
|
36
39
|
type HandlerSignature = RequestHandler<ImplementationParams, Definition | DefinitionLink[] | null, void>;
|
|
37
40
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
'use strict';
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
|
8
|
+
const messages_1 = require("./messages");
|
|
8
9
|
// @ts-ignore: to avoid inlining LocatioLink as dynamic import
|
|
9
10
|
let __noDynamicImport;
|
|
10
11
|
/**
|
|
@@ -15,6 +16,8 @@ let __noDynamicImport;
|
|
|
15
16
|
*/
|
|
16
17
|
var ImplementationRequest;
|
|
17
18
|
(function (ImplementationRequest) {
|
|
18
|
-
ImplementationRequest.
|
|
19
|
+
ImplementationRequest.method = 'textDocument/implementation';
|
|
20
|
+
ImplementationRequest.type = new messages_1.ProtocolRequestType(ImplementationRequest.method);
|
|
21
|
+
/** @deprecated Use ImplementationRequest.type */
|
|
19
22
|
ImplementationRequest.resultType = new vscode_jsonrpc_1.ProgressType();
|
|
20
23
|
})(ImplementationRequest = exports.ImplementationRequest || (exports.ImplementationRequest = {}));
|