vscode-languageserver-protocol 3.17.5 → 3.17.6-next.2
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/README.md +1 -1
- package/lib/common/protocol.d.ts +558 -329
- package/lib/common/protocol.diagnostic.d.ts +2 -2
- package/lib/common/protocol.foldingRange.d.ts +26 -18
- package/lib/common/protocol.inlayHint.d.ts +10 -6
- package/lib/common/protocol.js +17 -6
- package/lib/common/protocol.notebook.d.ts +91 -63
- package/lib/common/protocol.semanticTokens.d.ts +38 -24
- package/package.json +3 -3
package/lib/common/protocol.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProgressToken, RequestHandler,
|
|
1
|
+
import { ProgressToken, RequestHandler, TraceValue } from 'vscode-jsonrpc';
|
|
2
2
|
import { MessageDirection, ProtocolRequestType, ProtocolRequestType0, ProtocolNotificationType, ProtocolNotificationType0 } from './messages';
|
|
3
|
-
import { Position, Range, Location, LocationLink, Diagnostic, Command, TextEdit, WorkspaceEdit, DocumentUri, TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem, CompletionItem, CompletionList, Hover, SignatureHelp, Definition, ReferenceContext, DocumentHighlight, SymbolInformation, CodeLens, CodeActionContext, FormattingOptions, DocumentLink, MarkupKind, SymbolKind, CompletionItemKind, CodeAction, CodeActionKind, DocumentSymbol, CompletionItemTag, DiagnosticTag, SymbolTag, uinteger, integer, InsertTextMode, LSPAny, WorkspaceSymbol, URI, WorkspaceFolder } from 'vscode-languageserver-types';
|
|
3
|
+
import { Position, Range, Location, LocationLink, Diagnostic, Command, TextEdit, WorkspaceEdit, WorkspaceEditMetadata, DocumentUri, TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem, CompletionItem, CompletionList, Hover, SignatureHelp, Definition, ReferenceContext, DocumentHighlight, SymbolInformation, CodeLens, CodeActionContext, FormattingOptions, DocumentLink, MarkupKind, SymbolKind, CompletionItemKind, CodeAction, CodeActionKind, DocumentSymbol, CompletionItemTag, DiagnosticTag, SymbolTag, uinteger, integer, InsertTextMode, LSPAny, WorkspaceSymbol, URI, WorkspaceFolder } from 'vscode-languageserver-types';
|
|
4
4
|
import { ImplementationRequest, ImplementationClientCapabilities, ImplementationOptions, ImplementationRegistrationOptions, ImplementationParams } from './protocol.implementation';
|
|
5
5
|
import { TypeDefinitionRequest, TypeDefinitionClientCapabilities, TypeDefinitionOptions, TypeDefinitionRegistrationOptions, TypeDefinitionParams } from './protocol.typeDefinition';
|
|
6
6
|
import { WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFoldersChangeEvent, WorkspaceFoldersInitializeParams, WorkspaceFoldersServerCapabilities } from './protocol.workspaceFolder';
|
|
@@ -23,45 +23,63 @@ import { DiagnosticClientCapabilities, DiagnosticOptions, DiagnosticRegistration
|
|
|
23
23
|
import { NotebookDocumentSyncClientCapabilities, NotebookCellKind, ExecutionSummary, NotebookCell, NotebookDocument, NotebookDocumentIdentifier, VersionedNotebookDocumentIdentifier, NotebookDocumentSyncOptions, NotebookDocumentSyncRegistrationOptions, NotebookDocumentSyncRegistrationType, DidOpenNotebookDocumentParams, DidOpenNotebookDocumentNotification, NotebookCellArrayChange, NotebookDocumentChangeEvent, DidChangeNotebookDocumentParams, DidChangeNotebookDocumentNotification, DidSaveNotebookDocumentParams, DidSaveNotebookDocumentNotification, DidCloseNotebookDocumentParams, DidCloseNotebookDocumentNotification } from './protocol.notebook';
|
|
24
24
|
import { InlineCompletionClientCapabilities, InlineCompletionOptions, InlineCompletionParams, InlineCompletionRegistrationOptions, InlineCompletionRequest } from './protocol.inlineCompletion';
|
|
25
25
|
/**
|
|
26
|
-
* A document filter
|
|
27
|
-
* the {@link TextDocument.languageId language}, the {@link Uri.scheme scheme} of
|
|
28
|
-
* its resource, or a glob-pattern that is applied to the {@link TextDocument.fileName path}.
|
|
29
|
-
*
|
|
30
|
-
* Glob patterns can have the following syntax:
|
|
31
|
-
* - `*` to match one or more characters in a path segment
|
|
32
|
-
* - `?` to match on one character in a path segment
|
|
33
|
-
* - `**` to match any number of path segments, including none
|
|
34
|
-
* - `{}` to group sub patterns into an OR expression. (e.g. `**/*.{ts,js}` matches all TypeScript and JavaScript files)
|
|
35
|
-
* - `[]` to declare a range of characters to match in a path segment (e.g., `example.[0-9]` to match on `example.0`, `example.1`, …)
|
|
36
|
-
* - `[!...]` to negate a range of characters to match in a path segment (e.g., `example.[!0-9]` to match on `example.a`, `example.b`, but not `example.0`)
|
|
37
|
-
*
|
|
38
|
-
* @sample A language filter that applies to typescript files on disk: `{ language: 'typescript', scheme: 'file' }`
|
|
39
|
-
* @sample A language filter that applies to all package.json paths: `{ language: 'json', pattern: '**package.json' }`
|
|
26
|
+
* A document filter where `language` is required field.
|
|
40
27
|
*
|
|
41
|
-
* @since 3.
|
|
28
|
+
* @since 3.18.0
|
|
42
29
|
*/
|
|
43
|
-
export
|
|
30
|
+
export interface TextDocumentFilterLanguage {
|
|
44
31
|
/** A language id, like `typescript`. */
|
|
45
32
|
language: string;
|
|
46
33
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
47
34
|
scheme?: string;
|
|
48
35
|
/** A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples. */
|
|
49
36
|
pattern?: string;
|
|
50
|
-
}
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A document filter where `scheme` is required field.
|
|
40
|
+
*
|
|
41
|
+
* @since 3.18.0
|
|
42
|
+
*/
|
|
43
|
+
export interface TextDocumentFilterScheme {
|
|
51
44
|
/** A language id, like `typescript`. */
|
|
52
45
|
language?: string;
|
|
53
46
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
54
47
|
scheme: string;
|
|
55
48
|
/** A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples. */
|
|
56
49
|
pattern?: string;
|
|
57
|
-
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A document filter where `pattern` is required field.
|
|
53
|
+
*
|
|
54
|
+
* @since 3.18.0
|
|
55
|
+
*/
|
|
56
|
+
export interface TextDocumentFilterPattern {
|
|
58
57
|
/** A language id, like `typescript`. */
|
|
59
58
|
language?: string;
|
|
60
59
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
61
60
|
scheme?: string;
|
|
62
61
|
/** A glob pattern, like **/*.{ts,js}. See TextDocumentFilter for examples. */
|
|
63
62
|
pattern: string;
|
|
64
|
-
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* A document filter denotes a document by different properties like
|
|
66
|
+
* the {@link TextDocument.languageId language}, the {@link Uri.scheme scheme} of
|
|
67
|
+
* its resource, or a glob-pattern that is applied to the {@link TextDocument.fileName path}.
|
|
68
|
+
*
|
|
69
|
+
* Glob patterns can have the following syntax:
|
|
70
|
+
* - `*` to match one or more characters in a path segment
|
|
71
|
+
* - `?` to match on one character in a path segment
|
|
72
|
+
* - `**` to match any number of path segments, including none
|
|
73
|
+
* - `{}` to group sub patterns into an OR expression. (e.g. `**/*.{ts,js}` matches all TypeScript and JavaScript files)
|
|
74
|
+
* - `[]` to declare a range of characters to match in a path segment (e.g., `example.[0-9]` to match on `example.0`, `example.1`, …)
|
|
75
|
+
* - `[!...]` to negate a range of characters to match in a path segment (e.g., `example.[!0-9]` to match on `example.a`, `example.b`, but not `example.0`)
|
|
76
|
+
*
|
|
77
|
+
* @sample A language filter that applies to typescript files on disk: `{ language: 'typescript', scheme: 'file' }`
|
|
78
|
+
* @sample A language filter that applies to all package.json paths: `{ language: 'json', pattern: '**package.json' }`
|
|
79
|
+
*
|
|
80
|
+
* @since 3.17.0
|
|
81
|
+
*/
|
|
82
|
+
export type TextDocumentFilter = TextDocumentFilterLanguage | TextDocumentFilterScheme | TextDocumentFilterPattern;
|
|
65
83
|
/**
|
|
66
84
|
* The TextDocumentFilter namespace provides helper functions to work with
|
|
67
85
|
* {@link TextDocumentFilter} literals.
|
|
@@ -72,34 +90,52 @@ export declare namespace TextDocumentFilter {
|
|
|
72
90
|
function is(value: any): value is TextDocumentFilter;
|
|
73
91
|
}
|
|
74
92
|
/**
|
|
75
|
-
* A notebook document filter
|
|
76
|
-
* different properties. The properties will be match
|
|
77
|
-
* against the notebook's URI (same as with documents)
|
|
93
|
+
* A notebook document filter where `notebookType` is required field.
|
|
78
94
|
*
|
|
79
|
-
* @since 3.
|
|
95
|
+
* @since 3.18.0
|
|
80
96
|
*/
|
|
81
|
-
export
|
|
97
|
+
export interface NotebookDocumentFilterNotebookType {
|
|
82
98
|
/** The type of the enclosing notebook. */
|
|
83
99
|
notebookType: string;
|
|
84
100
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
85
101
|
scheme?: string;
|
|
86
102
|
/** A glob pattern. */
|
|
87
103
|
pattern?: string;
|
|
88
|
-
}
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* A notebook document filter where `scheme` is required field.
|
|
107
|
+
*
|
|
108
|
+
* @since 3.18.0
|
|
109
|
+
*/
|
|
110
|
+
export interface NotebookDocumentFilterScheme {
|
|
89
111
|
/** The type of the enclosing notebook. */
|
|
90
112
|
notebookType?: string;
|
|
91
|
-
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled
|
|
113
|
+
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
92
114
|
scheme: string;
|
|
93
115
|
/** A glob pattern. */
|
|
94
116
|
pattern?: string;
|
|
95
|
-
}
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* A notebook document filter where `pattern` is required field.
|
|
120
|
+
*
|
|
121
|
+
* @since 3.18.0
|
|
122
|
+
*/
|
|
123
|
+
export interface NotebookDocumentFilterPattern {
|
|
96
124
|
/** The type of the enclosing notebook. */
|
|
97
125
|
notebookType?: string;
|
|
98
126
|
/** A Uri {@link Uri.scheme scheme}, like `file` or `untitled`. */
|
|
99
127
|
scheme?: string;
|
|
100
128
|
/** A glob pattern. */
|
|
101
129
|
pattern: string;
|
|
102
|
-
}
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* A notebook document filter denotes a notebook document by
|
|
133
|
+
* different properties. The properties will be match
|
|
134
|
+
* against the notebook's URI (same as with documents)
|
|
135
|
+
*
|
|
136
|
+
* @since 3.17.0
|
|
137
|
+
*/
|
|
138
|
+
export type NotebookDocumentFilter = NotebookDocumentFilterNotebookType | NotebookDocumentFilterScheme | NotebookDocumentFilterPattern;
|
|
103
139
|
/**
|
|
104
140
|
* The NotebookDocumentFilter namespace provides helper functions to work with
|
|
105
141
|
* {@link NotebookDocumentFilter} literals.
|
|
@@ -567,6 +603,16 @@ export interface WindowClientCapabilities {
|
|
|
567
603
|
*/
|
|
568
604
|
showDocument?: ShowDocumentClientCapabilities;
|
|
569
605
|
}
|
|
606
|
+
/**
|
|
607
|
+
* Regular Expression Engines
|
|
608
|
+
*
|
|
609
|
+
* @since 3.18.0
|
|
610
|
+
* @proposed
|
|
611
|
+
*/
|
|
612
|
+
export declare namespace RegularExpressionEngineKind {
|
|
613
|
+
const ES2020: "ES2020";
|
|
614
|
+
}
|
|
615
|
+
export type RegularExpressionEngineKind = string;
|
|
570
616
|
/**
|
|
571
617
|
* Client capabilities specific to regular expressions.
|
|
572
618
|
*
|
|
@@ -576,7 +622,7 @@ export interface RegularExpressionsClientCapabilities {
|
|
|
576
622
|
/**
|
|
577
623
|
* The engine's name.
|
|
578
624
|
*/
|
|
579
|
-
engine:
|
|
625
|
+
engine: RegularExpressionEngineKind;
|
|
580
626
|
/**
|
|
581
627
|
* The engine's version.
|
|
582
628
|
*/
|
|
@@ -637,6 +683,21 @@ export declare namespace PositionEncodingKind {
|
|
|
637
683
|
* @since 3.17.0
|
|
638
684
|
*/
|
|
639
685
|
export type PositionEncodingKind = string;
|
|
686
|
+
/**
|
|
687
|
+
* @since 3.18.0
|
|
688
|
+
*/
|
|
689
|
+
export interface StaleRequestSupportOptions {
|
|
690
|
+
/**
|
|
691
|
+
* The client will actively cancel the request.
|
|
692
|
+
*/
|
|
693
|
+
cancel: boolean;
|
|
694
|
+
/**
|
|
695
|
+
* The list of requests for which the client
|
|
696
|
+
* will retry the request if it receives a
|
|
697
|
+
* response with error code `ContentModified`
|
|
698
|
+
*/
|
|
699
|
+
retryOnContentModified: string[];
|
|
700
|
+
}
|
|
640
701
|
/**
|
|
641
702
|
* General client capabilities.
|
|
642
703
|
*
|
|
@@ -651,18 +712,7 @@ export interface GeneralClientCapabilities {
|
|
|
651
712
|
*
|
|
652
713
|
* @since 3.17.0
|
|
653
714
|
*/
|
|
654
|
-
staleRequestSupport?:
|
|
655
|
-
/**
|
|
656
|
-
* The client will actively cancel the request.
|
|
657
|
-
*/
|
|
658
|
-
cancel: boolean;
|
|
659
|
-
/**
|
|
660
|
-
* The list of requests for which the client
|
|
661
|
-
* will retry the request if it receives a
|
|
662
|
-
* response with error code `ContentModified`
|
|
663
|
-
*/
|
|
664
|
-
retryOnContentModified: string[];
|
|
665
|
-
};
|
|
715
|
+
staleRequestSupport?: StaleRequestSupportOptions;
|
|
666
716
|
/**
|
|
667
717
|
* Client capabilities specific to regular expressions.
|
|
668
718
|
*
|
|
@@ -802,6 +852,25 @@ export declare namespace WorkDoneProgressOptions {
|
|
|
802
852
|
workDoneProgress: boolean;
|
|
803
853
|
};
|
|
804
854
|
}
|
|
855
|
+
/**
|
|
856
|
+
* Defines workspace specific capabilities of the server.
|
|
857
|
+
*
|
|
858
|
+
* @since 3.18.0
|
|
859
|
+
*/
|
|
860
|
+
export interface WorkspaceOptions {
|
|
861
|
+
/**
|
|
862
|
+
* The server supports workspace folder.
|
|
863
|
+
*
|
|
864
|
+
* @since 3.6.0
|
|
865
|
+
*/
|
|
866
|
+
workspaceFolders?: WorkspaceFoldersServerCapabilities;
|
|
867
|
+
/**
|
|
868
|
+
* The server is interested in notifications/requests for operations on files.
|
|
869
|
+
*
|
|
870
|
+
* @since 3.16.0
|
|
871
|
+
*/
|
|
872
|
+
fileOperations?: FileOperationOptions;
|
|
873
|
+
}
|
|
805
874
|
/**
|
|
806
875
|
* Defines the capabilities provided by a language
|
|
807
876
|
* server.
|
|
@@ -981,25 +1050,44 @@ export interface ServerCapabilities<T = LSPAny> {
|
|
|
981
1050
|
/**
|
|
982
1051
|
* Workspace specific server capabilities.
|
|
983
1052
|
*/
|
|
984
|
-
workspace?:
|
|
985
|
-
/**
|
|
986
|
-
* The server supports workspace folder.
|
|
987
|
-
*
|
|
988
|
-
* @since 3.6.0
|
|
989
|
-
*/
|
|
990
|
-
workspaceFolders?: WorkspaceFoldersServerCapabilities;
|
|
991
|
-
/**
|
|
992
|
-
* The server is interested in notifications/requests for operations on files.
|
|
993
|
-
*
|
|
994
|
-
* @since 3.16.0
|
|
995
|
-
*/
|
|
996
|
-
fileOperations?: FileOperationOptions;
|
|
997
|
-
};
|
|
1053
|
+
workspace?: WorkspaceOptions;
|
|
998
1054
|
/**
|
|
999
1055
|
* Experimental server capabilities.
|
|
1000
1056
|
*/
|
|
1001
1057
|
experimental?: T;
|
|
1002
1058
|
}
|
|
1059
|
+
/**
|
|
1060
|
+
* Information about the server
|
|
1061
|
+
*
|
|
1062
|
+
* @since 3.15.0
|
|
1063
|
+
* @since 3.18.0 ServerInfo type name added.
|
|
1064
|
+
*/
|
|
1065
|
+
export interface ServerInfo {
|
|
1066
|
+
/**
|
|
1067
|
+
* The name of the server as defined by the server.
|
|
1068
|
+
*/
|
|
1069
|
+
name: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* The server's version as defined by the server.
|
|
1072
|
+
*/
|
|
1073
|
+
version?: string;
|
|
1074
|
+
}
|
|
1075
|
+
/**
|
|
1076
|
+
* Information about the client
|
|
1077
|
+
*
|
|
1078
|
+
* @since 3.15.0
|
|
1079
|
+
* @since 3.18.0 ClientInfo type name added.
|
|
1080
|
+
*/
|
|
1081
|
+
export interface ClientInfo {
|
|
1082
|
+
/**
|
|
1083
|
+
* The name of the client as defined by the client.
|
|
1084
|
+
*/
|
|
1085
|
+
name: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* The client's version as defined by the client.
|
|
1088
|
+
*/
|
|
1089
|
+
version?: string;
|
|
1090
|
+
}
|
|
1003
1091
|
/**
|
|
1004
1092
|
* The initialize request is sent from the client to the server.
|
|
1005
1093
|
* It is sent once as the request after starting up the server.
|
|
@@ -1029,16 +1117,7 @@ export interface _InitializeParams extends WorkDoneProgressParams {
|
|
|
1029
1117
|
*
|
|
1030
1118
|
* @since 3.15.0
|
|
1031
1119
|
*/
|
|
1032
|
-
clientInfo?:
|
|
1033
|
-
/**
|
|
1034
|
-
* The name of the client as defined by the client.
|
|
1035
|
-
*/
|
|
1036
|
-
name: string;
|
|
1037
|
-
/**
|
|
1038
|
-
* The client's version as defined by the client.
|
|
1039
|
-
*/
|
|
1040
|
-
version?: string;
|
|
1041
|
-
};
|
|
1120
|
+
clientInfo?: ClientInfo;
|
|
1042
1121
|
/**
|
|
1043
1122
|
* The locale the client is currently showing the user interface
|
|
1044
1123
|
* in. This must not necessarily be the locale of the operating
|
|
@@ -1076,7 +1155,7 @@ export interface _InitializeParams extends WorkDoneProgressParams {
|
|
|
1076
1155
|
/**
|
|
1077
1156
|
* The initial trace setting. If omitted trace is disabled ('off').
|
|
1078
1157
|
*/
|
|
1079
|
-
trace?:
|
|
1158
|
+
trace?: TraceValue;
|
|
1080
1159
|
}
|
|
1081
1160
|
export type InitializeParams = _InitializeParams & WorkspaceFoldersInitializeParams;
|
|
1082
1161
|
/**
|
|
@@ -1092,16 +1171,7 @@ export interface InitializeResult<T = any> {
|
|
|
1092
1171
|
*
|
|
1093
1172
|
* @since 3.15.0
|
|
1094
1173
|
*/
|
|
1095
|
-
serverInfo?:
|
|
1096
|
-
/**
|
|
1097
|
-
* The name of the server as defined by the server.
|
|
1098
|
-
*/
|
|
1099
|
-
name: string;
|
|
1100
|
-
/**
|
|
1101
|
-
* The server's version as defined by the server.
|
|
1102
|
-
*/
|
|
1103
|
-
version?: string;
|
|
1104
|
-
};
|
|
1174
|
+
serverInfo?: ServerInfo;
|
|
1105
1175
|
/**
|
|
1106
1176
|
* Custom initialization results.
|
|
1107
1177
|
*/
|
|
@@ -1217,6 +1287,7 @@ export declare namespace MessageType {
|
|
|
1217
1287
|
* A debug message.
|
|
1218
1288
|
*
|
|
1219
1289
|
* @since 3.18.0
|
|
1290
|
+
* @proposed
|
|
1220
1291
|
*/
|
|
1221
1292
|
const Debug = 5;
|
|
1222
1293
|
}
|
|
@@ -1243,6 +1314,17 @@ export declare namespace ShowMessageNotification {
|
|
|
1243
1314
|
const messageDirection: MessageDirection;
|
|
1244
1315
|
const type: ProtocolNotificationType<ShowMessageParams, void>;
|
|
1245
1316
|
}
|
|
1317
|
+
/**
|
|
1318
|
+
* @since 3.18.0
|
|
1319
|
+
*/
|
|
1320
|
+
export interface ClientShowMessageActionItemOptions {
|
|
1321
|
+
/**
|
|
1322
|
+
* Whether the client supports additional attributes which
|
|
1323
|
+
* are preserved and send back to the server in the
|
|
1324
|
+
* request's response.
|
|
1325
|
+
*/
|
|
1326
|
+
additionalPropertiesSupport?: boolean;
|
|
1327
|
+
}
|
|
1246
1328
|
/**
|
|
1247
1329
|
* Show message request client capabilities
|
|
1248
1330
|
*/
|
|
@@ -1250,14 +1332,7 @@ export interface ShowMessageRequestClientCapabilities {
|
|
|
1250
1332
|
/**
|
|
1251
1333
|
* Capabilities specific to the `MessageActionItem` type.
|
|
1252
1334
|
*/
|
|
1253
|
-
messageActionItem?:
|
|
1254
|
-
/**
|
|
1255
|
-
* Whether the client supports additional attributes which
|
|
1256
|
-
* are preserved and send back to the server in the
|
|
1257
|
-
* request's response.
|
|
1258
|
-
*/
|
|
1259
|
-
additionalPropertiesSupport?: boolean;
|
|
1260
|
-
};
|
|
1335
|
+
messageActionItem?: ClientShowMessageActionItemOptions;
|
|
1261
1336
|
}
|
|
1262
1337
|
export interface MessageActionItem {
|
|
1263
1338
|
/**
|
|
@@ -1419,10 +1494,18 @@ export declare namespace DidOpenTextDocumentNotification {
|
|
|
1419
1494
|
const type: ProtocolNotificationType<DidOpenTextDocumentParams, TextDocumentRegistrationOptions>;
|
|
1420
1495
|
}
|
|
1421
1496
|
/**
|
|
1422
|
-
*
|
|
1423
|
-
|
|
1497
|
+
* @since 3.18.0
|
|
1498
|
+
*/
|
|
1499
|
+
export interface TextDocumentContentChangeWholeDocument {
|
|
1500
|
+
/**
|
|
1501
|
+
* The new text of the whole document.
|
|
1502
|
+
*/
|
|
1503
|
+
text: string;
|
|
1504
|
+
}
|
|
1505
|
+
/**
|
|
1506
|
+
* @since 3.18.0
|
|
1424
1507
|
*/
|
|
1425
|
-
export
|
|
1508
|
+
export interface TextDocumentContentChangePartial {
|
|
1426
1509
|
/**
|
|
1427
1510
|
* The range of the document that changed.
|
|
1428
1511
|
*/
|
|
@@ -1437,12 +1520,12 @@ export type TextDocumentContentChangeEvent = {
|
|
|
1437
1520
|
* The new text for the provided range.
|
|
1438
1521
|
*/
|
|
1439
1522
|
text: string;
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1523
|
+
}
|
|
1524
|
+
/**
|
|
1525
|
+
* An event describing a change to a text document. If only a text is provided
|
|
1526
|
+
* it is considered to be the full content of the document.
|
|
1527
|
+
*/
|
|
1528
|
+
export type TextDocumentContentChangeEvent = TextDocumentContentChangePartial | TextDocumentContentChangeWholeDocument;
|
|
1446
1529
|
export declare namespace TextDocumentContentChangeEvent {
|
|
1447
1530
|
/**
|
|
1448
1531
|
* Checks whether the information describes a delta event.
|
|
@@ -1749,9 +1832,18 @@ export declare namespace WatchKind {
|
|
|
1749
1832
|
}
|
|
1750
1833
|
export type WatchKind = uinteger;
|
|
1751
1834
|
/**
|
|
1752
|
-
*
|
|
1835
|
+
* @since 3.18.0
|
|
1753
1836
|
*/
|
|
1754
|
-
export interface
|
|
1837
|
+
export interface ClientDiagnosticsTagOptions {
|
|
1838
|
+
/**
|
|
1839
|
+
* The tags supported by the client.
|
|
1840
|
+
*/
|
|
1841
|
+
valueSet: DiagnosticTag[];
|
|
1842
|
+
}
|
|
1843
|
+
/**
|
|
1844
|
+
* General diagnostics capabilities for pull and push model.
|
|
1845
|
+
*/
|
|
1846
|
+
export interface DiagnosticsCapabilities {
|
|
1755
1847
|
/**
|
|
1756
1848
|
* Whether the clients accepts diagnostics with related information.
|
|
1757
1849
|
*/
|
|
@@ -1762,19 +1854,7 @@ export interface PublishDiagnosticsClientCapabilities {
|
|
|
1762
1854
|
*
|
|
1763
1855
|
* @since 3.15.0
|
|
1764
1856
|
*/
|
|
1765
|
-
tagSupport?:
|
|
1766
|
-
/**
|
|
1767
|
-
* The tags supported by the client.
|
|
1768
|
-
*/
|
|
1769
|
-
valueSet: DiagnosticTag[];
|
|
1770
|
-
};
|
|
1771
|
-
/**
|
|
1772
|
-
* Whether the client interprets the version property of the
|
|
1773
|
-
* `textDocument/publishDiagnostics` notification's parameter.
|
|
1774
|
-
*
|
|
1775
|
-
* @since 3.15.0
|
|
1776
|
-
*/
|
|
1777
|
-
versionSupport?: boolean;
|
|
1857
|
+
tagSupport?: ClientDiagnosticsTagOptions;
|
|
1778
1858
|
/**
|
|
1779
1859
|
* Client supports a codeDescription property
|
|
1780
1860
|
*
|
|
@@ -1790,6 +1870,18 @@ export interface PublishDiagnosticsClientCapabilities {
|
|
|
1790
1870
|
*/
|
|
1791
1871
|
dataSupport?: boolean;
|
|
1792
1872
|
}
|
|
1873
|
+
/**
|
|
1874
|
+
* The publish diagnostic client capabilities.
|
|
1875
|
+
*/
|
|
1876
|
+
export interface PublishDiagnosticsClientCapabilities extends DiagnosticsCapabilities {
|
|
1877
|
+
/**
|
|
1878
|
+
* Whether the client interprets the version property of the
|
|
1879
|
+
* `textDocument/publishDiagnostics` notification's parameter.
|
|
1880
|
+
*
|
|
1881
|
+
* @since 3.15.0
|
|
1882
|
+
*/
|
|
1883
|
+
versionSupport?: boolean;
|
|
1884
|
+
}
|
|
1793
1885
|
/**
|
|
1794
1886
|
* The publish diagnostic notification's parameters.
|
|
1795
1887
|
*/
|
|
@@ -1818,6 +1910,135 @@ export declare namespace PublishDiagnosticsNotification {
|
|
|
1818
1910
|
const messageDirection: MessageDirection;
|
|
1819
1911
|
const type: ProtocolNotificationType<PublishDiagnosticsParams, void>;
|
|
1820
1912
|
}
|
|
1913
|
+
/**
|
|
1914
|
+
* The client supports the following `CompletionList` specific
|
|
1915
|
+
* capabilities.
|
|
1916
|
+
*
|
|
1917
|
+
* @since 3.17.0
|
|
1918
|
+
*/
|
|
1919
|
+
export interface CompletionListCapabilities {
|
|
1920
|
+
/**
|
|
1921
|
+
* The client supports the following itemDefaults on
|
|
1922
|
+
* a completion list.
|
|
1923
|
+
*
|
|
1924
|
+
* The value lists the supported property names of the
|
|
1925
|
+
* `CompletionList.itemDefaults` object. If omitted
|
|
1926
|
+
* no properties are supported.
|
|
1927
|
+
*
|
|
1928
|
+
* @since 3.17.0
|
|
1929
|
+
*/
|
|
1930
|
+
itemDefaults?: string[];
|
|
1931
|
+
}
|
|
1932
|
+
/**
|
|
1933
|
+
* @since 3.18.0
|
|
1934
|
+
*/
|
|
1935
|
+
export interface CompletionItemTagOptions {
|
|
1936
|
+
/**
|
|
1937
|
+
* The tags supported by the client.
|
|
1938
|
+
*/
|
|
1939
|
+
valueSet: CompletionItemTag[];
|
|
1940
|
+
}
|
|
1941
|
+
/**
|
|
1942
|
+
* @since 3.18.0
|
|
1943
|
+
*/
|
|
1944
|
+
export interface ClientCompletionItemResolveOptions {
|
|
1945
|
+
/**
|
|
1946
|
+
* The properties that a client can resolve lazily.
|
|
1947
|
+
*/
|
|
1948
|
+
properties: string[];
|
|
1949
|
+
}
|
|
1950
|
+
/**
|
|
1951
|
+
* @since 3.18.0
|
|
1952
|
+
*/
|
|
1953
|
+
export interface ClientCompletionItemInsertTextModeOptions {
|
|
1954
|
+
valueSet: InsertTextMode[];
|
|
1955
|
+
}
|
|
1956
|
+
/**
|
|
1957
|
+
* @since 3.18.0
|
|
1958
|
+
*/
|
|
1959
|
+
export interface ClientCompletionItemOptions {
|
|
1960
|
+
/**
|
|
1961
|
+
* Client supports snippets as insert text.
|
|
1962
|
+
*
|
|
1963
|
+
* A snippet can define tab stops and placeholders with `$1`, `$2`
|
|
1964
|
+
* and `${3:foo}`. `$0` defines the final tab stop, it defaults to
|
|
1965
|
+
* the end of the snippet. Placeholders with equal identifiers are linked,
|
|
1966
|
+
* that is typing in one will update others too.
|
|
1967
|
+
*/
|
|
1968
|
+
snippetSupport?: boolean;
|
|
1969
|
+
/**
|
|
1970
|
+
* Client supports commit characters on a completion item.
|
|
1971
|
+
*/
|
|
1972
|
+
commitCharactersSupport?: boolean;
|
|
1973
|
+
/**
|
|
1974
|
+
* Client supports the following content formats for the documentation
|
|
1975
|
+
* property. The order describes the preferred format of the client.
|
|
1976
|
+
*/
|
|
1977
|
+
documentationFormat?: MarkupKind[];
|
|
1978
|
+
/**
|
|
1979
|
+
* Client supports the deprecated property on a completion item.
|
|
1980
|
+
*/
|
|
1981
|
+
deprecatedSupport?: boolean;
|
|
1982
|
+
/**
|
|
1983
|
+
* Client supports the preselect property on a completion item.
|
|
1984
|
+
*/
|
|
1985
|
+
preselectSupport?: boolean;
|
|
1986
|
+
/**
|
|
1987
|
+
* Client supports the tag property on a completion item. Clients supporting
|
|
1988
|
+
* tags have to handle unknown tags gracefully. Clients especially need to
|
|
1989
|
+
* preserve unknown tags when sending a completion item back to the server in
|
|
1990
|
+
* a resolve call.
|
|
1991
|
+
*
|
|
1992
|
+
* @since 3.15.0
|
|
1993
|
+
*/
|
|
1994
|
+
tagSupport?: CompletionItemTagOptions;
|
|
1995
|
+
/**
|
|
1996
|
+
* Client support insert replace edit to control different behavior if a
|
|
1997
|
+
* completion item is inserted in the text or should replace text.
|
|
1998
|
+
*
|
|
1999
|
+
* @since 3.16.0
|
|
2000
|
+
*/
|
|
2001
|
+
insertReplaceSupport?: boolean;
|
|
2002
|
+
/**
|
|
2003
|
+
* Indicates which properties a client can resolve lazily on a completion
|
|
2004
|
+
* item. Before version 3.16.0 only the predefined properties `documentation`
|
|
2005
|
+
* and `details` could be resolved lazily.
|
|
2006
|
+
*
|
|
2007
|
+
* @since 3.16.0
|
|
2008
|
+
*/
|
|
2009
|
+
resolveSupport?: ClientCompletionItemResolveOptions;
|
|
2010
|
+
/**
|
|
2011
|
+
* The client supports the `insertTextMode` property on
|
|
2012
|
+
* a completion item to override the whitespace handling mode
|
|
2013
|
+
* as defined by the client (see `insertTextMode`).
|
|
2014
|
+
*
|
|
2015
|
+
* @since 3.16.0
|
|
2016
|
+
*/
|
|
2017
|
+
insertTextModeSupport?: ClientCompletionItemInsertTextModeOptions;
|
|
2018
|
+
/**
|
|
2019
|
+
* The client has support for completion item label
|
|
2020
|
+
* details (see also `CompletionItemLabelDetails`).
|
|
2021
|
+
*
|
|
2022
|
+
* @since 3.17.0
|
|
2023
|
+
*/
|
|
2024
|
+
labelDetailsSupport?: boolean;
|
|
2025
|
+
}
|
|
2026
|
+
/**
|
|
2027
|
+
* @since 3.18.0
|
|
2028
|
+
*/
|
|
2029
|
+
export interface ClientCompletionItemOptionsKind {
|
|
2030
|
+
/**
|
|
2031
|
+
* The completion item kind values the client supports. When this
|
|
2032
|
+
* property exists the client also guarantees that it will
|
|
2033
|
+
* handle values outside its set gracefully and falls back
|
|
2034
|
+
* to a default value when unknown.
|
|
2035
|
+
*
|
|
2036
|
+
* If this property is not present the client only supports
|
|
2037
|
+
* the completion items kinds from `Text` to `Reference` as defined in
|
|
2038
|
+
* the initial version of the protocol.
|
|
2039
|
+
*/
|
|
2040
|
+
valueSet?: CompletionItemKind[];
|
|
2041
|
+
}
|
|
1821
2042
|
/**
|
|
1822
2043
|
* Completion client capabilities
|
|
1823
2044
|
*/
|
|
@@ -1830,98 +2051,8 @@ export interface CompletionClientCapabilities {
|
|
|
1830
2051
|
* The client supports the following `CompletionItem` specific
|
|
1831
2052
|
* capabilities.
|
|
1832
2053
|
*/
|
|
1833
|
-
completionItem?:
|
|
1834
|
-
|
|
1835
|
-
* Client supports snippets as insert text.
|
|
1836
|
-
*
|
|
1837
|
-
* A snippet can define tab stops and placeholders with `$1`, `$2`
|
|
1838
|
-
* and `${3:foo}`. `$0` defines the final tab stop, it defaults to
|
|
1839
|
-
* the end of the snippet. Placeholders with equal identifiers are linked,
|
|
1840
|
-
* that is typing in one will update others too.
|
|
1841
|
-
*/
|
|
1842
|
-
snippetSupport?: boolean;
|
|
1843
|
-
/**
|
|
1844
|
-
* Client supports commit characters on a completion item.
|
|
1845
|
-
*/
|
|
1846
|
-
commitCharactersSupport?: boolean;
|
|
1847
|
-
/**
|
|
1848
|
-
* Client supports the following content formats for the documentation
|
|
1849
|
-
* property. The order describes the preferred format of the client.
|
|
1850
|
-
*/
|
|
1851
|
-
documentationFormat?: MarkupKind[];
|
|
1852
|
-
/**
|
|
1853
|
-
* Client supports the deprecated property on a completion item.
|
|
1854
|
-
*/
|
|
1855
|
-
deprecatedSupport?: boolean;
|
|
1856
|
-
/**
|
|
1857
|
-
* Client supports the preselect property on a completion item.
|
|
1858
|
-
*/
|
|
1859
|
-
preselectSupport?: boolean;
|
|
1860
|
-
/**
|
|
1861
|
-
* Client supports the tag property on a completion item. Clients supporting
|
|
1862
|
-
* tags have to handle unknown tags gracefully. Clients especially need to
|
|
1863
|
-
* preserve unknown tags when sending a completion item back to the server in
|
|
1864
|
-
* a resolve call.
|
|
1865
|
-
*
|
|
1866
|
-
* @since 3.15.0
|
|
1867
|
-
*/
|
|
1868
|
-
tagSupport?: {
|
|
1869
|
-
/**
|
|
1870
|
-
* The tags supported by the client.
|
|
1871
|
-
*/
|
|
1872
|
-
valueSet: CompletionItemTag[];
|
|
1873
|
-
};
|
|
1874
|
-
/**
|
|
1875
|
-
* Client support insert replace edit to control different behavior if a
|
|
1876
|
-
* completion item is inserted in the text or should replace text.
|
|
1877
|
-
*
|
|
1878
|
-
* @since 3.16.0
|
|
1879
|
-
*/
|
|
1880
|
-
insertReplaceSupport?: boolean;
|
|
1881
|
-
/**
|
|
1882
|
-
* Indicates which properties a client can resolve lazily on a completion
|
|
1883
|
-
* item. Before version 3.16.0 only the predefined properties `documentation`
|
|
1884
|
-
* and `details` could be resolved lazily.
|
|
1885
|
-
*
|
|
1886
|
-
* @since 3.16.0
|
|
1887
|
-
*/
|
|
1888
|
-
resolveSupport?: {
|
|
1889
|
-
/**
|
|
1890
|
-
* The properties that a client can resolve lazily.
|
|
1891
|
-
*/
|
|
1892
|
-
properties: string[];
|
|
1893
|
-
};
|
|
1894
|
-
/**
|
|
1895
|
-
* The client supports the `insertTextMode` property on
|
|
1896
|
-
* a completion item to override the whitespace handling mode
|
|
1897
|
-
* as defined by the client (see `insertTextMode`).
|
|
1898
|
-
*
|
|
1899
|
-
* @since 3.16.0
|
|
1900
|
-
*/
|
|
1901
|
-
insertTextModeSupport?: {
|
|
1902
|
-
valueSet: InsertTextMode[];
|
|
1903
|
-
};
|
|
1904
|
-
/**
|
|
1905
|
-
* The client has support for completion item label
|
|
1906
|
-
* details (see also `CompletionItemLabelDetails`).
|
|
1907
|
-
*
|
|
1908
|
-
* @since 3.17.0
|
|
1909
|
-
*/
|
|
1910
|
-
labelDetailsSupport?: boolean;
|
|
1911
|
-
};
|
|
1912
|
-
completionItemKind?: {
|
|
1913
|
-
/**
|
|
1914
|
-
* The completion item kind values the client supports. When this
|
|
1915
|
-
* property exists the client also guarantees that it will
|
|
1916
|
-
* handle values outside its set gracefully and falls back
|
|
1917
|
-
* to a default value when unknown.
|
|
1918
|
-
*
|
|
1919
|
-
* If this property is not present the client only supports
|
|
1920
|
-
* the completion items kinds from `Text` to `Reference` as defined in
|
|
1921
|
-
* the initial version of the protocol.
|
|
1922
|
-
*/
|
|
1923
|
-
valueSet?: CompletionItemKind[];
|
|
1924
|
-
};
|
|
2054
|
+
completionItem?: ClientCompletionItemOptions;
|
|
2055
|
+
completionItemKind?: ClientCompletionItemOptionsKind;
|
|
1925
2056
|
/**
|
|
1926
2057
|
* Defines how the client handles whitespace and indentation
|
|
1927
2058
|
* when accepting a completion item that uses multi line
|
|
@@ -1941,19 +2072,7 @@ export interface CompletionClientCapabilities {
|
|
|
1941
2072
|
*
|
|
1942
2073
|
* @since 3.17.0
|
|
1943
2074
|
*/
|
|
1944
|
-
completionList?:
|
|
1945
|
-
/**
|
|
1946
|
-
* The client supports the following itemDefaults on
|
|
1947
|
-
* a completion list.
|
|
1948
|
-
*
|
|
1949
|
-
* The value lists the supported property names of the
|
|
1950
|
-
* `CompletionList.itemDefaults` object. If omitted
|
|
1951
|
-
* no properties are supported.
|
|
1952
|
-
*
|
|
1953
|
-
* @since 3.17.0
|
|
1954
|
-
*/
|
|
1955
|
-
itemDefaults?: string[];
|
|
1956
|
-
};
|
|
2075
|
+
completionList?: CompletionListCapabilities;
|
|
1957
2076
|
}
|
|
1958
2077
|
/**
|
|
1959
2078
|
* How a completion was triggered
|
|
@@ -1999,6 +2118,19 @@ export interface CompletionParams extends TextDocumentPositionParams, WorkDonePr
|
|
|
1999
2118
|
*/
|
|
2000
2119
|
context?: CompletionContext;
|
|
2001
2120
|
}
|
|
2121
|
+
/**
|
|
2122
|
+
* @since 3.18.0
|
|
2123
|
+
*/
|
|
2124
|
+
export interface ServerCompletionItemOptions {
|
|
2125
|
+
/**
|
|
2126
|
+
* The server has support for completion item label
|
|
2127
|
+
* details (see also `CompletionItemLabelDetails`) when
|
|
2128
|
+
* receiving a completion item in a resolve call.
|
|
2129
|
+
*
|
|
2130
|
+
* @since 3.17.0
|
|
2131
|
+
*/
|
|
2132
|
+
labelDetailsSupport?: boolean;
|
|
2133
|
+
}
|
|
2002
2134
|
/**
|
|
2003
2135
|
* Completion options.
|
|
2004
2136
|
*/
|
|
@@ -2036,16 +2168,7 @@ export interface CompletionOptions extends WorkDoneProgressOptions {
|
|
|
2036
2168
|
*
|
|
2037
2169
|
* @since 3.17.0
|
|
2038
2170
|
*/
|
|
2039
|
-
completionItem?:
|
|
2040
|
-
/**
|
|
2041
|
-
* The server has support for completion item label
|
|
2042
|
-
* details (see also `CompletionItemLabelDetails`) when
|
|
2043
|
-
* receiving a completion item in a resolve call.
|
|
2044
|
-
*
|
|
2045
|
-
* @since 3.17.0
|
|
2046
|
-
*/
|
|
2047
|
-
labelDetailsSupport?: boolean;
|
|
2048
|
-
};
|
|
2171
|
+
completionItem?: ServerCompletionItemOptions;
|
|
2049
2172
|
}
|
|
2050
2173
|
/**
|
|
2051
2174
|
* Registration options for a {@link CompletionRequest}.
|
|
@@ -2114,6 +2237,48 @@ export declare namespace HoverRequest {
|
|
|
2114
2237
|
const messageDirection: MessageDirection;
|
|
2115
2238
|
const type: ProtocolRequestType<HoverParams, Hover | null, never, void, HoverRegistrationOptions>;
|
|
2116
2239
|
}
|
|
2240
|
+
/**
|
|
2241
|
+
* @since 3.18.0
|
|
2242
|
+
*/
|
|
2243
|
+
export interface ClientSignatureParameterInformationOptions {
|
|
2244
|
+
/**
|
|
2245
|
+
* The client supports processing label offsets instead of a
|
|
2246
|
+
* simple label string.
|
|
2247
|
+
*
|
|
2248
|
+
* @since 3.14.0
|
|
2249
|
+
*/
|
|
2250
|
+
labelOffsetSupport?: boolean;
|
|
2251
|
+
}
|
|
2252
|
+
/**
|
|
2253
|
+
* @since 3.18.0
|
|
2254
|
+
*/
|
|
2255
|
+
export interface ClientSignatureInformationOptions {
|
|
2256
|
+
/**
|
|
2257
|
+
* Client supports the following content formats for the documentation
|
|
2258
|
+
* property. The order describes the preferred format of the client.
|
|
2259
|
+
*/
|
|
2260
|
+
documentationFormat?: MarkupKind[];
|
|
2261
|
+
/**
|
|
2262
|
+
* Client capabilities specific to parameter information.
|
|
2263
|
+
*/
|
|
2264
|
+
parameterInformation?: ClientSignatureParameterInformationOptions;
|
|
2265
|
+
/**
|
|
2266
|
+
* The client supports the `activeParameter` property on `SignatureInformation`
|
|
2267
|
+
* literal.
|
|
2268
|
+
*
|
|
2269
|
+
* @since 3.16.0
|
|
2270
|
+
*/
|
|
2271
|
+
activeParameterSupport?: boolean;
|
|
2272
|
+
/**
|
|
2273
|
+
* The client supports the `activeParameter` property on
|
|
2274
|
+
* `SignatureHelp`/`SignatureInformation` being set to `null` to
|
|
2275
|
+
* indicate that no parameter should be active.
|
|
2276
|
+
*
|
|
2277
|
+
* @since 3.18.0
|
|
2278
|
+
* @proposed
|
|
2279
|
+
*/
|
|
2280
|
+
noActiveParameterSupport?: boolean;
|
|
2281
|
+
}
|
|
2117
2282
|
/**
|
|
2118
2283
|
* Client Capabilities for a {@link SignatureHelpRequest}.
|
|
2119
2284
|
*/
|
|
@@ -2126,32 +2291,7 @@ export interface SignatureHelpClientCapabilities {
|
|
|
2126
2291
|
* The client supports the following `SignatureInformation`
|
|
2127
2292
|
* specific properties.
|
|
2128
2293
|
*/
|
|
2129
|
-
signatureInformation?:
|
|
2130
|
-
/**
|
|
2131
|
-
* Client supports the following content formats for the documentation
|
|
2132
|
-
* property. The order describes the preferred format of the client.
|
|
2133
|
-
*/
|
|
2134
|
-
documentationFormat?: MarkupKind[];
|
|
2135
|
-
/**
|
|
2136
|
-
* Client capabilities specific to parameter information.
|
|
2137
|
-
*/
|
|
2138
|
-
parameterInformation?: {
|
|
2139
|
-
/**
|
|
2140
|
-
* The client supports processing label offsets instead of a
|
|
2141
|
-
* simple label string.
|
|
2142
|
-
*
|
|
2143
|
-
* @since 3.14.0
|
|
2144
|
-
*/
|
|
2145
|
-
labelOffsetSupport?: boolean;
|
|
2146
|
-
};
|
|
2147
|
-
/**
|
|
2148
|
-
* The client supports the `activeParameter` property on `SignatureInformation`
|
|
2149
|
-
* literal.
|
|
2150
|
-
*
|
|
2151
|
-
* @since 3.16.0
|
|
2152
|
-
*/
|
|
2153
|
-
activeParameterSupport?: boolean;
|
|
2154
|
-
};
|
|
2294
|
+
signatureInformation?: ClientSignatureInformationOptions;
|
|
2155
2295
|
/**
|
|
2156
2296
|
* The client supports to send additional context information for a
|
|
2157
2297
|
* `textDocument/signatureHelp` request. A client that opts into
|
|
@@ -2377,19 +2517,7 @@ export interface DocumentSymbolClientCapabilities {
|
|
|
2377
2517
|
* Specific capabilities for the `SymbolKind` in the
|
|
2378
2518
|
* `textDocument/documentSymbol` request.
|
|
2379
2519
|
*/
|
|
2380
|
-
symbolKind?:
|
|
2381
|
-
/**
|
|
2382
|
-
* The symbol kind values the client supports. When this
|
|
2383
|
-
* property exists the client also guarantees that it will
|
|
2384
|
-
* handle values outside its set gracefully and falls back
|
|
2385
|
-
* to a default value when unknown.
|
|
2386
|
-
*
|
|
2387
|
-
* If this property is not present the client only supports
|
|
2388
|
-
* the symbol kinds from `File` to `Array` as defined in
|
|
2389
|
-
* the initial version of the protocol.
|
|
2390
|
-
*/
|
|
2391
|
-
valueSet?: SymbolKind[];
|
|
2392
|
-
};
|
|
2520
|
+
symbolKind?: ClientSymbolKindOptions;
|
|
2393
2521
|
/**
|
|
2394
2522
|
* The client supports hierarchical document symbols.
|
|
2395
2523
|
*/
|
|
@@ -2401,12 +2529,7 @@ export interface DocumentSymbolClientCapabilities {
|
|
|
2401
2529
|
*
|
|
2402
2530
|
* @since 3.16.0
|
|
2403
2531
|
*/
|
|
2404
|
-
tagSupport?:
|
|
2405
|
-
/**
|
|
2406
|
-
* The tags supported by the client.
|
|
2407
|
-
*/
|
|
2408
|
-
valueSet: SymbolTag[];
|
|
2409
|
-
};
|
|
2532
|
+
tagSupport?: ClientSymbolTagOptions;
|
|
2410
2533
|
/**
|
|
2411
2534
|
* The client supports an additional label presented in the UI when
|
|
2412
2535
|
* registering a document symbol provider.
|
|
@@ -2452,6 +2575,37 @@ export declare namespace DocumentSymbolRequest {
|
|
|
2452
2575
|
const messageDirection: MessageDirection;
|
|
2453
2576
|
const type: ProtocolRequestType<DocumentSymbolParams, DocumentSymbol[] | SymbolInformation[] | null, DocumentSymbol[] | SymbolInformation[], void, DocumentSymbolRegistrationOptions>;
|
|
2454
2577
|
}
|
|
2578
|
+
/**
|
|
2579
|
+
* @since 3.18.0
|
|
2580
|
+
*/
|
|
2581
|
+
export interface ClientCodeActionKindOptions {
|
|
2582
|
+
/**
|
|
2583
|
+
* The code action kind values the client supports. When this
|
|
2584
|
+
* property exists the client also guarantees that it will
|
|
2585
|
+
* handle values outside its set gracefully and falls back
|
|
2586
|
+
* to a default value when unknown.
|
|
2587
|
+
*/
|
|
2588
|
+
valueSet: CodeActionKind[];
|
|
2589
|
+
}
|
|
2590
|
+
/**
|
|
2591
|
+
* @since 3.18.0
|
|
2592
|
+
*/
|
|
2593
|
+
export interface ClientCodeActionLiteralOptions {
|
|
2594
|
+
/**
|
|
2595
|
+
* The code action kind is support with the following value
|
|
2596
|
+
* set.
|
|
2597
|
+
*/
|
|
2598
|
+
codeActionKind: ClientCodeActionKindOptions;
|
|
2599
|
+
}
|
|
2600
|
+
/**
|
|
2601
|
+
* @since 3.18.0
|
|
2602
|
+
*/
|
|
2603
|
+
export interface ClientCodeActionResolveOptions {
|
|
2604
|
+
/**
|
|
2605
|
+
* The properties that a client can resolve lazily.
|
|
2606
|
+
*/
|
|
2607
|
+
properties: string[];
|
|
2608
|
+
}
|
|
2455
2609
|
/**
|
|
2456
2610
|
* The Client Capabilities of a {@link CodeActionRequest}.
|
|
2457
2611
|
*/
|
|
@@ -2467,21 +2621,7 @@ export interface CodeActionClientCapabilities {
|
|
|
2467
2621
|
*
|
|
2468
2622
|
* @since 3.8.0
|
|
2469
2623
|
*/
|
|
2470
|
-
codeActionLiteralSupport?:
|
|
2471
|
-
/**
|
|
2472
|
-
* The code action kind is support with the following value
|
|
2473
|
-
* set.
|
|
2474
|
-
*/
|
|
2475
|
-
codeActionKind: {
|
|
2476
|
-
/**
|
|
2477
|
-
* The code action kind values the client supports. When this
|
|
2478
|
-
* property exists the client also guarantees that it will
|
|
2479
|
-
* handle values outside its set gracefully and falls back
|
|
2480
|
-
* to a default value when unknown.
|
|
2481
|
-
*/
|
|
2482
|
-
valueSet: CodeActionKind[];
|
|
2483
|
-
};
|
|
2484
|
-
};
|
|
2624
|
+
codeActionLiteralSupport?: ClientCodeActionLiteralOptions;
|
|
2485
2625
|
/**
|
|
2486
2626
|
* Whether code action supports the `isPreferred` property.
|
|
2487
2627
|
*
|
|
@@ -2508,12 +2648,7 @@ export interface CodeActionClientCapabilities {
|
|
|
2508
2648
|
*
|
|
2509
2649
|
* @since 3.16.0
|
|
2510
2650
|
*/
|
|
2511
|
-
resolveSupport?:
|
|
2512
|
-
/**
|
|
2513
|
-
* The properties that a client can resolve lazily.
|
|
2514
|
-
*/
|
|
2515
|
-
properties: string[];
|
|
2516
|
-
};
|
|
2651
|
+
resolveSupport?: ClientCodeActionResolveOptions;
|
|
2517
2652
|
/**
|
|
2518
2653
|
* Whether the client honors the change annotations in
|
|
2519
2654
|
* text edits and resource operations returned via the
|
|
@@ -2524,6 +2659,14 @@ export interface CodeActionClientCapabilities {
|
|
|
2524
2659
|
* @since 3.16.0
|
|
2525
2660
|
*/
|
|
2526
2661
|
honorsChangeAnnotations?: boolean;
|
|
2662
|
+
/**
|
|
2663
|
+
* Whether the client supports documentation for a class of
|
|
2664
|
+
* code actions.
|
|
2665
|
+
*
|
|
2666
|
+
* @since 3.18.0
|
|
2667
|
+
* @proposed
|
|
2668
|
+
*/
|
|
2669
|
+
documentationSupport?: boolean;
|
|
2527
2670
|
}
|
|
2528
2671
|
/**
|
|
2529
2672
|
* The parameters of a {@link CodeActionRequest}.
|
|
@@ -2542,6 +2685,28 @@ export interface CodeActionParams extends WorkDoneProgressParams, PartialResultP
|
|
|
2542
2685
|
*/
|
|
2543
2686
|
context: CodeActionContext;
|
|
2544
2687
|
}
|
|
2688
|
+
/**
|
|
2689
|
+
* Documentation for a class of code actions.
|
|
2690
|
+
*
|
|
2691
|
+
* @since 3.18.0
|
|
2692
|
+
* @proposed
|
|
2693
|
+
*/
|
|
2694
|
+
export interface CodeActionKindDocumentation {
|
|
2695
|
+
/**
|
|
2696
|
+
* The kind of the code action being documented.
|
|
2697
|
+
*
|
|
2698
|
+
* If the kind is generic, such as `CodeActionKind.Refactor`, the documentation will be shown whenever any
|
|
2699
|
+
* refactorings are returned. If the kind if more specific, such as `CodeActionKind.RefactorExtract`, the
|
|
2700
|
+
* documentation will only be shown when extract refactoring code actions are returned.
|
|
2701
|
+
*/
|
|
2702
|
+
kind: CodeActionKind;
|
|
2703
|
+
/**
|
|
2704
|
+
* Command that is ued to display the documentation to the user.
|
|
2705
|
+
*
|
|
2706
|
+
* The title of this documentation code action is taken from {@linkcode Command.title}
|
|
2707
|
+
*/
|
|
2708
|
+
command: Command;
|
|
2709
|
+
}
|
|
2545
2710
|
/**
|
|
2546
2711
|
* Provider options for a {@link CodeActionRequest}.
|
|
2547
2712
|
*/
|
|
@@ -2553,6 +2718,24 @@ export interface CodeActionOptions extends WorkDoneProgressOptions {
|
|
|
2553
2718
|
* may list out every specific kind they provide.
|
|
2554
2719
|
*/
|
|
2555
2720
|
codeActionKinds?: CodeActionKind[];
|
|
2721
|
+
/**
|
|
2722
|
+
* Static documentation for a class of code actions.
|
|
2723
|
+
*
|
|
2724
|
+
* Documentation from the provider should be shown in the code actions menu if either:
|
|
2725
|
+
*
|
|
2726
|
+
* - Code actions of `kind` are requested by the editor. In this case, the editor will show the documentation that
|
|
2727
|
+
* most closely matches the requested code action kind. For example, if a provider has documentation for
|
|
2728
|
+
* both `Refactor` and `RefactorExtract`, when the user requests code actions for `RefactorExtract`,
|
|
2729
|
+
* the editor will use the documentation for `RefactorExtract` instead of the documentation for `Refactor`.
|
|
2730
|
+
*
|
|
2731
|
+
* - Any code actions of `kind` are returned by the provider.
|
|
2732
|
+
*
|
|
2733
|
+
* At most one documentation entry should be shown per provider.
|
|
2734
|
+
*
|
|
2735
|
+
* @since 3.18.0
|
|
2736
|
+
* @proposed
|
|
2737
|
+
*/
|
|
2738
|
+
documentation?: CodeActionKindDocumentation[];
|
|
2556
2739
|
/**
|
|
2557
2740
|
* The server provides support to resolve additional
|
|
2558
2741
|
* information for a code action.
|
|
@@ -2584,6 +2767,41 @@ export declare namespace CodeActionResolveRequest {
|
|
|
2584
2767
|
const messageDirection: MessageDirection;
|
|
2585
2768
|
const type: ProtocolRequestType<CodeAction, CodeAction, never, void, void>;
|
|
2586
2769
|
}
|
|
2770
|
+
/**
|
|
2771
|
+
* @since 3.18.0
|
|
2772
|
+
*/
|
|
2773
|
+
export interface ClientSymbolKindOptions {
|
|
2774
|
+
/**
|
|
2775
|
+
* The symbol kind values the client supports. When this
|
|
2776
|
+
* property exists the client also guarantees that it will
|
|
2777
|
+
* handle values outside its set gracefully and falls back
|
|
2778
|
+
* to a default value when unknown.
|
|
2779
|
+
*
|
|
2780
|
+
* If this property is not present the client only supports
|
|
2781
|
+
* the symbol kinds from `File` to `Array` as defined in
|
|
2782
|
+
* the initial version of the protocol.
|
|
2783
|
+
*/
|
|
2784
|
+
valueSet?: SymbolKind[];
|
|
2785
|
+
}
|
|
2786
|
+
/**
|
|
2787
|
+
* @since 3.18.0
|
|
2788
|
+
*/
|
|
2789
|
+
export interface ClientSymbolTagOptions {
|
|
2790
|
+
/**
|
|
2791
|
+
* The tags supported by the client.
|
|
2792
|
+
*/
|
|
2793
|
+
valueSet: SymbolTag[];
|
|
2794
|
+
}
|
|
2795
|
+
/**
|
|
2796
|
+
* @since 3.18.0
|
|
2797
|
+
*/
|
|
2798
|
+
export interface ClientSymbolResolveOptions {
|
|
2799
|
+
/**
|
|
2800
|
+
* The properties that a client can resolve lazily. Usually
|
|
2801
|
+
* `location.range`
|
|
2802
|
+
*/
|
|
2803
|
+
properties: string[];
|
|
2804
|
+
}
|
|
2587
2805
|
/**
|
|
2588
2806
|
* Client capabilities for a {@link WorkspaceSymbolRequest}.
|
|
2589
2807
|
*/
|
|
@@ -2595,31 +2813,14 @@ export interface WorkspaceSymbolClientCapabilities {
|
|
|
2595
2813
|
/**
|
|
2596
2814
|
* Specific capabilities for the `SymbolKind` in the `workspace/symbol` request.
|
|
2597
2815
|
*/
|
|
2598
|
-
symbolKind?:
|
|
2599
|
-
/**
|
|
2600
|
-
* The symbol kind values the client supports. When this
|
|
2601
|
-
* property exists the client also guarantees that it will
|
|
2602
|
-
* handle values outside its set gracefully and falls back
|
|
2603
|
-
* to a default value when unknown.
|
|
2604
|
-
*
|
|
2605
|
-
* If this property is not present the client only supports
|
|
2606
|
-
* the symbol kinds from `File` to `Array` as defined in
|
|
2607
|
-
* the initial version of the protocol.
|
|
2608
|
-
*/
|
|
2609
|
-
valueSet?: SymbolKind[];
|
|
2610
|
-
};
|
|
2816
|
+
symbolKind?: ClientSymbolKindOptions;
|
|
2611
2817
|
/**
|
|
2612
2818
|
* The client supports tags on `SymbolInformation`.
|
|
2613
2819
|
* Clients supporting tags have to handle unknown tags gracefully.
|
|
2614
2820
|
*
|
|
2615
2821
|
* @since 3.16.0
|
|
2616
2822
|
*/
|
|
2617
|
-
tagSupport?:
|
|
2618
|
-
/**
|
|
2619
|
-
* The tags supported by the client.
|
|
2620
|
-
*/
|
|
2621
|
-
valueSet: SymbolTag[];
|
|
2622
|
-
};
|
|
2823
|
+
tagSupport?: ClientSymbolTagOptions;
|
|
2623
2824
|
/**
|
|
2624
2825
|
* The client support partial workspace symbols. The client will send the
|
|
2625
2826
|
* request `workspaceSymbol/resolve` to the server to resolve additional
|
|
@@ -2627,13 +2828,7 @@ export interface WorkspaceSymbolClientCapabilities {
|
|
|
2627
2828
|
*
|
|
2628
2829
|
* @since 3.17.0
|
|
2629
2830
|
*/
|
|
2630
|
-
resolveSupport?:
|
|
2631
|
-
/**
|
|
2632
|
-
* The properties that a client can resolve lazily. Usually
|
|
2633
|
-
* `location.range`
|
|
2634
|
-
*/
|
|
2635
|
-
properties: string[];
|
|
2636
|
-
};
|
|
2831
|
+
resolveSupport?: ClientSymbolResolveOptions;
|
|
2637
2832
|
}
|
|
2638
2833
|
/**
|
|
2639
2834
|
* The parameters of a {@link WorkspaceSymbolRequest}.
|
|
@@ -3093,12 +3288,20 @@ export declare namespace RenameRequest {
|
|
|
3093
3288
|
}
|
|
3094
3289
|
export interface PrepareRenameParams extends TextDocumentPositionParams, WorkDoneProgressParams {
|
|
3095
3290
|
}
|
|
3096
|
-
|
|
3291
|
+
/**
|
|
3292
|
+
* @since 3.18.0
|
|
3293
|
+
*/
|
|
3294
|
+
export interface PrepareRenamePlaceholder {
|
|
3097
3295
|
range: Range;
|
|
3098
3296
|
placeholder: string;
|
|
3099
|
-
}
|
|
3297
|
+
}
|
|
3298
|
+
/**
|
|
3299
|
+
* @since 3.18.0
|
|
3300
|
+
*/
|
|
3301
|
+
export interface PrepareRenameDefaultBehavior {
|
|
3100
3302
|
defaultBehavior: boolean;
|
|
3101
|
-
}
|
|
3303
|
+
}
|
|
3304
|
+
export type PrepareRenameResult = Range | PrepareRenamePlaceholder | PrepareRenameDefaultBehavior;
|
|
3102
3305
|
/**
|
|
3103
3306
|
* A request to test and perform the setup necessary for a rename.
|
|
3104
3307
|
*
|
|
@@ -3154,6 +3357,17 @@ export declare namespace ExecuteCommandRequest {
|
|
|
3154
3357
|
const messageDirection: MessageDirection;
|
|
3155
3358
|
const type: ProtocolRequestType<ExecuteCommandParams, any, never, void, ExecuteCommandRegistrationOptions>;
|
|
3156
3359
|
}
|
|
3360
|
+
/**
|
|
3361
|
+
* @since 3.18.0
|
|
3362
|
+
*/
|
|
3363
|
+
export interface ChangeAnnotationsSupportOptions {
|
|
3364
|
+
/**
|
|
3365
|
+
* Whether the client groups edits with equal labels into tree nodes,
|
|
3366
|
+
* for instance all edits labelled with "Changes in Strings" would
|
|
3367
|
+
* be a tree node.
|
|
3368
|
+
*/
|
|
3369
|
+
groupsOnLabel?: boolean;
|
|
3370
|
+
}
|
|
3157
3371
|
export interface WorkspaceEditClientCapabilities {
|
|
3158
3372
|
/**
|
|
3159
3373
|
* The client supports versioned document changes in `WorkspaceEdit`s
|
|
@@ -3189,14 +3403,21 @@ export interface WorkspaceEditClientCapabilities {
|
|
|
3189
3403
|
*
|
|
3190
3404
|
* @since 3.16.0
|
|
3191
3405
|
*/
|
|
3192
|
-
changeAnnotationSupport?:
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3406
|
+
changeAnnotationSupport?: ChangeAnnotationsSupportOptions;
|
|
3407
|
+
/**
|
|
3408
|
+
* Whether the client supports `WorkspaceEditMetadata` in `WorkspaceEdit`s.
|
|
3409
|
+
*
|
|
3410
|
+
* @since 3.18.0
|
|
3411
|
+
* @proposed
|
|
3412
|
+
*/
|
|
3413
|
+
metadataSupport?: boolean;
|
|
3414
|
+
/**
|
|
3415
|
+
* Whether the client supports snippets as text edits.
|
|
3416
|
+
*
|
|
3417
|
+
* @since 3.18.0
|
|
3418
|
+
* @proposed
|
|
3419
|
+
*/
|
|
3420
|
+
snippetEditSupport?: boolean;
|
|
3200
3421
|
}
|
|
3201
3422
|
/**
|
|
3202
3423
|
* The parameters passed via an apply workspace edit request.
|
|
@@ -3212,6 +3433,13 @@ export interface ApplyWorkspaceEditParams {
|
|
|
3212
3433
|
* The edits to apply.
|
|
3213
3434
|
*/
|
|
3214
3435
|
edit: WorkspaceEdit;
|
|
3436
|
+
/**
|
|
3437
|
+
* Additional data about the edit.
|
|
3438
|
+
*
|
|
3439
|
+
* @since 3.18.0
|
|
3440
|
+
* @proposed
|
|
3441
|
+
*/
|
|
3442
|
+
metadata?: WorkspaceEditMetadata;
|
|
3215
3443
|
}
|
|
3216
3444
|
/**
|
|
3217
3445
|
* The result returned from the apply workspace edit request.
|
|
@@ -3247,6 +3475,7 @@ export declare namespace ApplyWorkspaceEditRequest {
|
|
|
3247
3475
|
const method: 'workspace/applyEdit';
|
|
3248
3476
|
const messageDirection: MessageDirection;
|
|
3249
3477
|
const type: ProtocolRequestType<ApplyWorkspaceEditParams, ApplyWorkspaceEditResult, never, void, void>;
|
|
3478
|
+
type HandlerSignature = RequestHandler<ApplyWorkspaceEditParams, ApplyWorkspaceEditResult, void>;
|
|
3250
3479
|
}
|
|
3251
|
-
export { ImplementationRequest, ImplementationParams, ImplementationRegistrationOptions, ImplementationOptions, TypeDefinitionRequest, TypeDefinitionParams, TypeDefinitionRegistrationOptions, TypeDefinitionOptions, WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFoldersChangeEvent, ConfigurationRequest, ConfigurationParams, ConfigurationItem, DocumentColorRequest, ColorPresentationRequest, DocumentColorOptions, DocumentColorParams, ColorPresentationParams, DocumentColorRegistrationOptions, FoldingRangeClientCapabilities, FoldingRangeOptions, FoldingRangeRequest, FoldingRangeParams, FoldingRangeRegistrationOptions, FoldingRangeRefreshRequest, DeclarationClientCapabilities, DeclarationRequest, DeclarationParams, DeclarationRegistrationOptions, DeclarationOptions, SelectionRangeClientCapabilities, SelectionRangeOptions, SelectionRangeParams, SelectionRangeRequest, SelectionRangeRegistrationOptions, WorkDoneProgressBegin, WorkDoneProgressReport, WorkDoneProgressEnd, WorkDoneProgress, WorkDoneProgressCreateParams, WorkDoneProgressCreateRequest, WorkDoneProgressCancelParams, WorkDoneProgressCancelNotification, CallHierarchyClientCapabilities, CallHierarchyOptions, CallHierarchyRegistrationOptions, CallHierarchyIncomingCallsParams, CallHierarchyIncomingCallsRequest, CallHierarchyOutgoingCallsParams, CallHierarchyOutgoingCallsRequest, CallHierarchyPrepareParams, CallHierarchyPrepareRequest, SemanticTokensPartialResult, SemanticTokensDeltaPartialResult, TokenFormat, SemanticTokensClientCapabilities, SemanticTokensOptions, SemanticTokensRegistrationOptions, SemanticTokensParams, SemanticTokensRequest, SemanticTokensDeltaParams, SemanticTokensDeltaRequest, SemanticTokensRangeParams, SemanticTokensRangeRequest, SemanticTokensRefreshRequest, SemanticTokensRegistrationType, ShowDocumentParams, ShowDocumentRequest, ShowDocumentResult, ShowDocumentClientCapabilities, LinkedEditingRangeClientCapabilities, LinkedEditingRanges, LinkedEditingRangeOptions, LinkedEditingRangeParams, LinkedEditingRangeRegistrationOptions, LinkedEditingRangeRequest, FileOperationOptions, FileOperationClientCapabilities, FileOperationRegistrationOptions, FileOperationPatternOptions, FileOperationPatternKind, DidCreateFilesNotification, CreateFilesParams, FileCreate, WillCreateFilesRequest, DidRenameFilesNotification, RenameFilesParams, FileRename, WillRenameFilesRequest, DidDeleteFilesNotification, DeleteFilesParams, FileDelete, WillDeleteFilesRequest, UniquenessLevel, MonikerKind, Moniker, MonikerClientCapabilities, MonikerOptions, MonikerRegistrationOptions, MonikerParams, MonikerRequest, TypeHierarchyClientCapabilities, TypeHierarchyOptions, TypeHierarchyRegistrationOptions, TypeHierarchyPrepareParams, TypeHierarchyPrepareRequest, TypeHierarchySubtypesParams, TypeHierarchySubtypesRequest, TypeHierarchySupertypesParams, TypeHierarchySupertypesRequest, InlineValueClientCapabilities, InlineValueOptions, InlineValueRegistrationOptions, InlineValueWorkspaceClientCapabilities, InlineValueParams, InlineValueRequest, InlineValueRefreshRequest, InlayHintClientCapabilities, InlayHintOptions, InlayHintRegistrationOptions, InlayHintWorkspaceClientCapabilities, InlayHintParams, InlayHintRequest, InlayHintResolveRequest, InlayHintRefreshRequest, DiagnosticClientCapabilities, DiagnosticOptions, DiagnosticRegistrationOptions, DiagnosticServerCancellationData, DocumentDiagnosticParams, DocumentDiagnosticReportKind, FullDocumentDiagnosticReport, RelatedFullDocumentDiagnosticReport, UnchangedDocumentDiagnosticReport, RelatedUnchangedDocumentDiagnosticReport, DocumentDiagnosticReport, DocumentDiagnosticReportPartialResult, DocumentDiagnosticRequest, PreviousResultId, WorkspaceDiagnosticParams, WorkspaceFullDocumentDiagnosticReport, WorkspaceUnchangedDocumentDiagnosticReport, WorkspaceDocumentDiagnosticReport, WorkspaceDiagnosticReport, WorkspaceDiagnosticReportPartialResult, WorkspaceDiagnosticRequest, DiagnosticRefreshRequest, NotebookDocumentSyncClientCapabilities, NotebookCellKind, ExecutionSummary, NotebookCell, NotebookDocument, NotebookDocumentIdentifier, VersionedNotebookDocumentIdentifier, NotebookDocumentSyncOptions, NotebookDocumentSyncRegistrationOptions, NotebookDocumentSyncRegistrationType, DidOpenNotebookDocumentParams, DidOpenNotebookDocumentNotification, NotebookCellArrayChange, NotebookDocumentChangeEvent, DidChangeNotebookDocumentParams, DidChangeNotebookDocumentNotification, DidSaveNotebookDocumentParams, DidSaveNotebookDocumentNotification, DidCloseNotebookDocumentParams, DidCloseNotebookDocumentNotification, InlineCompletionClientCapabilities, InlineCompletionOptions, InlineCompletionParams, InlineCompletionRegistrationOptions, InlineCompletionRequest };
|
|
3480
|
+
export { ImplementationRequest, ImplementationParams, ImplementationRegistrationOptions, ImplementationOptions, TypeDefinitionRequest, TypeDefinitionParams, TypeDefinitionRegistrationOptions, TypeDefinitionOptions, WorkspaceFoldersRequest, DidChangeWorkspaceFoldersNotification, DidChangeWorkspaceFoldersParams, WorkspaceFoldersChangeEvent, ConfigurationRequest, ConfigurationParams, ConfigurationItem, DocumentColorRequest, ColorPresentationRequest, DocumentColorOptions, DocumentColorParams, ColorPresentationParams, DocumentColorRegistrationOptions, FoldingRangeClientCapabilities, FoldingRangeOptions, FoldingRangeRequest, FoldingRangeParams, FoldingRangeRegistrationOptions, FoldingRangeRefreshRequest, DeclarationClientCapabilities, DeclarationRequest, DeclarationParams, DeclarationRegistrationOptions, DeclarationOptions, SelectionRangeClientCapabilities, SelectionRangeOptions, SelectionRangeParams, SelectionRangeRequest, SelectionRangeRegistrationOptions, WorkDoneProgressBegin, WorkDoneProgressReport, WorkDoneProgressEnd, WorkDoneProgress, WorkDoneProgressCreateParams, WorkDoneProgressCreateRequest, WorkDoneProgressCancelParams, WorkDoneProgressCancelNotification, CallHierarchyClientCapabilities, CallHierarchyOptions, CallHierarchyRegistrationOptions, CallHierarchyIncomingCallsParams, CallHierarchyIncomingCallsRequest, CallHierarchyOutgoingCallsParams, CallHierarchyOutgoingCallsRequest, CallHierarchyPrepareParams, CallHierarchyPrepareRequest, SemanticTokensPartialResult, SemanticTokensDeltaPartialResult, TokenFormat, SemanticTokensClientCapabilities, SemanticTokensOptions, SemanticTokensRegistrationOptions, SemanticTokensParams, SemanticTokensRequest, SemanticTokensDeltaParams, SemanticTokensDeltaRequest, SemanticTokensRangeParams, SemanticTokensRangeRequest, SemanticTokensRefreshRequest, SemanticTokensRegistrationType, ShowDocumentParams, ShowDocumentRequest, ShowDocumentResult, ShowDocumentClientCapabilities, LinkedEditingRangeClientCapabilities, LinkedEditingRanges, LinkedEditingRangeOptions, LinkedEditingRangeParams, LinkedEditingRangeRegistrationOptions, LinkedEditingRangeRequest, FileOperationOptions, FileOperationClientCapabilities, FileOperationRegistrationOptions, FileOperationPatternOptions, FileOperationPatternKind, DidCreateFilesNotification, CreateFilesParams, FileCreate, WillCreateFilesRequest, DidRenameFilesNotification, RenameFilesParams, FileRename, WillRenameFilesRequest, DidDeleteFilesNotification, DeleteFilesParams, FileDelete, WillDeleteFilesRequest, UniquenessLevel, MonikerKind, Moniker, MonikerClientCapabilities, MonikerOptions, MonikerRegistrationOptions, MonikerParams, MonikerRequest, TypeHierarchyClientCapabilities, TypeHierarchyOptions, TypeHierarchyRegistrationOptions, TypeHierarchyPrepareParams, TypeHierarchyPrepareRequest, TypeHierarchySubtypesParams, TypeHierarchySubtypesRequest, TypeHierarchySupertypesParams, TypeHierarchySupertypesRequest, InlineValueClientCapabilities, InlineValueOptions, InlineValueRegistrationOptions, InlineValueWorkspaceClientCapabilities, InlineValueParams, InlineValueRequest, InlineValueRefreshRequest, InlayHintClientCapabilities, InlayHintOptions, InlayHintRegistrationOptions, InlayHintWorkspaceClientCapabilities, InlayHintParams, InlayHintRequest, InlayHintResolveRequest, InlayHintRefreshRequest, DiagnosticClientCapabilities, DiagnosticOptions, DiagnosticRegistrationOptions, DiagnosticServerCancellationData, DocumentDiagnosticParams, DocumentDiagnosticReportKind, FullDocumentDiagnosticReport, RelatedFullDocumentDiagnosticReport, UnchangedDocumentDiagnosticReport, RelatedUnchangedDocumentDiagnosticReport, DocumentDiagnosticReport, DocumentDiagnosticReportPartialResult, DocumentDiagnosticRequest, PreviousResultId, WorkspaceDiagnosticParams, WorkspaceFullDocumentDiagnosticReport, WorkspaceUnchangedDocumentDiagnosticReport, WorkspaceDocumentDiagnosticReport, WorkspaceDiagnosticReport, WorkspaceDiagnosticReportPartialResult, WorkspaceDiagnosticRequest, DiagnosticRefreshRequest, NotebookDocumentSyncClientCapabilities, NotebookCellKind, ExecutionSummary, NotebookCell, NotebookDocument, NotebookDocumentIdentifier, VersionedNotebookDocumentIdentifier, NotebookDocumentSyncOptions, NotebookDocumentSyncRegistrationOptions, NotebookDocumentSyncRegistrationType, DidOpenNotebookDocumentParams, DidOpenNotebookDocumentNotification, NotebookCellArrayChange, NotebookDocumentChangeEvent, DidChangeNotebookDocumentParams, DidChangeNotebookDocumentNotification, DidSaveNotebookDocumentParams, DidSaveNotebookDocumentNotification, DidCloseNotebookDocumentParams, DidCloseNotebookDocumentNotification, InlineCompletionClientCapabilities, InlineCompletionOptions, InlineCompletionParams, InlineCompletionRegistrationOptions, InlineCompletionRequest, };
|
|
3252
3481
|
export { DocumentColorOptions as ColorProviderOptions, DocumentColorOptions as ColorOptions, FoldingRangeOptions as FoldingRangeProviderOptions, SelectionRangeOptions as SelectionRangeProviderOptions, DocumentColorRegistrationOptions as ColorRegistrationOptions };
|