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