@codingame/monaco-vscode-api 1.76.1 → 1.76.3-next.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 (59) hide show
  1. package/README.md +2 -1
  2. package/dist/api.js +3 -860
  3. package/dist/{extHost.js → api2.js} +16555 -13467
  4. package/dist/async.js +107 -2
  5. package/dist/audioCue.js +105 -103
  6. package/dist/button.js +1 -1
  7. package/dist/cancellation.js +3 -0
  8. package/dist/configuration.js +7 -344
  9. package/dist/configuration2.js +339 -0
  10. package/dist/configurationRegistry.js +441 -0
  11. package/dist/contextkeys.js +211 -0
  12. package/dist/debug.d.ts +22 -0
  13. package/dist/debug.js +15842 -0
  14. package/dist/dialogs.js +855 -9
  15. package/dist/extensionResourceLoader.js +96 -0
  16. package/dist/extensions.d.ts +491 -0
  17. package/dist/extensions.js +70 -0
  18. package/dist/{tools.js → extensionsRegistry.js} +2 -30
  19. package/dist/files.js +1407 -334
  20. package/dist/iconv.js +43 -0
  21. package/dist/injection.js +1 -1
  22. package/dist/jschardet.js +7 -0
  23. package/dist/keybindings.d.ts +1 -485
  24. package/dist/keybindings.js +666 -679
  25. package/dist/labels.js +14 -0
  26. package/dist/languageConfiguration.d.ts +1 -2
  27. package/dist/languageConfiguration.js +9 -16
  28. package/dist/languageService.js +112 -8
  29. package/dist/languages.d.ts +1 -473
  30. package/dist/languages.js +2 -12
  31. package/dist/layout.js +4 -3
  32. package/dist/layoutService.js +1 -1
  33. package/dist/missing-services.js +4710 -74
  34. package/dist/modelEditor.d.ts +324 -2
  35. package/dist/modelEditor.js +15 -228
  36. package/dist/monaco.js +7 -72
  37. package/dist/notifications.js +75 -232
  38. package/dist/polyfill.js +10715 -2459
  39. package/dist/resources.js +197 -0
  40. package/dist/services.d.ts +924 -3
  41. package/dist/services.js +1 -2
  42. package/dist/services2.js +2436 -18
  43. package/dist/snippets.d.ts +1 -473
  44. package/dist/snippets.js +8 -867
  45. package/dist/snippetsService.js +868 -0
  46. package/dist/textFileEditorModel.js +2985 -0
  47. package/dist/textmate.d.ts +3 -475
  48. package/dist/textmate.js +19 -29
  49. package/dist/theme.d.ts +1 -3
  50. package/dist/theme.js +24 -70
  51. package/dist/tokenClassification.d.ts +1 -475
  52. package/dist/tokenClassification.js +11 -37
  53. package/dist/tokenClassificationRegistry.js +8 -4
  54. package/dist/variableResolver.js +1711 -0
  55. package/dist/workbenchThemeService.js +1 -1
  56. package/dist/workspaceContext.js +1 -3
  57. package/package.json +27 -12
  58. package/dist/contextkey.js +0 -419
  59. package/dist/dialog.web.contribution.js +0 -945
package/dist/api.js CHANGED
@@ -1,861 +1,4 @@
1
1
  import './polyfill.js';
