@lspeasy/core 2.3.0 → 2.4.0
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/dist/discover.d.ts +40 -0
- package/dist/discover.d.ts.map +1 -1
- package/dist/discover.js +41 -0
- package/dist/discover.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/protocol/capabilities.d.ts +1 -1
- package/dist/protocol/capabilities.d.ts.map +1 -1
- package/dist/protocol/enums.d.ts +374 -329
- package/dist/protocol/enums.d.ts.map +1 -1
- package/dist/protocol/enums.js +334 -369
- package/dist/protocol/enums.js.map +1 -1
- package/dist/protocol/infer.d.ts +1 -1
- package/dist/protocol/infer.d.ts.map +1 -1
- package/dist/protocol/namespaces.d.ts +8 -5
- package/dist/protocol/namespaces.d.ts.map +1 -1
- package/dist/protocol/namespaces.js +6 -2
- package/dist/protocol/namespaces.js.map +1 -1
- package/dist/protocol/partial.d.ts +1 -1
- package/dist/protocol/partial.d.ts.map +1 -1
- package/dist/protocol/progress.d.ts +1 -1
- package/dist/protocol/progress.d.ts.map +1 -1
- package/dist/protocol/schemas.d.ts +135 -54
- package/dist/protocol/schemas.d.ts.map +1 -1
- package/dist/protocol/schemas.js +11 -8
- package/dist/protocol/schemas.js.map +1 -1
- package/dist/protocol/types.d.ts +1899 -9
- package/dist/protocol/types.d.ts.map +1 -1
- package/dist/protocol/types.js +5 -2
- package/dist/protocol/types.js.map +1 -1
- package/dist/protocol/watching.d.ts +1 -1
- package/dist/protocol/watching.d.ts.map +1 -1
- package/dist/protocol/workspace.d.ts +1 -1
- package/dist/protocol/workspace.d.ts.map +1 -1
- package/dist/utils/document.d.ts +1 -1
- package/dist/utils/document.d.ts.map +1 -1
- package/package.json +2 -3
package/dist/protocol/enums.d.ts
CHANGED
|
@@ -1,336 +1,381 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* LSP Protocol Enums
|
|
3
3
|
*
|
|
4
|
+
* Emitted as const objects + union type aliases for structural compatibility
|
|
5
|
+
* with vscode-languageserver-protocol, which uses the same pattern.
|
|
6
|
+
*
|
|
4
7
|
* Auto-generated from metaModel.json
|
|
5
8
|
* DO NOT EDIT MANUALLY
|
|
6
9
|
*/
|
|
7
|
-
export declare
|
|
8
|
-
Replace
|
|
9
|
-
Merge
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
export
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
export
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
export declare
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
export declare
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
export
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
export
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
export declare
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
'
|
|
212
|
-
'
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
export declare
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
export declare
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
'
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
'
|
|
248
|
-
'
|
|
249
|
-
'
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
'
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
export declare
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}
|
|
10
|
+
export declare const ApplyKind: {
|
|
11
|
+
readonly Replace: 1;
|
|
12
|
+
readonly Merge: 2;
|
|
13
|
+
};
|
|
14
|
+
export type ApplyKind = 1 | 2;
|
|
15
|
+
export declare const CodeActionKind: {
|
|
16
|
+
readonly Empty: '';
|
|
17
|
+
readonly QuickFix: 'quickfix';
|
|
18
|
+
readonly Refactor: 'refactor';
|
|
19
|
+
readonly RefactorExtract: 'refactor.extract';
|
|
20
|
+
readonly RefactorInline: 'refactor.inline';
|
|
21
|
+
readonly RefactorMove: 'refactor.move';
|
|
22
|
+
readonly RefactorRewrite: 'refactor.rewrite';
|
|
23
|
+
readonly Source: 'source';
|
|
24
|
+
readonly SourceOrganizeImports: 'source.organizeImports';
|
|
25
|
+
readonly SourceFixAll: 'source.fixAll';
|
|
26
|
+
readonly Notebook: 'notebook';
|
|
27
|
+
};
|
|
28
|
+
export type CodeActionKind = '' | 'quickfix' | 'refactor' | 'refactor.extract' | 'refactor.inline' | 'refactor.move' | 'refactor.rewrite' | 'source' | 'source.organizeImports' | 'source.fixAll' | 'notebook' | string;
|
|
29
|
+
export declare const CodeActionTag: {
|
|
30
|
+
readonly LLMGenerated: 1;
|
|
31
|
+
};
|
|
32
|
+
export type CodeActionTag = 1;
|
|
33
|
+
export declare const CodeActionTriggerKind: {
|
|
34
|
+
readonly Invoked: 1;
|
|
35
|
+
readonly Automatic: 2;
|
|
36
|
+
};
|
|
37
|
+
export type CodeActionTriggerKind = 1 | 2;
|
|
38
|
+
export declare const CompletionItemKind: {
|
|
39
|
+
readonly Text: 1;
|
|
40
|
+
readonly Method: 2;
|
|
41
|
+
readonly Function: 3;
|
|
42
|
+
readonly Constructor: 4;
|
|
43
|
+
readonly Field: 5;
|
|
44
|
+
readonly Variable: 6;
|
|
45
|
+
readonly Class: 7;
|
|
46
|
+
readonly Interface: 8;
|
|
47
|
+
readonly Module: 9;
|
|
48
|
+
readonly Property: 10;
|
|
49
|
+
readonly Unit: 11;
|
|
50
|
+
readonly Value: 12;
|
|
51
|
+
readonly Enum: 13;
|
|
52
|
+
readonly Keyword: 14;
|
|
53
|
+
readonly Snippet: 15;
|
|
54
|
+
readonly Color: 16;
|
|
55
|
+
readonly File: 17;
|
|
56
|
+
readonly Reference: 18;
|
|
57
|
+
readonly Folder: 19;
|
|
58
|
+
readonly EnumMember: 20;
|
|
59
|
+
readonly Constant: 21;
|
|
60
|
+
readonly Struct: 22;
|
|
61
|
+
readonly Event: 23;
|
|
62
|
+
readonly Operator: 24;
|
|
63
|
+
readonly TypeParameter: 25;
|
|
64
|
+
};
|
|
65
|
+
export type CompletionItemKind = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25;
|
|
66
|
+
export declare const CompletionItemTag: {
|
|
67
|
+
readonly Deprecated: 1;
|
|
68
|
+
};
|
|
69
|
+
export type CompletionItemTag = 1;
|
|
70
|
+
export declare const CompletionTriggerKind: {
|
|
71
|
+
readonly Invoked: 1;
|
|
72
|
+
readonly TriggerCharacter: 2;
|
|
73
|
+
readonly TriggerForIncompleteCompletions: 3;
|
|
74
|
+
};
|
|
75
|
+
export type CompletionTriggerKind = 1 | 2 | 3;
|
|
76
|
+
export declare const DiagnosticSeverity: {
|
|
77
|
+
readonly Error: 1;
|
|
78
|
+
readonly Warning: 2;
|
|
79
|
+
readonly Information: 3;
|
|
80
|
+
readonly Hint: 4;
|
|
81
|
+
};
|
|
82
|
+
export type DiagnosticSeverity = 1 | 2 | 3 | 4;
|
|
83
|
+
export declare const DiagnosticTag: {
|
|
84
|
+
readonly Unnecessary: 1;
|
|
85
|
+
readonly Deprecated: 2;
|
|
86
|
+
};
|
|
87
|
+
export type DiagnosticTag = 1 | 2;
|
|
88
|
+
export declare const DocumentDiagnosticReportKind: {
|
|
89
|
+
readonly Full: 'full';
|
|
90
|
+
readonly Unchanged: 'unchanged';
|
|
91
|
+
};
|
|
92
|
+
export type DocumentDiagnosticReportKind = 'full' | 'unchanged';
|
|
93
|
+
export declare const DocumentHighlightKind: {
|
|
94
|
+
readonly Text: 1;
|
|
95
|
+
readonly Read: 2;
|
|
96
|
+
readonly Write: 3;
|
|
97
|
+
};
|
|
98
|
+
export type DocumentHighlightKind = 1 | 2 | 3;
|
|
99
|
+
export declare const ErrorCodes: {
|
|
100
|
+
readonly ParseError: -32700;
|
|
101
|
+
readonly InvalidRequest: -32600;
|
|
102
|
+
readonly MethodNotFound: -32601;
|
|
103
|
+
readonly InvalidParams: -32602;
|
|
104
|
+
readonly InternalError: -32603;
|
|
105
|
+
readonly ServerNotInitialized: -32002;
|
|
106
|
+
readonly UnknownErrorCode: -32001;
|
|
107
|
+
};
|
|
108
|
+
export type ErrorCodes = -32700 | -32600 | -32601 | -32602 | -32603 | -32002 | -32001 | number;
|
|
109
|
+
export declare const FailureHandlingKind: {
|
|
110
|
+
readonly Abort: 'abort';
|
|
111
|
+
readonly Transactional: 'transactional';
|
|
112
|
+
readonly TextOnlyTransactional: 'textOnlyTransactional';
|
|
113
|
+
readonly Undo: 'undo';
|
|
114
|
+
};
|
|
115
|
+
export type FailureHandlingKind = 'abort' | 'transactional' | 'textOnlyTransactional' | 'undo';
|
|
116
|
+
export declare const FileChangeType: {
|
|
117
|
+
readonly Created: 1;
|
|
118
|
+
readonly Changed: 2;
|
|
119
|
+
readonly Deleted: 3;
|
|
120
|
+
};
|
|
121
|
+
export type FileChangeType = 1 | 2 | 3;
|
|
122
|
+
export declare const FileOperationPatternKind: {
|
|
123
|
+
readonly file: 'file';
|
|
124
|
+
readonly folder: 'folder';
|
|
125
|
+
};
|
|
126
|
+
export type FileOperationPatternKind = 'file' | 'folder';
|
|
127
|
+
export declare const FoldingRangeKind: {
|
|
128
|
+
readonly Comment: 'comment';
|
|
129
|
+
readonly Imports: 'imports';
|
|
130
|
+
readonly Region: 'region';
|
|
131
|
+
};
|
|
132
|
+
export type FoldingRangeKind = 'comment' | 'imports' | 'region' | string;
|
|
133
|
+
export declare const InlayHintKind: {
|
|
134
|
+
readonly Type: 1;
|
|
135
|
+
readonly Parameter: 2;
|
|
136
|
+
};
|
|
137
|
+
export type InlayHintKind = 1 | 2;
|
|
138
|
+
export declare const InlineCompletionTriggerKind: {
|
|
139
|
+
readonly Invoked: 1;
|
|
140
|
+
readonly Automatic: 2;
|
|
141
|
+
};
|
|
142
|
+
export type InlineCompletionTriggerKind = 1 | 2;
|
|
143
|
+
export declare const InsertTextFormat: {
|
|
144
|
+
readonly PlainText: 1;
|
|
145
|
+
readonly Snippet: 2;
|
|
146
|
+
};
|
|
147
|
+
export type InsertTextFormat = 1 | 2;
|
|
148
|
+
export declare const InsertTextMode: {
|
|
149
|
+
readonly asIs: 1;
|
|
150
|
+
readonly adjustIndentation: 2;
|
|
151
|
+
};
|
|
152
|
+
export type InsertTextMode = 1 | 2;
|
|
153
|
+
export declare const LanguageKind: {
|
|
154
|
+
readonly ABAP: 'abap';
|
|
155
|
+
readonly WindowsBat: 'bat';
|
|
156
|
+
readonly BibTeX: 'bibtex';
|
|
157
|
+
readonly Clojure: 'clojure';
|
|
158
|
+
readonly Coffeescript: 'coffeescript';
|
|
159
|
+
readonly C: 'c';
|
|
160
|
+
readonly CPP: 'cpp';
|
|
161
|
+
readonly CSharp: 'csharp';
|
|
162
|
+
readonly CSS: 'css';
|
|
163
|
+
readonly D: 'd';
|
|
164
|
+
readonly Delphi: 'pascal';
|
|
165
|
+
readonly Diff: 'diff';
|
|
166
|
+
readonly Dart: 'dart';
|
|
167
|
+
readonly Dockerfile: 'dockerfile';
|
|
168
|
+
readonly Elixir: 'elixir';
|
|
169
|
+
readonly Erlang: 'erlang';
|
|
170
|
+
readonly FSharp: 'fsharp';
|
|
171
|
+
readonly GitCommit: 'git-commit';
|
|
172
|
+
readonly GitRebase: 'git-rebase';
|
|
173
|
+
readonly Go: 'go';
|
|
174
|
+
readonly Groovy: 'groovy';
|
|
175
|
+
readonly Handlebars: 'handlebars';
|
|
176
|
+
readonly Haskell: 'haskell';
|
|
177
|
+
readonly HTML: 'html';
|
|
178
|
+
readonly Ini: 'ini';
|
|
179
|
+
readonly Java: 'java';
|
|
180
|
+
readonly JavaScript: 'javascript';
|
|
181
|
+
readonly JavaScriptReact: 'javascriptreact';
|
|
182
|
+
readonly JSON: 'json';
|
|
183
|
+
readonly LaTeX: 'latex';
|
|
184
|
+
readonly Less: 'less';
|
|
185
|
+
readonly Lua: 'lua';
|
|
186
|
+
readonly Makefile: 'makefile';
|
|
187
|
+
readonly Markdown: 'markdown';
|
|
188
|
+
readonly ObjectiveC: 'objective-c';
|
|
189
|
+
readonly ObjectiveCPP: 'objective-cpp';
|
|
190
|
+
readonly Pascal: 'pascal';
|
|
191
|
+
readonly Perl: 'perl';
|
|
192
|
+
readonly Perl6: 'perl6';
|
|
193
|
+
readonly PHP: 'php';
|
|
194
|
+
readonly Plaintext: 'plaintext';
|
|
195
|
+
readonly Powershell: 'powershell';
|
|
196
|
+
readonly Pug: 'jade';
|
|
197
|
+
readonly Python: 'python';
|
|
198
|
+
readonly R: 'r';
|
|
199
|
+
readonly Razor: 'razor';
|
|
200
|
+
readonly Ruby: 'ruby';
|
|
201
|
+
readonly Rust: 'rust';
|
|
202
|
+
readonly SCSS: 'scss';
|
|
203
|
+
readonly SASS: 'sass';
|
|
204
|
+
readonly Scala: 'scala';
|
|
205
|
+
readonly ShaderLab: 'shaderlab';
|
|
206
|
+
readonly ShellScript: 'shellscript';
|
|
207
|
+
readonly SQL: 'sql';
|
|
208
|
+
readonly Swift: 'swift';
|
|
209
|
+
readonly TypeScript: 'typescript';
|
|
210
|
+
readonly TypeScriptReact: 'typescriptreact';
|
|
211
|
+
readonly TeX: 'tex';
|
|
212
|
+
readonly VisualBasic: 'vb';
|
|
213
|
+
readonly XML: 'xml';
|
|
214
|
+
readonly XSL: 'xsl';
|
|
215
|
+
readonly YAML: 'yaml';
|
|
216
|
+
};
|
|
217
|
+
export type LanguageKind = 'abap' | 'bat' | 'bibtex' | 'clojure' | 'coffeescript' | 'c' | 'cpp' | 'csharp' | 'css' | 'd' | 'pascal' | 'diff' | 'dart' | 'dockerfile' | 'elixir' | 'erlang' | 'fsharp' | 'git-commit' | 'git-rebase' | 'go' | 'groovy' | 'handlebars' | 'haskell' | 'html' | 'ini' | 'java' | 'javascript' | 'javascriptreact' | 'json' | 'latex' | 'less' | 'lua' | 'makefile' | 'markdown' | 'objective-c' | 'objective-cpp' | 'pascal' | 'perl' | 'perl6' | 'php' | 'plaintext' | 'powershell' | 'jade' | 'python' | 'r' | 'razor' | 'ruby' | 'rust' | 'scss' | 'sass' | 'scala' | 'shaderlab' | 'shellscript' | 'sql' | 'swift' | 'typescript' | 'typescriptreact' | 'tex' | 'vb' | 'xml' | 'xsl' | 'yaml' | string;
|
|
218
|
+
export declare const LSPErrorCodes: {
|
|
219
|
+
readonly RequestFailed: -32803;
|
|
220
|
+
readonly ServerCancelled: -32802;
|
|
221
|
+
readonly ContentModified: -32801;
|
|
222
|
+
readonly RequestCancelled: -32800;
|
|
223
|
+
};
|
|
224
|
+
export type LSPErrorCodes = -32803 | -32802 | -32801 | -32800 | number;
|
|
225
|
+
export declare const MarkupKind: {
|
|
226
|
+
readonly PlainText: 'plaintext';
|
|
227
|
+
readonly Markdown: 'markdown';
|
|
228
|
+
};
|
|
229
|
+
export type MarkupKind = 'plaintext' | 'markdown';
|
|
230
|
+
export declare const MessageType: {
|
|
231
|
+
readonly Error: 1;
|
|
232
|
+
readonly Warning: 2;
|
|
233
|
+
readonly Info: 3;
|
|
234
|
+
readonly Log: 4;
|
|
235
|
+
readonly Debug: 5;
|
|
236
|
+
};
|
|
237
|
+
export type MessageType = 1 | 2 | 3 | 4 | 5;
|
|
238
|
+
export declare const MonikerKind: {
|
|
239
|
+
readonly import: 'import';
|
|
240
|
+
readonly export: 'export';
|
|
241
|
+
readonly local: 'local';
|
|
242
|
+
};
|
|
243
|
+
export type MonikerKind = 'import' | 'export' | 'local';
|
|
244
|
+
export declare const NotebookCellKind: {
|
|
245
|
+
readonly Markup: 1;
|
|
246
|
+
readonly Code: 2;
|
|
247
|
+
};
|
|
248
|
+
export type NotebookCellKind = 1 | 2;
|
|
249
|
+
export declare const PositionEncodingKind: {
|
|
250
|
+
readonly UTF8: 'utf-8';
|
|
251
|
+
readonly UTF16: 'utf-16';
|
|
252
|
+
readonly UTF32: 'utf-32';
|
|
253
|
+
};
|
|
254
|
+
export type PositionEncodingKind = 'utf-8' | 'utf-16' | 'utf-32' | string;
|
|
255
|
+
export declare const PrepareSupportDefaultBehavior: {
|
|
256
|
+
readonly Identifier: 1;
|
|
257
|
+
};
|
|
258
|
+
export type PrepareSupportDefaultBehavior = 1;
|
|
259
|
+
export declare const ResourceOperationKind: {
|
|
260
|
+
readonly Create: 'create';
|
|
261
|
+
readonly Rename: 'rename';
|
|
262
|
+
readonly Delete: 'delete';
|
|
263
|
+
};
|
|
264
|
+
export type ResourceOperationKind = 'create' | 'rename' | 'delete';
|
|
265
|
+
export declare const SemanticTokenModifiers: {
|
|
266
|
+
readonly declaration: 'declaration';
|
|
267
|
+
readonly definition: 'definition';
|
|
268
|
+
readonly readonly: 'readonly';
|
|
269
|
+
readonly static: 'static';
|
|
270
|
+
readonly deprecated: 'deprecated';
|
|
271
|
+
readonly abstract: 'abstract';
|
|
272
|
+
readonly async: 'async';
|
|
273
|
+
readonly modification: 'modification';
|
|
274
|
+
readonly documentation: 'documentation';
|
|
275
|
+
readonly defaultLibrary: 'defaultLibrary';
|
|
276
|
+
};
|
|
277
|
+
export type SemanticTokenModifiers = 'declaration' | 'definition' | 'readonly' | 'static' | 'deprecated' | 'abstract' | 'async' | 'modification' | 'documentation' | 'defaultLibrary' | string;
|
|
278
|
+
export declare const SemanticTokenTypes: {
|
|
279
|
+
readonly namespace: 'namespace';
|
|
280
|
+
readonly type: 'type';
|
|
281
|
+
readonly class: 'class';
|
|
282
|
+
readonly enum: 'enum';
|
|
283
|
+
readonly interface: 'interface';
|
|
284
|
+
readonly struct: 'struct';
|
|
285
|
+
readonly typeParameter: 'typeParameter';
|
|
286
|
+
readonly parameter: 'parameter';
|
|
287
|
+
readonly variable: 'variable';
|
|
288
|
+
readonly property: 'property';
|
|
289
|
+
readonly enumMember: 'enumMember';
|
|
290
|
+
readonly event: 'event';
|
|
291
|
+
readonly function: 'function';
|
|
292
|
+
readonly method: 'method';
|
|
293
|
+
readonly macro: 'macro';
|
|
294
|
+
readonly keyword: 'keyword';
|
|
295
|
+
readonly modifier: 'modifier';
|
|
296
|
+
readonly comment: 'comment';
|
|
297
|
+
readonly string: 'string';
|
|
298
|
+
readonly number: 'number';
|
|
299
|
+
readonly regexp: 'regexp';
|
|
300
|
+
readonly operator: 'operator';
|
|
301
|
+
readonly decorator: 'decorator';
|
|
302
|
+
readonly label: 'label';
|
|
303
|
+
};
|
|
304
|
+
export type SemanticTokenTypes = 'namespace' | 'type' | 'class' | 'enum' | 'interface' | 'struct' | 'typeParameter' | 'parameter' | 'variable' | 'property' | 'enumMember' | 'event' | 'function' | 'method' | 'macro' | 'keyword' | 'modifier' | 'comment' | 'string' | 'number' | 'regexp' | 'operator' | 'decorator' | 'label' | string;
|
|
305
|
+
export declare const SignatureHelpTriggerKind: {
|
|
306
|
+
readonly Invoked: 1;
|
|
307
|
+
readonly TriggerCharacter: 2;
|
|
308
|
+
readonly ContentChange: 3;
|
|
309
|
+
};
|
|
310
|
+
export type SignatureHelpTriggerKind = 1 | 2 | 3;
|
|
311
|
+
export declare const SymbolKind: {
|
|
312
|
+
readonly File: 1;
|
|
313
|
+
readonly Module: 2;
|
|
314
|
+
readonly Namespace: 3;
|
|
315
|
+
readonly Package: 4;
|
|
316
|
+
readonly Class: 5;
|
|
317
|
+
readonly Method: 6;
|
|
318
|
+
readonly Property: 7;
|
|
319
|
+
readonly Field: 8;
|
|
320
|
+
readonly Constructor: 9;
|
|
321
|
+
readonly Enum: 10;
|
|
322
|
+
readonly Interface: 11;
|
|
323
|
+
readonly Function: 12;
|
|
324
|
+
readonly Variable: 13;
|
|
325
|
+
readonly Constant: 14;
|
|
326
|
+
readonly String: 15;
|
|
327
|
+
readonly Number: 16;
|
|
328
|
+
readonly Boolean: 17;
|
|
329
|
+
readonly Array: 18;
|
|
330
|
+
readonly Object: 19;
|
|
331
|
+
readonly Key: 20;
|
|
332
|
+
readonly Null: 21;
|
|
333
|
+
readonly EnumMember: 22;
|
|
334
|
+
readonly Struct: 23;
|
|
335
|
+
readonly Event: 24;
|
|
336
|
+
readonly Operator: 25;
|
|
337
|
+
readonly TypeParameter: 26;
|
|
338
|
+
};
|
|
339
|
+
export type SymbolKind = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26;
|
|
340
|
+
export declare const SymbolTag: {
|
|
341
|
+
readonly Deprecated: 1;
|
|
342
|
+
};
|
|
343
|
+
export type SymbolTag = 1;
|
|
344
|
+
export declare const TextDocumentSaveReason: {
|
|
345
|
+
readonly Manual: 1;
|
|
346
|
+
readonly AfterDelay: 2;
|
|
347
|
+
readonly FocusOut: 3;
|
|
348
|
+
};
|
|
349
|
+
export type TextDocumentSaveReason = 1 | 2 | 3;
|
|
350
|
+
export declare const TextDocumentSyncKind: {
|
|
351
|
+
readonly None: 0;
|
|
352
|
+
readonly Full: 1;
|
|
353
|
+
readonly Incremental: 2;
|
|
354
|
+
};
|
|
355
|
+
export type TextDocumentSyncKind = 0 | 1 | 2;
|
|
356
|
+
export declare const TokenFormat: {
|
|
357
|
+
readonly Relative: 'relative';
|
|
358
|
+
};
|
|
359
|
+
export type TokenFormat = 'relative';
|
|
360
|
+
export declare const TraceValue: {
|
|
361
|
+
readonly Off: 'off';
|
|
362
|
+
readonly Messages: 'messages';
|
|
363
|
+
readonly Compact: 'compact';
|
|
364
|
+
readonly Verbose: 'verbose';
|
|
365
|
+
};
|
|
366
|
+
export type TraceValue = 'off' | 'messages' | 'compact' | 'verbose';
|
|
367
|
+
export declare const UniquenessLevel: {
|
|
368
|
+
readonly document: 'document';
|
|
369
|
+
readonly project: 'project';
|
|
370
|
+
readonly group: 'group';
|
|
371
|
+
readonly scheme: 'scheme';
|
|
372
|
+
readonly global: 'global';
|
|
373
|
+
};
|
|
374
|
+
export type UniquenessLevel = 'document' | 'project' | 'group' | 'scheme' | 'global';
|
|
375
|
+
export declare const WatchKind: {
|
|
376
|
+
readonly Create: 1;
|
|
377
|
+
readonly Change: 2;
|
|
378
|
+
readonly Delete: 4;
|
|
379
|
+
};
|
|
380
|
+
export type WatchKind = 1 | 2 | 4 | number;
|
|
336
381
|
//# sourceMappingURL=enums.d.ts.map
|