2
- import { B as Breakpoint$1, C as CallHierarchyIncomingCall$1, a as CallHierarchyItem$1, b as CallHierarchyOutgoingCall$1, c as CancellationTokenSource$1, d as CodeAction$1, e as CodeActionKind$1, f as CodeActionTriggerKind$1, g as CodeLens$1, h as Color$1, i as ColorInformation$1, j as ColorPresentation$1, k as CommentMode$1, l as CommentThreadCollapsibleState$1, m as CompletionItem$1, n as CompletionItemKind$1, o as CompletionItemTag$1, p as CompletionList$1, q as CompletionTriggerKind$1, r as ConfigurationTarget$1, s as CustomExecution$1, D as DebugAdapterExecutable$1, t as DebugAdapterInlineImplementation$1, u as DebugAdapterNamedPipeServer$1, v as DebugAdapterServer$1, w as DebugConsoleMode$1, x as DecorationRangeBehavior$1, y as Diagnostic$1, z as DiagnosticRelatedInformation$1, A as DiagnosticSeverity$1, E as DiagnosticTag$1, F as Disposable$1, G as DocumentHighlight$1, H as DocumentHighlightKind$1, I as DocumentLink$1, J as DocumentSymbol$1, K as EndOfLine$1, L as EnvironmentVariableMutatorType$1, M as EvaluatableExpression$1, N as InlineValueText$1, O as InlineValueVariableLookup$1, P as InlineValueEvaluatableExpression$1, Q as ExtensionKind$1, R as ExtensionMode$1, S as FileChangeType$1, T as FileDecoration$1, U as FileSystemError$1, V as FoldingRange$1, W as FoldingRangeKind$1, X as FunctionBreakpoint$1, Y as Hover$1, Z as Location$1, _ as MarkdownString$1, $ as ParameterInformation$1, a0 as Position$1, a1 as ProcessExecution$1, a2 as ProgressLocation$1, a3 as QuickInputButtons$1, a4 as Range$1, a5 as RelativePattern$1, a6 as Selection$2, a7 as SelectionRange$1, a8 as SemanticTokens$1, a9 as SemanticTokensBuilder$1, aa as SemanticTokensEdit$1, ab as SemanticTokensEdits$1, ac as SemanticTokensLegend$1, ad as ShellExecution$1, ae as ShellQuoting$1, af as SignatureHelp$1, ag as SignatureHelpTriggerKind$1, ah as SignatureInformation$1, ai as SnippetString$1, aj as SourceBreakpoint$1, ak as StatusBarAlignment$1, al as SymbolInformation$1, am as SymbolKind$1, an as SymbolTag$1, ao as Task$1, ap as TaskGroup$1, aq as TaskPanelKind$1, ar as TaskRevealKind$1, as as TaskScope$1, at as TerminalLink$1, au as TerminalLocation$1, av as TerminalProfile$1, aw as TextDocumentSaveReason$1, ax as TextEdit$1, ay as TextEditorLineNumbersStyle$1, az as TextEditorRevealType$1, aA as TextEditorSelectionChangeKind$1, aB as TextDocumentChangeReason$1, aC as ThemeColor$1, aD as ThemeIcon$1, aE as TreeItem$1, aF as TreeItemCollapsibleState$1, aG as TypeHierarchyItem$1, aH as UIKind$1, aI as ViewColumn$1, aJ as WorkspaceEdit$1, aK as InlayHint$1, aL as InlayHintLabelPart$1, aM as InlayHintKind$1, aN as NotebookRange$1, aO as NotebookCellKind$1, aP as NotebookCellData$1, aQ as NotebookData$1, aR as NotebookCellStatusBarAlignment$1, aS as NotebookCellOutput$1, aT as NotebookCellOutputItem$1, aU as NotebookCellStatusBarItem$1, aV as NotebookControllerAffinity$1, aW as LinkedEditingRanges$1, aX as TestRunRequest$1, aY as TestMessage$1, aZ as TestTag$1, a_ as TestRunProfileKind$1, a$ as LanguageStatusSeverity$1, b0 as QuickPickItemKind$1, b1 as TextDiffTabInput, b2 as CustomEditorTabInput, b3 as NotebookEditorTabInput, b4 as NotebookDiffEditorTabInput, b5 as WebviewEditorTabInput, b6 as TerminalEditorTabInput, b7 as InputBoxValidationSeverity$1, b8 as InlineSuggestionList, b9 as InlineCompletionTriggerKind$1, ba as InlineSuggestion, bb as DocumentDropEdit$1, bc as NotebookEditorRevealType$1, bd as SnippetTextEdit$1, be as NotebookEdit$1, bf as TerminalExitReason$1, bg as CommentThreadState$1, bh as TelemetryTrustedValue$1, bi as getExtHostServices, bj as DEFAULT_EXTENSION, bk as LanguageSelector, bl as initData, bm as ExtHostTelemetryLogger } from './extHost.js';
3
- import { D as DebugConfigurationProviderTriggerKind$1, u as unsupported$1 } from './missing-services.js';
4
- import { E as Emitter } from './contextkey.js';
5
- import { F as FileType$1, a as FilePermission$1, S as Services } from './services2.js';
6
- import { score } from 'monaco-editor/esm/vs/editor/common/languageSelector.js';
7
- import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
8
- import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
9
- import Severity from 'monaco-editor/esm/vs/base/common/severity.js';
10
- import { LogLevel as LogLevel$1 } from 'monaco-editor/esm/vs/platform/log/common/log.js';
11
- import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
12
- import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
13
- import { DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
14
- import { matchesScheme } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
15
- import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
16
- import { CancellationError as CancellationError$1 } from 'monaco-editor/esm/vs/base/common/errors.js';
17
- import { IndentAction as IndentAction$1 } from 'monaco-editor/esm/vs/editor/common/languages/languageConfiguration.js';
18
- import { OverviewRulerLane as OverviewRulerLane$1 } from 'monaco-editor/esm/vs/editor/common/model.js';
19
- import { TextEditorCursorStyle as TextEditorCursorStyle$1 } from 'monaco-editor/esm/vs/editor/common/config/editorOptions.js';
20
- function checkSelector(selector) {
21
- return selector;
22
- }
23
- const languages$1 = {
24
- createDiagnosticCollection(name) {
25
- const { extHostDiagnostics } = getExtHostServices();
26
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
27
- return extHostDiagnostics.createDiagnosticCollection(extension.identifier, name);
28
- },
29
- get onDidChangeDiagnostics() {
30
- const { extHostDiagnostics } = getExtHostServices();
31
- return extHostDiagnostics.onDidChangeDiagnostics;
32
- },
33
- getDiagnostics: (resource) => {
34
- const { extHostDiagnostics } = getExtHostServices();
35
- return extHostDiagnostics.getDiagnostics(resource);
36
- },
37
- getLanguages() {
38
- const { extHostLanguages } = getExtHostServices();
39
- return extHostLanguages.getLanguages();
40
- },
41
- setTextDocumentLanguage(document, languageId) {
42
- const { extHostLanguages } = getExtHostServices();
43
- return extHostLanguages.changeLanguage(document.uri, languageId);
44
- },
45
- match(selector, document) {
46
- return score(LanguageSelector.from(selector), document.uri, document.languageId, true, undefined, undefined);
47
- },
48
- registerCodeActionsProvider(selector, provider, metadata) {
49
- const { extHostLanguageFeatures } = getExtHostServices();
50
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
51
- return extHostLanguageFeatures.registerCodeActionProvider(extension, checkSelector(selector), provider, metadata);
52
- },
53
- registerCodeLensProvider(selector, provider) {
54
- const { extHostLanguageFeatures } = getExtHostServices();
55
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
56
- return extHostLanguageFeatures.registerCodeLensProvider(extension, checkSelector(selector), provider);
57
- },
58
- registerDefinitionProvider(selector, provider) {
59
- const { extHostLanguageFeatures } = getExtHostServices();
60
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
61
- return extHostLanguageFeatures.registerDefinitionProvider(extension, checkSelector(selector), provider);
62
- },
63
- registerDeclarationProvider(selector, provider) {
64
- const { extHostLanguageFeatures } = getExtHostServices();
65
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
66
- return extHostLanguageFeatures.registerDeclarationProvider(extension, checkSelector(selector), provider);
67
- },
68
- registerImplementationProvider(selector, provider) {
69
- const { extHostLanguageFeatures } = getExtHostServices();
70
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
71
- return extHostLanguageFeatures.registerImplementationProvider(extension, checkSelector(selector), provider);
72
- },
73
- registerTypeDefinitionProvider(selector, provider) {
74
- const { extHostLanguageFeatures } = getExtHostServices();
75
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
76
- return extHostLanguageFeatures.registerTypeDefinitionProvider(extension, checkSelector(selector), provider);
77
- },
78
- registerHoverProvider(selector, provider) {
79
- const { extHostLanguageFeatures } = getExtHostServices();
80
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
81
- return extHostLanguageFeatures.registerHoverProvider(extension, checkSelector(selector), provider, extension.identifier);
82
- },
83
- registerEvaluatableExpressionProvider(selector, provider) {
84
- const { extHostLanguageFeatures } = getExtHostServices();
85
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
86
- return extHostLanguageFeatures.registerEvaluatableExpressionProvider(extension, checkSelector(selector), provider, extension.identifier);
87
- },
88
- registerInlineValuesProvider(selector, provider) {
89
- const { extHostLanguageFeatures } = getExtHostServices();
90
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
91
- return extHostLanguageFeatures.registerInlineValuesProvider(extension, checkSelector(selector), provider, extension.identifier);
92
- },
93
- registerDocumentHighlightProvider(selector, provider) {
94
- const { extHostLanguageFeatures } = getExtHostServices();
95
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
96
- return extHostLanguageFeatures.registerDocumentHighlightProvider(extension, checkSelector(selector), provider);
97
- },
98
- registerLinkedEditingRangeProvider(selector, provider) {
99
- const { extHostLanguageFeatures } = getExtHostServices();
100
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
101
- return extHostLanguageFeatures.registerLinkedEditingRangeProvider(extension, checkSelector(selector), provider);
102
- },
103
- registerReferenceProvider(selector, provider) {
104
- const { extHostLanguageFeatures } = getExtHostServices();
105
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
106
- return extHostLanguageFeatures.registerReferenceProvider(extension, checkSelector(selector), provider);
107
- },
108
- registerRenameProvider(selector, provider) {
109
- const { extHostLanguageFeatures } = getExtHostServices();
110
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
111
- return extHostLanguageFeatures.registerRenameProvider(extension, checkSelector(selector), provider);
112
- },
113
- registerDocumentSymbolProvider(selector, provider, metadata) {
114
- const { extHostLanguageFeatures } = getExtHostServices();
115
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
116
- return extHostLanguageFeatures.registerDocumentSymbolProvider(extension, checkSelector(selector), provider, metadata);
117
- },
118
- registerWorkspaceSymbolProvider(provider) {
119
- const { extHostLanguageFeatures } = getExtHostServices();
120
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
121
- return extHostLanguageFeatures.registerWorkspaceSymbolProvider(extension, provider);
122
- },
123
- registerDocumentFormattingEditProvider(selector, provider) {
124
- const { extHostLanguageFeatures } = getExtHostServices();
125
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
126
- return extHostLanguageFeatures.registerDocumentFormattingEditProvider(extension, checkSelector(selector), provider);
127
- },
128
- registerDocumentRangeFormattingEditProvider(selector, provider) {
129
- const { extHostLanguageFeatures } = getExtHostServices();
130
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
131
- return extHostLanguageFeatures.registerDocumentRangeFormattingEditProvider(extension, checkSelector(selector), provider);
132
- },
133
- registerOnTypeFormattingEditProvider(selector, provider, firstTriggerCharacter, ...moreTriggerCharacters) {
134
- const { extHostLanguageFeatures } = getExtHostServices();
135
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
136
- return extHostLanguageFeatures.registerOnTypeFormattingEditProvider(extension, checkSelector(selector), provider, [firstTriggerCharacter].concat(moreTriggerCharacters));
137
- },
138
- registerDocumentSemanticTokensProvider(selector, provider, legend) {
139
- const { extHostLanguageFeatures } = getExtHostServices();
140
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
141
- return extHostLanguageFeatures.registerDocumentSemanticTokensProvider(extension, checkSelector(selector), provider, legend);
142
- },
143
- registerDocumentRangeSemanticTokensProvider(selector, provider, legend) {
144
- const { extHostLanguageFeatures } = getExtHostServices();
145
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
146
- return extHostLanguageFeatures.registerDocumentRangeSemanticTokensProvider(extension, checkSelector(selector), provider, legend);
147
- },
148
- registerSignatureHelpProvider(selector, provider, firstItem, ...remaining) {
149
- const { extHostLanguageFeatures } = getExtHostServices();
150
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
151
- if (typeof firstItem === 'object') {
152
- return extHostLanguageFeatures.registerSignatureHelpProvider(extension, checkSelector(selector), provider, firstItem);
153
- }
154
- return extHostLanguageFeatures.registerSignatureHelpProvider(extension, checkSelector(selector), provider, typeof firstItem === 'undefined' ? [] : [firstItem, ...remaining]);
155
- },
156
- registerCompletionItemProvider(selector, provider, ...triggerCharacters) {
157
- const { extHostLanguageFeatures } = getExtHostServices();
158
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
159
- return extHostLanguageFeatures.registerCompletionItemProvider(extension, checkSelector(selector), provider, triggerCharacters);
160
- },
161
- registerDocumentLinkProvider(selector, provider) {
162
- const { extHostLanguageFeatures } = getExtHostServices();
163
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
164
- return extHostLanguageFeatures.registerDocumentLinkProvider(extension, checkSelector(selector), provider);
165
- },
166
- registerColorProvider(selector, provider) {
167
- const { extHostLanguageFeatures } = getExtHostServices();
168
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
169
- return extHostLanguageFeatures.registerColorProvider(extension, checkSelector(selector), provider);
170
- },
171
- registerFoldingRangeProvider(selector, provider) {
172
- const { extHostLanguageFeatures } = getExtHostServices();
173
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
174
- return extHostLanguageFeatures.registerFoldingRangeProvider(extension, checkSelector(selector), provider);
175
- },
176
- registerSelectionRangeProvider(selector, provider) {
177
- const { extHostLanguageFeatures } = getExtHostServices();
178
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
179
- return extHostLanguageFeatures.registerSelectionRangeProvider(extension, selector, provider);
180
- },
181
- registerCallHierarchyProvider(selector, provider) {
182
- const { extHostLanguageFeatures } = getExtHostServices();
183
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
184
- return extHostLanguageFeatures.registerCallHierarchyProvider(extension, selector, provider);
185
- },
186
- registerTypeHierarchyProvider(selector, provider) {
187
- const { extHostLanguageFeatures } = getExtHostServices();
188
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
189
- return extHostLanguageFeatures.registerTypeHierarchyProvider(extension, selector, provider);
190
- },
191
- setLanguageConfiguration: (language, configuration) => {
192
- const { extHostLanguageFeatures } = getExtHostServices();
193
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
194
- return extHostLanguageFeatures.setLanguageConfiguration(extension, language, configuration);
195
- },
196
- registerInlayHintsProvider(selector, provider) {
197
- const { extHostLanguageFeatures } = getExtHostServices();
198
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
199
- return extHostLanguageFeatures.registerInlayHintsProvider(extension, selector, provider);
200
- },
201
- createLanguageStatusItem(id, selector) {
202
- const { extHostLanguages } = getExtHostServices();
203
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
204
- return extHostLanguages.createLanguageStatusItem(extension, id, selector);
205
- },
206
- registerInlineCompletionItemProvider(selector, provider) {
207
- const { extHostLanguageFeatures } = getExtHostServices();
208
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
209
- return extHostLanguageFeatures.registerInlineCompletionsProvider(extension, checkSelector(selector), provider);
210
- },
211
- registerDocumentDropEditProvider(selector, provider) {
212
- const { extHostLanguageFeatures } = getExtHostServices();
213
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
214
- return extHostLanguageFeatures.registerDocumentOnDropEditProvider(extension, selector, provider);
215
- }
216
- };
217
- const commands$1 = {
218
- registerCommand(id, command, thisArgs) {
219
- const { extHostCommands } = getExtHostServices();
220
- return extHostCommands.registerCommand(true, id, command, thisArgs, undefined, Services.get().extension ?? DEFAULT_EXTENSION);
221
- },
222
- registerTextEditorCommand(id, callback, thisArg) {
223
- const { extHostCommands, extHostEditors, extHostLogService } = getExtHostServices();
224
- return extHostCommands.registerCommand(true, id, (...args) => {
225
- const activeTextEditor = extHostEditors.getActiveTextEditor();
226
- if (activeTextEditor == null) {
227
- extHostLogService.warn('Cannot execute ' + id + ' because there is no active text editor.');
228
- return undefined;
229
- }
230
- return activeTextEditor.edit((edit) => {
231
- callback.apply(thisArg, [activeTextEditor, edit, ...args]);
232
- }).then((result) => {
233
- if (!result) {
234
- extHostLogService.warn('Edits from command ' + id + ' were not applied.');
235
- }
236
- }, (err) => {
237
- extHostLogService.warn('An error occurred while running command ' + id, err);
238
- });
239
- }, undefined, undefined, Services.get().extension ?? DEFAULT_EXTENSION);
240
- },
241
- executeCommand(id, ...args) {
242
- const { extHostCommands } = getExtHostServices();
243
- return extHostCommands.executeCommand(id, ...args);
244
- },
245
- getCommands(filterInternal = false) {
246
- const { extHostCommands } = getExtHostServices();
247
- return extHostCommands.getCommands(filterInternal);
248
- }
249
- };
250
- class EmptyFileSystem {
251
- constructor() {
252
- this.stat = unsupported$1;
253
- }
254
- isWritableFileSystem() {
255
- return false;
256
- }
257
- readDirectory() {
258
- return Promise.resolve([]);
259
- }
260
- createDirectory() {
261
- return Promise.resolve();
262
- }
263
- readFile() {
264
- return Promise.resolve(new Uint8Array(0));
265
- }
266
- writeFile() {
267
- return Promise.resolve();
268
- }
269
- delete() {
270
- return Promise.resolve();
271
- }
272
- rename() {
273
- return Promise.resolve();
274
- }
275
- copy() {
276
- return Promise.resolve();
277
- }
278
- }
279
- const workspace$1 = {
280
- fs: new EmptyFileSystem(),
281
- workspaceFile: undefined,
282
- createFileSystemWatcher(globPattern, ignoreCreateEvents, ignoreChangeEvents, ignoreDeleteEvents) {
283
- const { workspace } = Services.get();
284
- if (workspace?.createFileSystemWatcher != null) {
285
- return workspace.createFileSystemWatcher(globPattern, ignoreCreateEvents, ignoreChangeEvents, ignoreDeleteEvents);
286
- }
287
- return {
288
- ignoreCreateEvents: ignoreCreateEvents ?? false,
289
- ignoreChangeEvents: ignoreChangeEvents ?? false,
290
- ignoreDeleteEvents: ignoreDeleteEvents ?? false,
291
- onDidCreate: Event.None,
292
- onDidChange: Event.None,
293
- onDidDelete: Event.None,
294
- dispose: () => { }
295
- };
296
- },
297
- applyEdit: async (edit, metadata) => {
298
- const { extHostBulkEdits } = getExtHostServices();
299
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
300
- return extHostBulkEdits.applyWorkspaceEdit(edit, extension, metadata);
301
- },
302
- getConfiguration: (section, scope) => {
303
- const { extHostConfiguration } = getExtHostServices();
304
- const configProvider = extHostConfiguration.getConfigProvider();
305
- return configProvider.getConfiguration(section, scope, Services.get().extension ?? DEFAULT_EXTENSION);
306
- },
307
- onDidChangeConfiguration(listener, thisArgs, disposables) {
308
- const { extHostConfiguration } = getExtHostServices();
309
- const configProvider = extHostConfiguration.getConfigProvider();
310
- return configProvider.onDidChangeConfiguration(listener, thisArgs, disposables);
311
- },
312
- get rootPath() {
313
- const { workspace } = Services.get();
314
- return workspace?.rootPath;
315
- },
316
- get workspaceFolders() {
317
- const { workspace } = Services.get();
318
- if (workspace == null) {
319
- return undefined;
320
- }
321
- if ('workspaceFolders' in workspace) {
322
- return workspace.workspaceFolders;
323
- }
324
- const rootPath = workspace.rootPath;
325
- if (rootPath == null) {
326
- return undefined;
327
- }
328
- const uri = URI.file(rootPath);
329
- return [{
330
- uri,
331
- index: 0,
332
- name: ( uri.toString())
333
- }];
334
- },
335
- getWorkspaceFolder(uri) {
336
- return this.workspaceFolders?.find(folder => {
337
- return uri.path.startsWith(folder.uri.path);
338
- });
339
- },
340
- get onDidChangeWorkspaceFolders() {
341
- const { workspace } = Services.get();
342
- return workspace?.onDidChangeWorkspaceFolders ?? Event.None;
343
- },
344
- get textDocuments() {
345
- const { extHostDocuments } = getExtHostServices();
346
- return Array.from(extHostDocuments.getAllDocumentData().map(data => data.document));
347
- },
348
- get onDidOpenTextDocument() {
349
- const { extHostDocuments } = getExtHostServices();
350
- return extHostDocuments.onDidAddDocument;
351
- },
352
- get onDidCloseTextDocument() {
353
- const { extHostDocuments } = getExtHostServices();
354
- return extHostDocuments.onDidRemoveDocument;
355
- },
356
- get onDidChangeTextDocument() {
357
- const { extHostDocuments } = getExtHostServices();
358
- return extHostDocuments.onDidChangeDocument;
359
- },
360
- get onWillSaveTextDocument() {
361
- const { workspace } = Services.get();
362
- return workspace?.onWillSaveTextDocument ?? Event.None;
363
- },
364
- get onDidSaveTextDocument() {
365
- const { workspace } = Services.get();
366
- return workspace?.onDidSaveTextDocument ?? Event.None;
367
- },
368
- get onWillCreateFiles() {
369
- return Event.None;
370
- },
371
- get onDidCreateFiles() {
372
- return Event.None;
373
- },
374
- get onWillDeleteFiles() {
375
- return Event.None;
376
- },
377
- get onDidDeleteFiles() {
378
- return Event.None;
379
- },
380
- get onWillRenameFiles() {
381
- return Event.None;
382
- },
383
- get onDidRenameFiles() {
384
- return Event.None;
385
- },
386
- get onDidGrantWorkspaceTrust() {
387
- return Event.None;
388
- },
389
- asRelativePath: unsupported$1,
390
- updateWorkspaceFolders(start, deleteCount, ...workspaceFoldersToAdd) {
391
- const { workspace } = Services.get();
392
- if (workspace?.updateWorkspaceFolders != null) {
393
- return workspace.updateWorkspaceFolders(start, deleteCount, ...workspaceFoldersToAdd);
394
- }
395
- return false;
396
- },
397
- findFiles: unsupported$1,
398
- saveAll: unsupported$1,
399
- openTextDocument(uriOrFileNameOrOptions) {
400
- const { extHostDocuments } = getExtHostServices();
401
- let uriPromise;
402
- const options = uriOrFileNameOrOptions;
403
- if (typeof uriOrFileNameOrOptions === 'string') {
404
- uriPromise = Promise.resolve(URI.file(uriOrFileNameOrOptions));
405
- }
406
- else if (URI.isUri(uriOrFileNameOrOptions)) {
407
- uriPromise = Promise.resolve(uriOrFileNameOrOptions);
408
- }
409
- else if (options == null || typeof options === 'object') {
410
- uriPromise = extHostDocuments.createDocumentData(options);
411
- }
412
- else {
413
- throw new Error('illegal argument - uriOrFileNameOrOptions');
414
- }
415
- return uriPromise.then(uri => {
416
- return extHostDocuments.ensureDocumentData(uri).then(documentData => {
417
- return documentData.document;
418
- });
419
- });
420
- },
421
- registerTextDocumentContentProvider(scheme, provider) {
422
- const { extHostDocumentContentProviders } = getExtHostServices();
423
- return extHostDocumentContentProviders.registerTextDocumentContentProvider(scheme, provider);
424
- },
425
- registerTaskProvider: unsupported$1,
426
- registerFileSystemProvider: unsupported$1,
427
- openNotebookDocument: unsupported$1,
428
- registerNotebookSerializer: unsupported$1,
429
- notebookDocuments: [],
430
- onDidOpenNotebookDocument: unsupported$1,
431
- onDidCloseNotebookDocument: unsupported$1,
432
- isTrusted: true,
433
- name: undefined,
434
- onDidChangeNotebookDocument: unsupported$1,
435
- onDidSaveNotebookDocument: unsupported$1
436
- };
437
- class TextTabInput {
438
- constructor(uri) {
439
- this.uri = uri;
440
- }
441
- }
442
- function getTabFromModel(model, tabGroup) {
443
- return {
444
- label: model.uri.fsPath,
445
- group: tabGroup,
446
- get isActive() { return model.isAttachedToEditor(); },
447
- isDirty: false,
448
- isPinned: false,
449
- isPreview: false,
450
- input: new TextTabInput(model.uri)
451
- };
452
- }
453
- const tabGroup = {
454
- isActive: true,
455
- activeTab: undefined,
456
- viewColumn: ViewColumn$1.One,
457
- get tabs() {
458
- const modelService = StandaloneServices.get(IModelService);
459
- return modelService.getModels().map(model => getTabFromModel(model, tabGroup));
460
- }
461
- };
462
- const window$1 = {
463
- showInformationMessage(message, ...rest) {
464
- const { extHostMessageService } = getExtHostServices();
465
- return extHostMessageService.showMessage(Services.get().extension ?? DEFAULT_EXTENSION, Severity.Info, message, rest[0], rest.slice(1));
466
- },
467
- showWarningMessage(message, ...rest) {
468
- const { extHostMessageService } = getExtHostServices();
469
- return extHostMessageService.showMessage(Services.get().extension ?? DEFAULT_EXTENSION, Severity.Warning, message, rest[0], rest.slice(1));
470
- },
471
- showErrorMessage(message, ...rest) {
472
- const { extHostMessageService } = getExtHostServices();
473
- return extHostMessageService.showMessage(Services.get().extension ?? DEFAULT_EXTENSION, Severity.Error, message, rest[0], rest.slice(1));
474
- },
475
- createOutputChannel(name, options) {
476
- const { window } = Services.get();
477
- const createOutputChannel = window?.createOutputChannel;
478
- const channel = createOutputChannel?.call(window, name, options);
479
- return channel ?? {
480
- name,
481
- append: () => { },
482
- appendLine: () => { },
483
- clear: unsupported$1,
484
- show: () => { },
485
- hide: unsupported$1,
486
- replace: unsupported$1,
487
- dispose: () => { },
488
- logLevel: LogLevel$1.Off,
489
- onDidChangeLogLevel: Event.None,
490
- trace: unsupported$1,
491
- debug: unsupported$1,
492
- info: unsupported$1,
493
- warn: unsupported$1,
494
- error: unsupported$1
495
- };
496
- },
497
- withScmProgress(task) {
498
- const { extHostProgress } = getExtHostServices();
499
- return extHostProgress.withProgress(Services.get().extension ?? DEFAULT_EXTENSION, { location: ProgressLocation$1.SourceControl }, () => task({ report() { } }));
500
- },
501
- withProgress(options, task) {
502
- const { extHostProgress } = getExtHostServices();
503
- return extHostProgress.withProgress(Services.get().extension ?? DEFAULT_EXTENSION, options, task);
504
- },
505
- showTextDocument: async (documentOrUri, columnOrOptions, preserveFocus) => {
506
- const { extHostEditors } = getExtHostServices();
507
- const document = await (URI.isUri(documentOrUri)
508
- ? Promise.resolve(workspace$1.openTextDocument(documentOrUri))
509
- : Promise.resolve(documentOrUri));
510
- return extHostEditors.showTextDocument(document, columnOrOptions, preserveFocus);
511
- },
512
- createQuickPick() {
513
- const { extHostQuickOpen } = getExtHostServices();
514
- return extHostQuickOpen.createQuickPick(Services.get().extension ?? DEFAULT_EXTENSION);
515
- },
516
- showQuickPick(items, options, token) {
517
- const { extHostQuickOpen } = getExtHostServices();
518
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
519
- return extHostQuickOpen.showQuickPick(extension, items, options, token);
520
- },
521
- createInputBox() {
522
- const { extHostQuickOpen } = getExtHostServices();
523
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
524
- return extHostQuickOpen.createInputBox(extension);
525
- },
526
- showInputBox(options, token) {
527
- const { extHostQuickOpen } = getExtHostServices();
528
- return extHostQuickOpen.showInput(options, token);
529
- },
530
- createTextEditorDecorationType: unsupported$1,
531
- showWorkspaceFolderPick: unsupported$1,
532
- showOpenDialog: unsupported$1,
533
- showSaveDialog: unsupported$1,
534
- createWebviewPanel: unsupported$1,
535
- setStatusBarMessage: unsupported$1,
536
- createStatusBarItem: unsupported$1,
537
- createTerminal: unsupported$1,
538
- registerTreeDataProvider: unsupported$1,
539
- createTreeView: unsupported$1,
540
- registerWebviewPanelSerializer: unsupported$1,
541
- get activeTextEditor() {
542
- const { extHostEditors } = getExtHostServices();
543
- return extHostEditors.getActiveTextEditor();
544
- },
545
- get visibleTextEditors() {
546
- const { extHostEditors } = getExtHostServices();
547
- return extHostEditors.getVisibleTextEditors();
548
- },
549
- onDidChangeActiveTextEditor(listener, thisArg, disposables) {
550
- const { extHostEditors } = getExtHostServices();
551
- return extHostEditors.onDidChangeActiveTextEditor(listener, thisArg, disposables);
552
- },
553
- onDidChangeVisibleTextEditors(listener, thisArg, disposables) {
554
- const { extHostEditors } = getExtHostServices();
555
- return extHostEditors.onDidChangeVisibleTextEditors(listener, thisArg, disposables);
556
- },
557
- onDidChangeTextEditorSelection(listener, thisArgs, disposables) {
558
- const { extHostEditors } = getExtHostServices();
559
- return extHostEditors.onDidChangeTextEditorSelection(listener, thisArgs, disposables);
560
- },
561
- onDidChangeTextEditorVisibleRanges(listener, thisArgs, disposables) {
562
- const { extHostEditors } = getExtHostServices();
563
- return extHostEditors.onDidChangeTextEditorVisibleRanges(listener, thisArgs, disposables);
564
- },
565
- onDidChangeTextEditorOptions(listener, thisArgs, disposables) {
566
- const { extHostEditors } = getExtHostServices();
567
- return extHostEditors.onDidChangeTextEditorOptions(listener, thisArgs, disposables);
568
- },
569
- onDidChangeTextEditorViewColumn(listener, thisArg, disposables) {
570
- const { extHostEditors } = getExtHostServices();
571
- return extHostEditors.onDidChangeTextEditorViewColumn(listener, thisArg, disposables);
572
- },
573
- get terminals() {
574
- return unsupported$1();
575
- },
576
- get activeTerminal() {
577
- return unsupported$1();
578
- },
579
- onDidChangeActiveTerminal: Event.None,
580
- onDidOpenTerminal: Event.None,
581
- onDidCloseTerminal: Event.None,
582
- get state() {
583
- return unsupported$1();
584
- },
585
- onDidChangeWindowState: Event.None,
586
- registerUriHandler: unsupported$1,
587
- registerWebviewViewProvider: unsupported$1,
588
- registerCustomEditorProvider: unsupported$1,
589
- registerTerminalLinkProvider: unsupported$1,
590
- get activeColorTheme() {
591
- return unsupported$1();
592
- },
593
- onDidChangeActiveColorTheme: Event.None,
594
- registerFileDecorationProvider: unsupported$1,
595
- registerTerminalProfileProvider: unsupported$1,
596
- onDidChangeTerminalState: Event.None,
597
- tabGroups: {
598
- get all() {
599
- return [tabGroup];
600
- },
601
- activeTabGroup: tabGroup,
602
- onDidChangeTabGroups: Event.None,
603
- onDidChangeTabs(listener) {
604
- const modelService = StandaloneServices.get(IModelService);
605
- const store = new DisposableStore();
606
- store.add(modelService.onModelAdded((model) => {
607
- listener({
608
- opened: [getTabFromModel(model, tabGroup)],
609
- closed: [],
610
- changed: []
611
- });
612
- }));
613
- store.add(modelService.onModelRemoved((model) => {
614
- listener({
615
- opened: [],
616
- closed: [getTabFromModel(model, tabGroup)],
617
- changed: []
618
- });
619
- }));
620
- return store;
621
- },
622
- close: unsupported$1
623
- },
624
- showNotebookDocument: unsupported$1,
625
- visibleNotebookEditors: [],
626
- onDidChangeVisibleNotebookEditors: Event.None,
627
- activeNotebookEditor: undefined,
628
- onDidChangeActiveNotebookEditor: Event.None,
629
- onDidChangeNotebookEditorSelection: Event.None,
630
- onDidChangeNotebookEditorVisibleRanges: Event.None
631
- };
632
- const env$1 = {
633
- get machineId() { return initData.telemetryInfo.machineId; },
634
- get sessionId() { return initData.telemetryInfo.sessionId; },
635
- get language() { return initData.environment.appLanguage; },
636
- get appName() { return initData.environment.appName; },
637
- get appRoot() { return initData.environment.appRoot?.fsPath ?? ''; },
638
- get appHost() { return initData.environment.appHost; },
639
- get uriScheme() { return initData.environment.appUriScheme; },
640
- get clipboard() {
641
- const { extHostClipboard } = getExtHostServices();
642
- return extHostClipboard.value;
643
- },
644
- remoteName: undefined,
645
- get shell() { return unsupported$1(); },
646
- get uiKind() {
647
- return initData.uiKind;
648
- },
649
- async asExternalUri(uri) {
650
- const { extHostWindow } = getExtHostServices();
651
- try {
652
- return await extHostWindow.asExternalUri(uri, { allowTunneling: false });
653
- }
654
- catch (err) {
655
- if (matchesScheme(uri, Schemas.http) || matchesScheme(uri, Schemas.https)) {
656
- return uri;
657
- }
658
- throw err;
659
- }
660
- },
661
- openExternal: async (uri, options) => {
662
- const { extHostWindow } = getExtHostServices();
663
- return extHostWindow.openUri(uri, {
664
- allowTunneling: false,
665
- allowContributedOpeners: options?.allowContributedOpeners
666
- });
667
- },
668
- isNewAppInstall: false,
669
- get isTelemetryEnabled() {
670
- const { extHostTelemetry } = getExtHostServices();
671
- return extHostTelemetry.getTelemetryConfiguration();
672
- },
673
- get onDidChangeTelemetryEnabled() {
674
- const { extHostTelemetry } = getExtHostServices();
675
- return extHostTelemetry.onDidChangeTelemetryEnabled;
676
- },
677
- createTelemetryLogger(sender) {
678
- const { extHostTelemetry } = getExtHostServices();
679
- const extension = Services.get().extension ?? DEFAULT_EXTENSION;
680
- ExtHostTelemetryLogger.validateSender(sender);
681
- return extHostTelemetry.instantiateLogger(extension, sender);
682
- },
683
- get logLevel() {
684
- const { extHostLogService } = getExtHostServices();
685
- return extHostLogService.getLevel();
686
- },
687
- get onDidChangeLogLevel() {
688
- const { extHostLogService } = getExtHostServices();
689
- return extHostLogService.onDidChangeLogLevel;
690
- }
691
- };
692
- const unsupported = undefined;
693
- const api = {
694
- version: "1.76.0",
695
- tasks: unsupported,
696
- notebooks: unsupported,
697
- scm: unsupported,
698
- debug: unsupported,
699
- extensions: unsupported,
700
- comments: unsupported,
701
- authentication: unsupported,
702
- tests: unsupported,
703
- env: env$1,
704
- commands: commands$1,
705
- window: window$1,
706
- workspace: workspace$1,
707
- languages: languages$1,
708
- Breakpoint: Breakpoint$1,
709
- CallHierarchyIncomingCall: CallHierarchyIncomingCall$1,
710
- CallHierarchyItem: CallHierarchyItem$1,
711
- CallHierarchyOutgoingCall: CallHierarchyOutgoingCall$1,
712
- CancellationError: CancellationError$1,
713
- CancellationTokenSource: CancellationTokenSource$1,
714
- CodeAction: CodeAction$1,
715
- CodeActionKind: CodeActionKind$1,
716
- CodeActionTriggerKind: CodeActionTriggerKind$1,
717
- CodeLens: CodeLens$1,
718
- Color: Color$1,
719
- ColorInformation: ColorInformation$1,
720
- ColorPresentation: ColorPresentation$1,
721
- ColorThemeKind: unsupported,
722
- CommentMode: CommentMode$1,
723
- CommentThreadCollapsibleState: CommentThreadCollapsibleState$1,
724
- CompletionItem: CompletionItem$1,
725
- CompletionItemKind: CompletionItemKind$1,
726
- CompletionItemTag: CompletionItemTag$1,
727
- CompletionList: CompletionList$1,
728
- CompletionTriggerKind: CompletionTriggerKind$1,
729
- ConfigurationTarget: ConfigurationTarget$1,
730
- CustomExecution: CustomExecution$1,
731
- DebugAdapterExecutable: DebugAdapterExecutable$1,
732
- DebugAdapterInlineImplementation: DebugAdapterInlineImplementation$1,
733
- DebugAdapterNamedPipeServer: DebugAdapterNamedPipeServer$1,
734
- DebugAdapterServer: DebugAdapterServer$1,
735
- DebugConfigurationProviderTriggerKind: DebugConfigurationProviderTriggerKind$1,
736
- DebugConsoleMode: DebugConsoleMode$1,
737
- DecorationRangeBehavior: DecorationRangeBehavior$1,
738
- Diagnostic: Diagnostic$1,
739
- DiagnosticRelatedInformation: DiagnosticRelatedInformation$1,
740
- DiagnosticSeverity: DiagnosticSeverity$1,
741
- DiagnosticTag: DiagnosticTag$1,
742
- Disposable: Disposable$1,
743
- DocumentHighlight: DocumentHighlight$1,
744
- DocumentHighlightKind: DocumentHighlightKind$1,
745
- DocumentLink: DocumentLink$1,
746
- DocumentSymbol: DocumentSymbol$1,
747
- EndOfLine: EndOfLine$1,
748
- EnvironmentVariableMutatorType: EnvironmentVariableMutatorType$1,
749
- EvaluatableExpression: EvaluatableExpression$1,
750
- InlineValueText: InlineValueText$1,
751
- InlineValueVariableLookup: InlineValueVariableLookup$1,
752
- InlineValueEvaluatableExpression: InlineValueEvaluatableExpression$1,
753
- EventEmitter: Emitter,
754
- ExtensionKind: ExtensionKind$1,
755
- ExtensionMode: ExtensionMode$1,
756
- FileChangeType: FileChangeType$1,
757
- FileDecoration: FileDecoration$1,
758
- FileSystemError: FileSystemError$1,
759
- FileType: FileType$1,
760
- FilePermission: FilePermission$1,
761
- FoldingRange: FoldingRange$1,
762
- FoldingRangeKind: FoldingRangeKind$1,
763
- FunctionBreakpoint: FunctionBreakpoint$1,
764
- Hover: Hover$1,
765
- IndentAction: IndentAction$1,
766
- Location: Location$1,
767
- MarkdownString: MarkdownString$1,
768
- OverviewRulerLane: OverviewRulerLane$1,
769
- ParameterInformation: ParameterInformation$1,
770
- Position: Position$1,
771
- ProcessExecution: ProcessExecution$1,
772
- ProgressLocation: ProgressLocation$1,
773
- QuickInputButtons: QuickInputButtons$1,
774
- Range: Range$1,
775
- RelativePattern: RelativePattern$1,
776
- Selection: Selection$2,
777
- SelectionRange: SelectionRange$1,
778
- SemanticTokens: SemanticTokens$1,
779
- SemanticTokensBuilder: SemanticTokensBuilder$1,
780
- SemanticTokensEdit: SemanticTokensEdit$1,
781
- SemanticTokensEdits: SemanticTokensEdits$1,
782
- SemanticTokensLegend: SemanticTokensLegend$1,
783
- ShellExecution: ShellExecution$1,
784
- ShellQuoting: ShellQuoting$1,
785
- SignatureHelp: SignatureHelp$1,
786
- SignatureHelpTriggerKind: SignatureHelpTriggerKind$1,
787
- SignatureInformation: SignatureInformation$1,
788
- SnippetString: SnippetString$1,
789
- SourceBreakpoint: SourceBreakpoint$1,
790
- StatusBarAlignment: StatusBarAlignment$1,
791
- SymbolInformation: SymbolInformation$1,
792
- SymbolKind: SymbolKind$1,
793
- SymbolTag: SymbolTag$1,
794
- Task: Task$1,
795
- TaskGroup: TaskGroup$1,
796
- TaskPanelKind: TaskPanelKind$1,
797
- TaskRevealKind: TaskRevealKind$1,
798
- TaskScope: TaskScope$1,
799
- TerminalLink: TerminalLink$1,
800
- TerminalLocation: TerminalLocation$1,
801
- TerminalProfile: TerminalProfile$1,
802
- TextDocumentSaveReason: TextDocumentSaveReason$1,
803
- TextEdit: TextEdit$1,
804
- TextEditorCursorStyle: TextEditorCursorStyle$1,
805
- TextEditorLineNumbersStyle: TextEditorLineNumbersStyle$1,
806
- TextEditorRevealType: TextEditorRevealType$1,
807
- TextEditorSelectionChangeKind: TextEditorSelectionChangeKind$1,
808
- TextDocumentChangeReason: TextDocumentChangeReason$1,
809
- ThemeColor: ThemeColor$1,
810
- ThemeIcon: ThemeIcon$1,
811
- TreeItem: TreeItem$1,
812
- TreeItemCollapsibleState: TreeItemCollapsibleState$1,
813
- TypeHierarchyItem: TypeHierarchyItem$1,
814
- UIKind: UIKind$1,
815
- Uri: URI,
816
- ViewColumn: ViewColumn$1,
817
- WorkspaceEdit: WorkspaceEdit$1,
818
- InlayHint: InlayHint$1,
819
- InlayHintLabelPart: InlayHintLabelPart$1,
820
- InlayHintKind: InlayHintKind$1,
821
- NotebookRange: NotebookRange$1,
822
- NotebookCellKind: NotebookCellKind$1,
823
- NotebookCellData: NotebookCellData$1,
824
- NotebookData: NotebookData$1,
825
- NotebookCellStatusBarAlignment: NotebookCellStatusBarAlignment$1,
826
- NotebookCellOutput: NotebookCellOutput$1,
827
- NotebookCellOutputItem: NotebookCellOutputItem$1,
828
- NotebookCellStatusBarItem: NotebookCellStatusBarItem$1,
829
- NotebookControllerAffinity: NotebookControllerAffinity$1,
830
- LinkedEditingRanges: LinkedEditingRanges$1,
831
- TestRunRequest: TestRunRequest$1,
832
- TestMessage: TestMessage$1,
833
- TestTag: TestTag$1,
834
- TestRunProfileKind: TestRunProfileKind$1,
835
- DataTransfer: unsupported,
836
- DataTransferItem: unsupported,
837
- LanguageStatusSeverity: LanguageStatusSeverity$1,
838
- QuickPickItemKind: QuickPickItemKind$1,
839
- TabInputText: TextTabInput,
840
- TabInputTextDiff: TextDiffTabInput,
841
- TabInputCustom: CustomEditorTabInput,
842
- TabInputNotebook: NotebookEditorTabInput,
843
- TabInputNotebookDiff: NotebookDiffEditorTabInput,
844
- TabInputWebview: WebviewEditorTabInput,
845
- TabInputTerminal: TerminalEditorTabInput,
846
- InputBoxValidationSeverity: InputBoxValidationSeverity$1,
847
- InlineCompletionList: InlineSuggestionList,
848
- InlineCompletionTriggerKind: InlineCompletionTriggerKind$1,
849
- InlineCompletionItem: InlineSuggestion,
850
- DocumentDropEdit: DocumentDropEdit$1,
851
- NotebookEditorRevealType: NotebookEditorRevealType$1,
852
- SnippetTextEdit: SnippetTextEdit$1,
853
- NotebookEdit: NotebookEdit$1,
854
- LogLevel: LogLevel$1,
855
- TerminalExitReason: TerminalExitReason$1,
856
- CommentThreadState: CommentThreadState$1,
857
- l10n: unsupported,
858
- TelemetryTrustedValue: TelemetryTrustedValue$1
859
- };
860
- const { version, tasks, notebooks, scm, debug, extensions, comments, authentication, tests, env, commands, window, workspace, languages, Breakpoint, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CancellationError, CancellationTokenSource, CodeAction, CodeActionKind, CodeActionTriggerKind, CodeLens, Color, ColorInformation, ColorPresentation, ColorThemeKind, CommentMode, CommentThreadCollapsibleState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomExecution, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConfigurationProviderTriggerKind, DebugConsoleMode, DecorationRangeBehavior, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, Disposable, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentSymbol, EndOfLine, EnvironmentVariableMutatorType, EvaluatableExpression, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, EventEmitter, ExtensionKind, ExtensionMode, FileChangeType, FileDecoration, FileSystemError, FileType, FilePermission, FoldingRange, FoldingRangeKind, FunctionBreakpoint, Hover, IndentAction, Location, MarkdownString, OverviewRulerLane, ParameterInformation, Position, ProcessExecution, ProgressLocation, QuickInputButtons, Range, RelativePattern, Selection, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SnippetString, SourceBreakpoint, StatusBarAlignment, SymbolInformation, SymbolKind, SymbolTag, Task, TaskGroup, TaskPanelKind, TaskRevealKind, TaskScope, TerminalLink, TerminalLocation, TerminalProfile, TextDocumentSaveReason, TextEdit, TextEditorCursorStyle, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, TextDocumentChangeReason, ThemeColor, ThemeIcon, TreeItem, TreeItemCollapsibleState, TypeHierarchyItem, UIKind, Uri, ViewColumn, WorkspaceEdit, InlayHint, InlayHintLabelPart, InlayHintKind, NotebookRange, NotebookCellKind, NotebookCellData, NotebookData, NotebookCellStatusBarAlignment, NotebookCellOutput, NotebookCellOutputItem, NotebookCellStatusBarItem, NotebookControllerAffinity, LinkedEditingRanges, TestRunRequest, TestMessage, TestTag, TestRunProfileKind, DataTransfer, DataTransferItem, LanguageStatusSeverity, QuickPickItemKind, TabInputText, TabInputTextDiff, TabInputCustom, TabInputNotebook, TabInputNotebookDiff, TabInputWebview, TabInputTerminal, InputBoxValidationSeverity, InlineCompletionList, InlineCompletionTriggerKind, InlineCompletionItem, DocumentDropEdit, NotebookEditorRevealType, SnippetTextEdit, NotebookEdit, LogLevel, TerminalExitReason, CommentThreadState, l10n, TelemetryTrustedValue } = api;
861
- export { Breakpoint, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CancellationError, CancellationTokenSource, CodeAction, CodeActionKind, CodeActionTriggerKind, CodeLens, Color, ColorInformation, ColorPresentation, ColorThemeKind, CommentMode, CommentThreadCollapsibleState, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomExecution, DataTransfer, DataTransferItem, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConfigurationProviderTriggerKind, DebugConsoleMode, DecorationRangeBehavior, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, Disposable, DocumentDropEdit, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentSymbol, EndOfLine, EnvironmentVariableMutatorType, EvaluatableExpression, EventEmitter, ExtensionKind, ExtensionMode, FileChangeType, FileDecoration, FilePermission, FileSystemError, FileType, FoldingRange, FoldingRangeKind, FunctionBreakpoint, Hover, IndentAction, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionItem, InlineCompletionList, InlineCompletionTriggerKind, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, LanguageStatusSeverity, LinkedEditingRanges, Location, LogLevel, MarkdownString, NotebookCellData, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookCellStatusBarAlignment, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookData, NotebookEdit, NotebookEditorRevealType, NotebookRange, OverviewRulerLane, ParameterInformation, Position, ProcessExecution, ProgressLocation, QuickInputButtons, QuickPickItemKind, Range, RelativePattern, Selection, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SnippetString, SnippetTextEdit, SourceBreakpoint, StatusBarAlignment, SymbolInformation, SymbolKind, SymbolTag, TabInputCustom, TabInputNotebook, TabInputNotebookDiff, TabInputTerminal, TabInputText, TabInputTextDiff, TabInputWebview, Task, TaskGroup, TaskPanelKind, TaskRevealKind, TaskScope, TelemetryTrustedValue, TerminalExitReason, TerminalLink, TerminalLocation, TerminalProfile, TestMessage, TestRunProfileKind, TestRunRequest, TestTag, TextDocumentChangeReason, TextDocumentSaveReason, TextEdit, TextEditorCursorStyle, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, ThemeColor, ThemeIcon, TreeItem, TreeItemCollapsibleState, TypeHierarchyItem, UIKind, Uri, ViewColumn, WorkspaceEdit, authentication, commands, comments, debug, env, extensions, l10n, languages, notebooks, scm, tasks, tests, version, window, workspace };
2
+ import './missing-services.js';
3
+ import './services2.js';
4
+ export { B as Breakpoint, C as CallHierarchyIncomingCall, a as CallHierarchyItem, b as CallHierarchyOutgoingCall, c as CancellationError, d as CancellationTokenSource, e as CodeAction, f as CodeActionKind, g as CodeActionTriggerKind, h as CodeLens, i as Color, j as ColorInformation, k as ColorPresentation, l as ColorThemeKind, m as CommentMode, n as CommentThreadCollapsibleState, o as CommentThreadState, p as CompletionItem, q as CompletionItemKind, r as CompletionItemTag, s as CompletionList, t as CompletionTriggerKind, u as ConfigurationTarget, v as CustomExecution, D as DEFAULT_EXTENSION, w as DataTransfer, x as DataTransferItem, y as DebugAdapterExecutable, z as DebugAdapterInlineImplementation, A as DebugAdapterNamedPipeServer, E as DebugAdapterServer, F as DebugConfigurationProviderTriggerKind, G as DebugConsoleMode, H as DecorationRangeBehavior, I as Diagnostic, J as DiagnosticRelatedInformation, K as DiagnosticSeverity, L as DiagnosticTag, M as Disposable, N as DocumentDropEdit, O as DocumentHighlight, P as DocumentHighlightKind, Q as DocumentLink, R as DocumentSymbol, S as EndOfLine, T as EnvironmentVariableMutatorType, U as EvaluatableExpression, V as EventEmitter, W as ExtensionKind, X as ExtensionMode, Y as FileChangeType, Z as FileDecoration, _ as FilePermission, $ as FileSystemError, a0 as FileType, a1 as FoldingRange, a2 as FoldingRangeKind, a3 as FunctionBreakpoint, a4 as Hover, a5 as IndentAction, a6 as InlayHint, a7 as InlayHintKind, a8 as InlayHintLabelPart, a9 as InlineCompletionItem, aa as InlineCompletionList, ab as InlineCompletionTriggerKind, ac as InlineValueEvaluatableExpression, ad as InlineValueText, ae as InlineValueVariableLookup, af as InputBoxValidationSeverity, ag as LanguageStatusSeverity, ah as LinkedEditingRanges, ai as Location, aj as LogLevel, ak as MarkdownString, al as NotebookCellData, am as NotebookCellKind, an as NotebookCellOutput, ao as NotebookCellOutputItem, ap as NotebookCellStatusBarAlignment, aq as NotebookCellStatusBarItem, ar as NotebookControllerAffinity, as as NotebookData, at as NotebookEdit, au as NotebookEditorRevealType, av as NotebookRange, aw as OverviewRulerLane, ax as ParameterInformation, ay as Position, az as ProcessExecution, aA as ProgressLocation, aB as QuickInputButtons, aC as QuickPickItemKind, aD as Range, aE as RelativePattern, aF as Selection, aG as SelectionRange, aH as SemanticTokens, aI as SemanticTokensBuilder, aJ as SemanticTokensEdit, aK as SemanticTokensEdits, aL as SemanticTokensLegend, aM as ShellExecution, aN as ShellQuoting, aO as SignatureHelp, aP as SignatureHelpTriggerKind, aQ as SignatureInformation, aR as SnippetString, aS as SnippetTextEdit, aT as SourceBreakpoint, aU as StatusBarAlignment, aV as SymbolInformation, aW as SymbolKind, aX as SymbolTag, aY as TabInputCustom, aZ as TabInputNotebook, a_ as TabInputNotebookDiff, a$ as TabInputTerminal, b0 as TabInputText, b1 as TabInputTextDiff, b2 as TabInputWebview, b3 as Task, b4 as TaskGroup, b5 as TaskPanelKind, b6 as TaskRevealKind, b7 as TaskScope, b8 as TelemetryTrustedValue, b9 as TerminalExitReason, ba as TerminalLink, bb as TerminalLocation, bc as TerminalProfile, bd as TestMessage, be as TestRunProfileKind, bf as TestRunRequest, bg as TestTag, bh as TextDocumentChangeReason, bi as TextDocumentSaveReason, bj as TextEdit, bk as TextEditorCursorStyle, bl as TextEditorLineNumbersStyle, bm as TextEditorRevealType, bn as TextEditorSelectionChangeKind, bo as ThemeColor, bp as ThemeIcon, bq as TreeItem, br as TreeItemCollapsibleState, bs as TypeHierarchyItem, bt as UIKind, bu as Uri, bv as ViewColumn, bw as WorkspaceEdit, bx as authentication, by as commands, bz as comments, bA as debug, bB as env, bC as extensions, bD as l10n, bE as languages, bF as notebooks, bG as scm, bH as tasks, bI as tests, bJ as version, bK as window, bL as workspace } from './api2.js';