@codingame/monaco-vscode-views-service-override 1.83.8 → 1.83.9

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.
@@ -1,2141 +0,0 @@
1
- import { __decorate, __param } from './external/tslib/tslib.es6.js';
2
- import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
3
- import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
4
- import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
5
- import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite';
6
- import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
7
- import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles';
8
- import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
9
- import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
10
- import { IWorkingCopyFileService, WorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService';
11
- import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService';
12
- import { registerSingleton } from 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
13
- import { IProductService } from 'monaco-editor/esm/vs/platform/product/common/productService.js';
14
- import { ILanguageStatusService } from 'vscode/vscode/vs/workbench/services/languageStatus/common/languageStatusService';
15
- import { LanguageFeatureRegistry } from 'monaco-editor/esm/vs/editor/common/languageFeatureRegistry.js';
16
- import { compare } from 'monaco-editor/esm/vs/base/common/strings.js';
17
- import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host';
18
- import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
19
- import { ILanguageDetectionService } from 'vscode/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService';
20
- import { IExtensionService, NullExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
21
- import { IKeyboardLayoutService } from 'vscode/vscode/vs/platform/keyboardLayout/common/keyboardLayout';
22
- import { OS } from 'monaco-editor/esm/vs/base/common/platform.js';
23
- import { IEnvironmentService } from 'monaco-editor/esm/vs/platform/environment/common/environment.js';
24
- import { IUserDataInitializationService } from 'vscode/vscode/vs/workbench/services/userData/browser/userDataInit';
25
- import { BrowserHostColorSchemeService } from 'vscode/vscode/vs/workbench/services/themes/browser/browserHostColorSchemeService';
26
- import { IHostColorSchemeService } from 'vscode/vscode/vs/workbench/services/themes/common/hostColorSchemeService';
27
- import { IPreferencesService } from 'vscode/vscode/vs/workbench/services/preferences/common/preferences';
28
- import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
29
- import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
30
- import { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
31
- import { IUserDataProfilesService, toUserDataProfile } from 'monaco-editor/esm/vs/platform/userDataProfile/common/userDataProfile.js';
32
- import { IPolicyService } from 'monaco-editor/esm/vs/platform/policy/common/policy.js';
33
- import { IUserDataProfileService, IUserDataProfileImportExportService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile';
34
- import { UserDataProfileService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfileService';
35
- import { ISnippetsService } from 'vscode/vscode/vs/workbench/contrib/snippets/browser/snippets';
36
- import { ILoggerService, AbstractLoggerService, LogLevel, NullLogger } from 'monaco-editor/esm/vs/platform/log/common/log.js';
37
- import { Disposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
38
- import { FallbackKeyboardMapper } from 'vscode/vscode/vs/workbench/services/keybinding/common/fallbackKeyboardMapper';
39
- import { ITextMateTokenizationService } from 'vscode/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature';
40
- import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
41
- import { IWorkspaceTrustRequestService, IWorkspaceTrustEnablementService } from 'monaco-editor/esm/vs/platform/workspace/common/workspaceTrust.js';
42
- import { IActivityService } from 'vscode/vscode/vs/workbench/services/activity/common/activity';
43
- import { IExtensionHostDebugService } from 'vscode/vscode/vs/platform/debug/common/extensionHostDebug';
44
- import { IViewsService, IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
45
- import { IHistoryService } from 'vscode/vscode/vs/workbench/services/history/common/history';
46
- import { ITaskService } from 'vscode/vscode/vs/workbench/contrib/tasks/common/taskService';
47
- import { IConfigurationResolverService } from 'vscode/vscode/vs/workbench/services/configurationResolver/common/configurationResolver';
48
- import { BrowserPathService } from 'vscode/vscode/vs/workbench/services/path/browser/pathService';
49
- import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService';
50
- import { ICustomEndpointTelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
51
- import { NullEndpointTelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetryUtils';
52
- import { ISearchService } from 'vscode/vscode/vs/workbench/services/search/common/search';
53
- import { IRequestService } from 'vscode/vscode/vs/platform/request/common/request';
54
- import { IEditSessionIdentityService } from 'vscode/vscode/vs/platform/workspace/common/editSessions';
55
- import { IWorkspaceEditingService } from 'vscode/vscode/vs/workbench/services/workspaces/common/workspaceEditing';
56
- import { ITimerService } from 'vscode/vscode/vs/workbench/services/timer/browser/timerService';
57
- import { IExtensionsWorkbenchService } from 'vscode/vscode/vs/workbench/contrib/extensions/common/extensions';
58
- import { IWorkbenchExtensionEnablementService, IWorkbenchExtensionManagementService } from 'vscode/vscode/vs/workbench/services/extensionManagement/common/extensionManagement';
59
- import { ITunnelService } from 'vscode/vscode/vs/platform/tunnel/common/tunnel';
60
- import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup';
61
- import { IWorkingCopyService, WorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
62
- import { IFilesConfigurationService, FilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService';
63
- import { IUntitledTextEditorService } from 'vscode/vscode/vs/workbench/services/untitled/common/untitledTextEditorService';
64
- import './override/vs/platform/dialogs/common/dialogs.js';
65
- import { IElevatedFileService } from 'vscode/vscode/vs/workbench/services/files/common/elevatedFileService';
66
- import { BrowserElevatedFileService } from 'vscode/vscode/vs/workbench/services/files/browser/elevatedFileService';
67
- import { IDecorationsService } from 'vscode/vscode/vs/workbench/services/decorations/common/decorations';
68
- import { RequestService } from 'vscode/vscode/vs/platform/request/browser/requestService';
69
- import { InMemoryWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackupService';
70
- import { BrowserTextFileService } from 'vscode/vscode/vs/workbench/services/textfile/browser/browserTextFileService';
71
- import { DecorationsService } from 'vscode/vscode/vs/workbench/services/decorations/browser/decorationsService';
72
- import { UriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentityService';
73
- import { IJSONEditingService } from 'vscode/vscode/vs/workbench/services/configuration/common/jsonEditing';
74
- import { JSONEditingService } from 'vscode/vscode/vs/workbench/services/configuration/common/jsonEditingService';
75
- import { IWorkspacesService } from 'vscode/vscode/vs/platform/workspaces/common/workspaces';
76
- import { ITextEditorService } from 'vscode/vscode/vs/workbench/services/textfile/common/textEditorService';
77
- import { IEditorResolverService } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
78
- import { AbstractLifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycleService';
79
- import { IOutputService } from 'vscode/vscode/vs/workbench/services/output/common/output';
80
- import { OutputService } from 'vscode/vscode/vs/workbench/contrib/output/browser/outputServices';
81
- import { IOutputChannelModelService, OutputChannelModelService } from 'vscode/vscode/vs/workbench/contrib/output/common/outputChannelModelService';
82
- import { IExtensionResourceLoaderService, AbstractExtensionResourceLoaderService } from 'vscode/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader';
83
- import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
84
- import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
85
- import { IHoverService } from 'vscode/vscode/vs/workbench/services/hover/browser/hover';
86
- import { IExplorerService } from 'vscode/vscode/vs/workbench/contrib/files/browser/files';
87
- import { IExtensionStorageService, ExtensionStorageService } from 'vscode/vscode/vs/platform/extensionManagement/common/extensionStorage';
88
- import { ILanguagePackService } from 'vscode/vscode/vs/platform/languagePacks/common/languagePacks';
89
- import { TreeViewsDnDService } from 'monaco-editor/esm/vs/editor/common/services/treeViewsDnd.js';
90
- import { ITreeViewsDnDService } from 'monaco-editor/esm/vs/editor/common/services/treeViewsDndService.js';
91
- import { TreeviewsService } from 'vscode/vscode/vs/workbench/services/views/common/treeViewsService';
92
- import { ITreeViewsService } from 'vscode/vscode/vs/workbench/services/views/browser/treeViewsService';
93
- import { IBreadcrumbsService } from 'vscode/vscode/vs/workbench/browser/parts/editor/breadcrumbs';
94
- import { IOutlineService } from 'vscode/vscode/vs/workbench/services/outline/browser/outline';
95
- import { IUpdateService, State } from 'vscode/vscode/vs/platform/update/common/update';
96
- import { IStatusbarService } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar';
97
- import { IExtensionGalleryService, IExtensionManagementService } from 'vscode/vscode/vs/platform/extensionManagement/common/extensionManagement';
98
- import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
99
- import { ITerminalService, ITerminalEditorService, ITerminalGroupService, ITerminalInstanceService } from 'vscode/vscode/vs/workbench/contrib/terminal/browser/terminal';
100
- import { ITerminalProfileService, ITerminalProfileResolverService } from 'vscode/vscode/vs/workbench/contrib/terminal/common/terminal';
101
- import { TerminalLocation, ITerminalLogService } from 'vscode/vscode/vs/platform/terminal/common/terminal';
102
- import { ITerminalContributionService } from 'vscode/vscode/vs/workbench/contrib/terminal/common/terminalExtensionPoints';
103
- import { ITerminalLinkProviderService } from 'vscode/vscode/vs/workbench/contrib/terminalContrib/links/browser/links';
104
- import { IEnvironmentVariableService } from 'vscode/vscode/vs/workbench/contrib/terminal/common/environmentVariable';
105
- import { ITerminalQuickFixService } from 'vscode/vscode/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix';
106
- import { IPreferencesSearchService } from 'vscode/vscode/vs/workbench/contrib/preferences/common/preferences';
107
- import { IUserDataSyncWorkbenchService } from 'vscode/vscode/vs/workbench/services/userDataSync/common/userDataSync';
108
- import { IUserDataSyncEnablementService } from 'vscode/vscode/vs/platform/userDataSync/common/userDataSync';
109
- import { IKeybindingEditingService } from 'vscode/vscode/vs/workbench/services/keybinding/common/keybindingEditing';
110
- import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService';
111
- import { ISearchHistoryService } from 'vscode/vscode/vs/workbench/contrib/search/common/searchHistoryService';
112
- import { IReplaceService } from 'vscode/vscode/vs/workbench/contrib/search/browser/replace';
113
- import { ISearchViewModelWorkbenchService } from 'vscode/vscode/vs/workbench/contrib/search/browser/searchModel';
114
- import { INotebookEditorService } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService';
115
- import { INotebookEditorModelResolverService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService';
116
- import { IWorkingCopyEditorService, WorkingCopyEditorService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService';
117
- import { IUserActivityService, UserActivityService } from 'vscode/vscode/vs/workbench/services/userActivity/common/userActivityService';
118
- import { CanonicalUriService } from 'vscode/vscode/vs/workbench/services/workspaces/common/canonicalUriService';
119
- import { ICanonicalUriService } from 'vscode/vscode/vs/platform/workspace/common/canonicalUri';
120
- import { IExtensionStatusBarItemService, ExtensionStatusBarItemService } from 'vscode/vscode/vs/workbench/api/browser/statusBarExtensionPoint';
121
- import { IWorkbenchAssignmentService } from 'vscode/vscode/vs/workbench/services/assignment/common/assignmentService';
122
- import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
123
- import { IEmbedderTerminalService } from 'vscode/vscode/vs/workbench/services/terminal/common/embedderTerminalService';
124
- import { ICustomEditorService } from 'vscode/vscode/vs/workbench/contrib/customEditor/common/customEditor';
125
- import { IWebviewWorkbenchService } from 'vscode/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService';
126
- import { IWebviewService } from 'vscode/vscode/vs/workbench/contrib/webview/browser/webview';
127
- import { IWebviewViewService } from 'vscode/vscode/vs/workbench/contrib/webviewView/browser/webviewViewService';
128
- import { IEditorDropService } from 'vscode/vscode/vs/workbench/services/editor/browser/editorDropService';
129
- import { IRemoteAuthorityResolverService } from 'vscode/vscode/vs/platform/remote/common/remoteAuthorityResolver';
130
- import { IExternalUriOpenerService, ExternalUriOpenerService } from 'vscode/vscode/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService';
131
- import { IAccessibleViewService } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibleView';
132
- import { IExtensionManifestPropertiesService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionManifestPropertiesService';
133
- import { IRemoteExtensionsScannerService } from 'vscode/vscode/vs/platform/remote/common/remoteExtensionsScanner';
134
- import { BrowserURLService } from 'vscode/vscode/vs/workbench/services/url/browser/urlService';
135
- import { IURLService } from 'vscode/vscode/vs/platform/url/common/url';
136
- import { IRemoteSocketFactoryService } from 'vscode/vscode/vs/platform/remote/common/remoteSocketFactoryService';
137
- import { IQuickDiffService } from 'vscode/vscode/vs/workbench/contrib/scm/common/quickDiff';
138
- import { ISCMService, ISCMViewService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
139
- import { IDownloadService } from 'vscode/vscode/vs/platform/download/common/download';
140
- import { IExtensionUrlHandler } from 'vscode/vscode/vs/workbench/services/extensions/browser/extensionUrlHandler';
141
- import { ICommentService } from 'vscode/vscode/vs/workbench/contrib/comments/browser/commentService';
142
- import { INotebookCellStatusBarService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCellStatusBarService';
143
- import { INotebookKernelService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookKernelService';
144
- import { INotebookRendererMessagingService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookRendererMessagingService';
145
- import { IInteractiveDocumentService } from 'vscode/vscode/vs/workbench/contrib/interactive/browser/interactiveDocumentService';
146
- import { IInlineChatService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
147
- import { IQuickChatService, IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
148
- import { IRemoteExplorerService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteExplorerService';
149
- import { IAuthenticationService } from 'vscode/vscode/vs/workbench/services/authentication/common/authentication';
150
- import { ITimelineService } from 'vscode/vscode/vs/workbench/contrib/timeline/common/timeline';
151
- import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService';
152
- import { ISecretStorageService } from 'vscode/vscode/vs/platform/secrets/common/secrets';
153
- import { IShareService } from 'vscode/vscode/vs/workbench/contrib/share/common/share';
154
- import { IWorkbenchIssueService } from 'vscode/vscode/vs/workbench/services/issue/common/issue';
155
- import { INotebookExecutionStateService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
156
- import { IChatContributionService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContributionService';
157
- import { ITestProfileService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testProfileService';
158
- import { IEncryptionService } from 'vscode/vscode/vs/platform/encryption/common/encryptionService';
159
- import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService';
160
- import { IDiagnosticsService, NullDiagnosticsService } from 'vscode/vscode/vs/platform/diagnostics/common/diagnostics';
161
- import { INotebookSearchService } from 'vscode/vscode/vs/workbench/contrib/search/common/notebookSearch';
162
- import { IChatProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatProvider';
163
- import { IChatSlashCommandService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatSlashCommands';
164
- import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables';
165
- import { IAiRelatedInformationService } from 'vscode/vscode/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation';
166
- import { IAiEmbeddingVectorService } from 'vscode/vscode/vs/workbench/services/aiEmbeddingVector/common/aiEmbeddingVectorService';
167
- import { ResourceSet } from 'monaco-editor/esm/vs/base/common/map.js';
168
- import { ISignService } from 'vscode/vscode/vs/platform/sign/common/sign';
169
- import { BrowserHostService } from 'vscode/vscode/vs/workbench/services/host/browser/browserHostService';
170
- import { IBannerService } from 'vscode/vscode/vs/workbench/services/banner/browser/bannerService';
171
- import { ITitleService } from 'vscode/vscode/vs/workbench/services/title/common/titleService';
172
- import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
173
- import { joinPath } from 'monaco-editor/esm/vs/base/common/resources.js';
174
- import { unsupported } from './tools.js';
175
- import { getBuiltInExtensionTranslationsUris } from './l10n.js';
176
- import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
177
-
178
- var _a;
179
- class NullLoggerService extends AbstractLoggerService {
180
- constructor() {
181
- super(LogLevel.Info, URI.file('logs.log'));
182
- }
183
- doCreateLogger() { return new NullLogger(); }
184
- }
185
- registerSingleton(ILoggerService, NullLoggerService, 0 );
186
- registerSingleton(IEditorService, class EditorService {
187
- constructor() {
188
- this._serviceBrand = undefined;
189
- this.onDidActiveEditorChange = Event.None;
190
- this.onDidVisibleEditorsChange = Event.None;
191
- this.onDidEditorsChange = Event.None;
192
- this.onDidCloseEditor = Event.None;
193
- this.activeEditorPane = undefined;
194
- this.activeEditor = undefined;
195
- this.activeTextEditorLanguageId = undefined;
196
- this.visibleEditorPanes = [];
197
- this.visibleEditors = [];
198
- this.visibleTextEditorControls = [];
199
- this.editors = [];
200
- this.count = 0;
201
- this.getEditors = () => [];
202
- this.openEditor = unsupported;
203
- this.openEditors = unsupported;
204
- this.replaceEditors = async () => { };
205
- this.isOpened = () => false;
206
- this.isVisible = () => false;
207
- this.closeEditor = async () => { };
208
- this.closeEditors = async () => { };
209
- this.findEditors = () => [];
210
- this.save = async () => ({ success: false, editors: [] });
211
- this.saveAll = async () => ({ success: false, editors: [] });
212
- this.revert = async () => false;
213
- this.revertAll = async () => false;
214
- }
215
- get activeTextEditorControl() { return StandaloneServices.get(ICodeEditorService).getFocusedCodeEditor() ?? undefined; }
216
- }, 0 );
217
- registerSingleton(IPaneCompositePartService, class PaneCompositePartService {
218
- constructor() {
219
- this._serviceBrand = undefined;
220
- this.onDidPaneCompositeOpen = Event.None;
221
- this.onDidPaneCompositeClose = Event.None;
222
- this.openPaneComposite = async () => undefined;
223
- this.getActivePaneComposite = () => undefined;
224
- this.getPaneComposite = () => undefined;
225
- this.getPaneComposites = () => [];
226
- this.getPinnedPaneCompositeIds = () => [];
227
- this.getVisiblePaneCompositeIds = () => [];
228
- this.getProgressIndicator = () => undefined;
229
- this.hideActivePaneComposite = () => { };
230
- this.getLastActivePaneCompositeId = unsupported;
231
- this.showActivity = () => Disposable.None;
232
- }
233
- }, 0 );
234
- registerSingleton(IUriIdentityService, UriIdentityService, 1 );
235
- registerSingleton(ITextFileService, BrowserTextFileService, 0 );
236
- registerSingleton(IFileService, class FileService {
237
- constructor() {
238
- this._serviceBrand = undefined;
239
- this.onDidChangeFileSystemProviderRegistrations = Event.None;
240
- this.onDidChangeFileSystemProviderCapabilities = Event.None;
241
- this.onWillActivateFileSystemProvider = Event.None;
242
- this.registerProvider = unsupported;
243
- this.getProvider = function () {
244
- return undefined;
245
- };
246
- this.activateProvider = async () => { };
247
- this.canHandleResource = async () => false;
248
- this.hasProvider = () => false;
249
- this.hasCapability = () => false;
250
- this.listCapabilities = () => [];
251
- this.onDidFilesChange = Event.None;
252
- this.onDidRunOperation = Event.None;
253
- this.resolve = unsupported;
254
- this.resolveAll = unsupported;
255
- this.stat = unsupported;
256
- this.exists = async () => false;
257
- this.readFile = unsupported;
258
- this.readFileStream = unsupported;
259
- this.writeFile = unsupported;
260
- this.move = unsupported;
261
- this.canMove = unsupported;
262
- this.copy = unsupported;
263
- this.canCopy = unsupported;
264
- this.cloneFile = unsupported;
265
- this.createFile = unsupported;
266
- this.canCreateFile = unsupported;
267
- this.createFolder = unsupported;
268
- this.del = unsupported;
269
- this.canDelete = unsupported;
270
- this.onDidWatchError = Event.None;
271
- this.watch = unsupported;
272
- }
273
- dispose() {
274
- }
275
- }, 0 );
276
- class EmptyEditorGroup {
277
- constructor() {
278
- this.onDidFocus = Event.None;
279
- this.onDidOpenEditorFail = Event.None;
280
- this.whenRestored = Promise.resolve();
281
- this.disposed = false;
282
- this.setActive = unsupported;
283
- this.notifyIndexChanged = unsupported;
284
- this.relayout = unsupported;
285
- this.dispose = unsupported;
286
- this.toJSON = unsupported;
287
- this.minimumWidth = 0;
288
- this.maximumWidth = Number.POSITIVE_INFINITY;
289
- this.minimumHeight = 0;
290
- this.maximumHeight = Number.POSITIVE_INFINITY;
291
- this.onDidChange = Event.None;
292
- this.layout = unsupported;
293
- this.onDidModelChange = Event.None;
294
- this.onWillDispose = Event.None;
295
- this.onDidActiveEditorChange = Event.None;
296
- this.onWillCloseEditor = Event.None;
297
- this.onDidCloseEditor = Event.None;
298
- this.onWillMoveEditor = Event.None;
299
- this.onWillOpenEditor = Event.None;
300
- this.id = 0;
301
- this.index = 0;
302
- this.label = 'main';
303
- this.ariaLabel = 'main';
304
- this.activeEditorPane = undefined;
305
- this.activeEditor = null;
306
- this.previewEditor = null;
307
- this.count = 0;
308
- this.isEmpty = false;
309
- this.isLocked = false;
310
- this.stickyCount = 0;
311
- this.editors = [];
312
- this.getEditors = () => [];
313
- this.findEditors = () => [];
314
- this.getEditorByIndex = () => undefined;
315
- this.getIndexOfEditor = unsupported;
316
- this.openEditor = unsupported;
317
- this.openEditors = unsupported;
318
- this.isPinned = () => false;
319
- this.isSticky = () => false;
320
- this.isActive = () => false;
321
- this.contains = () => false;
322
- this.moveEditor = unsupported;
323
- this.moveEditors = unsupported;
324
- this.copyEditor = unsupported;
325
- this.copyEditors = unsupported;
326
- this.closeEditor = unsupported;
327
- this.closeEditors = unsupported;
328
- this.closeAllEditors = unsupported;
329
- this.replaceEditors = unsupported;
330
- this.pinEditor = unsupported;
331
- this.stickEditor = unsupported;
332
- this.unstickEditor = unsupported;
333
- this.lock = unsupported;
334
- this.isFirst = unsupported;
335
- this.isLast = unsupported;
336
- }
337
- get titleHeight() {
338
- return unsupported();
339
- }
340
- get element() {
341
- return unsupported();
342
- }
343
- get scopedContextKeyService() { return StandaloneServices.get(IContextKeyService); }
344
- focus() {
345
- }
346
- }
347
- const fakeActiveGroup = new EmptyEditorGroup();
348
- class EmptyEditorGroupsService {
349
- constructor() {
350
- this._serviceBrand = undefined;
351
- this.getLayout = unsupported;
352
- this.onDidChangeActiveGroup = Event.None;
353
- this.onDidAddGroup = Event.None;
354
- this.onDidRemoveGroup = Event.None;
355
- this.onDidMoveGroup = Event.None;
356
- this.onDidActivateGroup = Event.None;
357
- this.onDidLayout = Event.None;
358
- this.onDidScroll = Event.None;
359
- this.onDidChangeGroupIndex = Event.None;
360
- this.onDidChangeGroupLocked = Event.None;
361
- this.activeGroup = fakeActiveGroup;
362
- this.groups = [fakeActiveGroup];
363
- this.count = 0;
364
- this.orientation = 0 ;
365
- this.isReady = false;
366
- this.whenReady = Promise.resolve();
367
- this.whenRestored = Promise.resolve();
368
- this.hasRestorableState = false;
369
- this.getGroups = () => [];
370
- this.getGroup = () => undefined;
371
- this.activateGroup = unsupported;
372
- this.getSize = unsupported;
373
- this.setSize = unsupported;
374
- this.arrangeGroups = unsupported;
375
- this.applyLayout = unsupported;
376
- this.centerLayout = unsupported;
377
- this.isLayoutCentered = () => false;
378
- this.setGroupOrientation = unsupported;
379
- this.findGroup = () => undefined;
380
- this.addGroup = unsupported;
381
- this.removeGroup = unsupported;
382
- this.moveGroup = unsupported;
383
- this.mergeGroup = unsupported;
384
- this.mergeAllGroups = unsupported;
385
- this.copyGroup = unsupported;
386
- this.partOptions = {};
387
- this.onDidChangeEditorPartOptions = Event.None;
388
- this.enforcePartOptions = unsupported;
389
- }
390
- get contentDimension() { return unsupported(); }
391
- get sideGroup() { return unsupported(); }
392
- }
393
- registerSingleton(IEditorGroupsService, EmptyEditorGroupsService, 0 );
394
- registerSingleton(IBannerService, class BannerService {
395
- focus() { }
396
- focusNextAction() { }
397
- focusPreviousAction() { }
398
- hide() { }
399
- show() { }
400
- }, 0 );
401
- registerSingleton(ITitleService, class TitleService {
402
- constructor() {
403
- this.onMenubarVisibilityChange = Event.None;
404
- this.isCommandCenterVisible = false;
405
- this.onDidChangeCommandCenterVisibility = Event.None;
406
- }
407
- updateProperties() { }
408
- }, 0 );
409
- registerSingleton(IWorkingCopyFileService, WorkingCopyFileService, 0 );
410
- registerSingleton(IPathService, BrowserPathService, 1 );
411
- registerSingleton(IProductService, class ProductService {
412
- constructor() {
413
- this._serviceBrand = undefined;
414
- this.version = "1.83.0";
415
- this.commit = "e7e037083ff4455cf320e344325dacb480062c3c";
416
- this.nameShort = 'Code - OSS Dev';
417
- this.nameLong = 'Code - OSS Dev';
418
- this.applicationName = 'code-oss';
419
- this.dataFolderName = '.vscode-oss';
420
- this.urlProtocol = 'code-oss';
421
- this.reportIssueUrl = 'https://github.com/microsoft/vscode/issues/new';
422
- this.licenseName = 'MIT';
423
- this.licenseUrl = 'https://github.com/microsoft/vscode/blob/main/LICENSE.txt';
424
- this.serverApplicationName = 'code-server-oss';
425
- }
426
- }, 0 );
427
- registerSingleton(ILanguageStatusService, class LanguageStatusServiceImpl {
428
- constructor() {
429
- this._provider = new LanguageFeatureRegistry();
430
- this.onDidChange = this._provider.onDidChange;
431
- }
432
- addStatus(status) {
433
- return this._provider.register(status.selector, status);
434
- }
435
- getLanguageStatus(model) {
436
- return this._provider.ordered(model).sort((a, b) => {
437
- let res = b.severity - a.severity;
438
- if (res === 0) {
439
- res = compare(a.source, b.source);
440
- }
441
- if (res === 0) {
442
- res = compare(a.id, b.id);
443
- }
444
- return res;
445
- });
446
- }
447
- }, 0 );
448
- registerSingleton(IHostService, BrowserHostService, 0 );
449
- registerSingleton(ILifecycleService, class LifecycleService extends AbstractLifecycleService {
450
- constructor() {
451
- super(...arguments);
452
- this.shutdown = unsupported;
453
- }
454
- }, 0 );
455
- registerSingleton(ILanguageDetectionService, class LanguageDetectionService {
456
- isEnabledForLanguage() {
457
- return false;
458
- }
459
- async detectLanguage() {
460
- return undefined;
461
- }
462
- }, 0 );
463
- registerSingleton(IExtensionService, NullExtensionService, 0 );
464
- registerSingleton(IKeyboardLayoutService, class KeyboardLayoutService {
465
- constructor() {
466
- this.onDidChangeKeyboardLayout = Event.None;
467
- this.getRawKeyboardMapping = () => null;
468
- this.getCurrentKeyboardLayout = () => null;
469
- this.getAllKeyboardLayouts = () => [];
470
- this.getKeyboardMapper = () => new FallbackKeyboardMapper(false, OS);
471
- this.validateCurrentKeyboardMapping = () => { };
472
- }
473
- }, 1 );
474
- registerSingleton(IUserDataInitializationService, class NullUserDataInitializationService {
475
- async requiresInitialization() {
476
- return false;
477
- }
478
- async whenInitializationFinished() { }
479
- async initializeRequiredResources() { }
480
- async initializeInstalledExtensions() { }
481
- async initializeOtherResources() { }
482
- }, 0 );
483
- registerSingleton(IHostColorSchemeService, BrowserHostColorSchemeService, 0 );
484
- let PreferencesService = class PreferencesService {
485
- constructor(profileService) {
486
- this.profileService = profileService;
487
- this.userSettingsResource = this.profileService.currentProfile.settingsResource;
488
- this.workspaceSettingsResource = null;
489
- this.getFolderSettingsResource = unsupported;
490
- this.createPreferencesEditorModel = unsupported;
491
- this.resolveModel = unsupported;
492
- this.createSettings2EditorModel = unsupported;
493
- this.openRawDefaultSettings = unsupported;
494
- this.openSettings = unsupported;
495
- this.openUserSettings = unsupported;
496
- this.openRemoteSettings = unsupported;
497
- this.openWorkspaceSettings = unsupported;
498
- this.openFolderSettings = unsupported;
499
- this.openGlobalKeybindingSettings = unsupported;
500
- this.openDefaultKeybindingsFile = unsupported;
501
- this.getEditableSettingsURI = unsupported;
502
- this.createSplitJsonEditorInput = unsupported;
503
- this.openApplicationSettings = unsupported;
504
- this.openLanguageSpecificSettings = unsupported;
505
- }
506
- };
507
- PreferencesService = __decorate([
508
- ( __param(0, IUserDataProfileService))
509
- ], PreferencesService);
510
- registerSingleton(IPreferencesService, PreferencesService, 0 );
511
- registerSingleton(ITextMateTokenizationService, class NullTextMateService {
512
- constructor() {
513
- this.onDidEncounterLanguage = Event.None;
514
- this.createGrammar = unsupported;
515
- this.startDebugMode = unsupported;
516
- this.createTokenizer = unsupported;
517
- }
518
- }, 0 );
519
- let UserDataProfilesService = class UserDataProfilesService {
520
- constructor(profileService) {
521
- this.profileService = profileService;
522
- this.onDidResetWorkspaces = Event.None;
523
- this.isEnabled = () => false;
524
- this.createNamedProfile = unsupported;
525
- this.createTransientProfile = unsupported;
526
- this.resetWorkspaces = unsupported;
527
- this.cleanUp = unsupported;
528
- this.cleanUpTransientProfiles = unsupported;
529
- this.defaultProfile = this.profileService.currentProfile;
530
- this.onDidChangeProfiles = Event.None;
531
- this.profiles = [this.profileService.currentProfile];
532
- this.createProfile = unsupported;
533
- this.updateProfile = unsupported;
534
- this.setProfileForWorkspace = unsupported;
535
- this.getProfile = () => this.profileService.currentProfile;
536
- this.removeProfile = unsupported;
537
- }
538
- get profilesHome() { return unsupported(); }
539
- };
540
- UserDataProfilesService = __decorate([
541
- ( __param(0, IUserDataProfileService))
542
- ], UserDataProfilesService);
543
- registerSingleton(IUserDataProfilesService, UserDataProfilesService, 0 );
544
- let InjectedUserDataProfileService = class InjectedUserDataProfileService extends UserDataProfileService {
545
- constructor(environmentService) {
546
- super({
547
- ...toUserDataProfile('__default__profile__', 'Default', environmentService.userRoamingDataHome, joinPath(environmentService.cacheHome, 'CachedProfilesData')),
548
- isDefault: true
549
- });
550
- }
551
- };
552
- InjectedUserDataProfileService = __decorate([
553
- ( __param(0, IEnvironmentService))
554
- ], InjectedUserDataProfileService);
555
- registerSingleton(IUserDataProfileService, InjectedUserDataProfileService, 0 );
556
- registerSingleton(IPolicyService, class PolicyService {
557
- constructor() {
558
- this.updatePolicyDefinitions = unsupported;
559
- this.onDidChange = Event.None;
560
- this.registerPolicyDefinitions = unsupported;
561
- this.getPolicyValue = () => undefined;
562
- this.serialize = () => undefined;
563
- }
564
- }, 0 );
565
- registerSingleton(ISnippetsService, class SnippetsService {
566
- constructor() {
567
- this.getSnippetFiles = unsupported;
568
- this.isEnabled = unsupported;
569
- this.updateEnablement = unsupported;
570
- this.updateUsageTimestamp = unsupported;
571
- this.getSnippets = async () => [];
572
- this.getSnippetsSync = unsupported;
573
- }
574
- }, 0 );
575
- const debugModel = {
576
- getSession: () => undefined,
577
- getSessions: () => [],
578
- getBreakpoints: () => [],
579
- areBreakpointsActivated: () => false,
580
- getFunctionBreakpoints: () => [],
581
- getDataBreakpoints: () => [],
582
- getExceptionBreakpoints: () => [],
583
- getExceptionBreakpointsForSession: () => [],
584
- getInstructionBreakpoints: () => [],
585
- getWatchExpressions: () => [],
586
- onDidChangeBreakpoints: Event.None,
587
- onDidChangeCallStack: Event.None,
588
- onDidChangeWatchExpressions: Event.None,
589
- fetchCallstack: unsupported,
590
- getId: unsupported
591
- };
592
- class FakeViewModel {
593
- constructor() {
594
- this.getId = unsupported;
595
- this.focusedSession = undefined;
596
- this.focusedThread = undefined;
597
- this.focusedStackFrame = undefined;
598
- this.getSelectedExpression = unsupported;
599
- this.setSelectedExpression = unsupported;
600
- this.updateViews = unsupported;
601
- this.isMultiSessionView = unsupported;
602
- this.onDidFocusSession = Event.None;
603
- this.onDidFocusStackFrame = Event.None;
604
- this.onDidSelectExpression = Event.None;
605
- this.onDidEvaluateLazyExpression = Event.None;
606
- this.onWillUpdateViews = Event.None;
607
- this.onDidFocusThread = Event.None;
608
- this.evaluateLazyExpression = unsupported;
609
- }
610
- }
611
- class FakeAdapterManager {
612
- constructor() {
613
- this.onDidRegisterDebugger = Event.None;
614
- this.hasEnabledDebuggers = () => false;
615
- this.getDebugAdapterDescriptor = unsupported;
616
- this.getDebuggerLabel = unsupported;
617
- this.someDebuggerInterestedInLanguage = () => false;
618
- this.getDebugger = () => undefined;
619
- this.activateDebuggers = unsupported;
620
- this.registerDebugAdapterFactory = () => Disposable.None;
621
- this.createDebugAdapter = unsupported;
622
- this.registerDebugAdapterDescriptorFactory = unsupported;
623
- this.unregisterDebugAdapterDescriptorFactory = unsupported;
624
- this.substituteVariables = unsupported;
625
- this.runInTerminal = unsupported;
626
- this.getEnabledDebugger = unsupported;
627
- this.guessDebugger = unsupported;
628
- this.onDidDebuggersExtPointRead = Event.None;
629
- }
630
- }
631
- registerSingleton(IDebugService, class DebugService {
632
- constructor() {
633
- this.onDidChangeState = Event.None;
634
- this.onDidNewSession = Event.None;
635
- this.onWillNewSession = Event.None;
636
- this.onDidEndSession = Event.None;
637
- this.getConfigurationManager = unsupported;
638
- this.getAdapterManager = () => new FakeAdapterManager();
639
- this.focusStackFrame = unsupported;
640
- this.canSetBreakpointsIn = unsupported;
641
- this.addBreakpoints = unsupported;
642
- this.updateBreakpoints = unsupported;
643
- this.enableOrDisableBreakpoints = unsupported;
644
- this.setBreakpointsActivated = unsupported;
645
- this.removeBreakpoints = unsupported;
646
- this.addFunctionBreakpoint = unsupported;
647
- this.updateFunctionBreakpoint = unsupported;
648
- this.removeFunctionBreakpoints = unsupported;
649
- this.addDataBreakpoint = unsupported;
650
- this.removeDataBreakpoints = unsupported;
651
- this.addInstructionBreakpoint = unsupported;
652
- this.removeInstructionBreakpoints = unsupported;
653
- this.setExceptionBreakpointCondition = unsupported;
654
- this.setExceptionBreakpointsForSession = unsupported;
655
- this.sendAllBreakpoints = unsupported;
656
- this.addWatchExpression = unsupported;
657
- this.renameWatchExpression = unsupported;
658
- this.moveWatchExpression = unsupported;
659
- this.removeWatchExpressions = unsupported;
660
- this.startDebugging = unsupported;
661
- this.restartSession = unsupported;
662
- this.stopSession = unsupported;
663
- this.sourceIsNotAvailable = unsupported;
664
- this.getModel = () => debugModel;
665
- this.getViewModel = () => new FakeViewModel();
666
- this.runTo = unsupported;
667
- }
668
- get state() { return unsupported(); }
669
- }, 0 );
670
- registerSingleton(IRequestService, RequestService, 0 );
671
- registerSingleton(IWorkspaceTrustRequestService, class WorkspaceTrustRequestService {
672
- constructor() {
673
- this.onDidInitiateOpenFilesTrustRequest = Event.None;
674
- this.onDidInitiateWorkspaceTrustRequest = Event.None;
675
- this.onDidInitiateWorkspaceTrustRequestOnStartup = Event.None;
676
- this.completeOpenFilesTrustRequest = unsupported;
677
- this.requestOpenFilesTrust = async () => 1 ;
678
- this.cancelWorkspaceTrustRequest = unsupported;
679
- this.completeWorkspaceTrustRequest = unsupported;
680
- this.requestWorkspaceTrust = async () => true;
681
- this.requestWorkspaceTrustOnStartup = () => null;
682
- }
683
- }, 0 );
684
- registerSingleton(IActivityService, class ActivityService {
685
- constructor() {
686
- this.showViewContainerActivity = () => Disposable.None;
687
- this.showViewActivity = () => Disposable.None;
688
- this.showAccountsActivity = () => Disposable.None;
689
- this.showGlobalActivity = () => Disposable.None;
690
- }
691
- }, 0 );
692
- registerSingleton(IExtensionHostDebugService, class ExtensionHostDebugService {
693
- constructor() {
694
- this.reload = unsupported;
695
- this.onReload = Event.None;
696
- this.close = unsupported;
697
- this.onClose = Event.None;
698
- this.attachSession = unsupported;
699
- this.onAttachSession = Event.None;
700
- this.terminateSession = unsupported;
701
- this.onTerminateSession = Event.None;
702
- this.openExtensionDevelopmentHostWindow = unsupported;
703
- }
704
- }, 0 );
705
- registerSingleton(IViewsService, class ViewsService {
706
- constructor() {
707
- this.getFocusedViewName = unsupported;
708
- this.onDidChangeFocusedView = Event.None;
709
- this.onDidChangeViewContainerVisibility = Event.None;
710
- this.isViewContainerVisible = () => false;
711
- this.openViewContainer = unsupported;
712
- this.closeViewContainer = unsupported;
713
- this.getVisibleViewContainer = unsupported;
714
- this.getActiveViewPaneContainerWithId = () => null;
715
- this.onDidChangeViewVisibility = Event.None;
716
- this.isViewVisible = () => false;
717
- this.openView = async () => null;
718
- this.closeView = unsupported;
719
- this.getActiveViewWithId = () => null;
720
- this.getViewWithId = () => null;
721
- this.getViewProgressIndicator = () => undefined;
722
- }
723
- }, 0 );
724
- registerSingleton(IViewDescriptorService, class ViewDescriptorService {
725
- constructor() {
726
- this.viewContainers = [];
727
- this.onDidChangeViewContainers = Event.None;
728
- this.getDefaultViewContainer = () => undefined;
729
- this.getViewContainerById = () => null;
730
- this.isViewContainerRemovedPermanently = unsupported;
731
- this.getDefaultViewContainerLocation = () => null;
732
- this.getViewContainerLocation = () => null;
733
- this.getViewContainersByLocation = unsupported;
734
- this.getViewContainerModel = () => ({
735
- onDidChangeAllViewDescriptors: Event.None,
736
- visibleViewDescriptors: []
737
- });
738
- this.onDidChangeContainerLocation = Event.None;
739
- this.moveViewContainerToLocation = unsupported;
740
- this.getViewContainerBadgeEnablementState = unsupported;
741
- this.setViewContainerBadgeEnablementState = unsupported;
742
- this.getViewDescriptorById = () => null;
743
- this.getViewContainerByViewId = () => null;
744
- this.getDefaultContainerById = () => null;
745
- this.getViewLocationById = () => null;
746
- this.onDidChangeContainer = Event.None;
747
- this.moveViewsToContainer = unsupported;
748
- this.onDidChangeLocation = Event.None;
749
- this.moveViewToLocation = () => null;
750
- this.reset = () => null;
751
- }
752
- }, 0 );
753
- registerSingleton(IHistoryService, class HistoryService {
754
- constructor() {
755
- this.goForward = unsupported;
756
- this.goBack = unsupported;
757
- this.goPrevious = unsupported;
758
- this.goLast = unsupported;
759
- this.reopenLastClosedEditor = unsupported;
760
- this.getHistory = () => [];
761
- this.removeFromHistory = unsupported;
762
- this.getLastActiveWorkspaceRoot = () => undefined;
763
- this.getLastActiveFile = () => undefined;
764
- this.openNextRecentlyUsedEditor = unsupported;
765
- this.openPreviouslyUsedEditor = unsupported;
766
- this.clear = unsupported;
767
- this.clearRecentlyOpened = unsupported;
768
- }
769
- }, 0 );
770
- registerSingleton(ITaskService, class TaskService {
771
- constructor() {
772
- this.onDidStateChange = Event.None;
773
- this.supportsMultipleTaskExecutions = false;
774
- this.configureAction = unsupported;
775
- this.run = unsupported;
776
- this.inTerminal = () => false;
777
- this.getActiveTasks = async () => [];
778
- this.getBusyTasks = unsupported;
779
- this.terminate = unsupported;
780
- this.tasks = unsupported;
781
- this.taskTypes = unsupported;
782
- this.getWorkspaceTasks = unsupported;
783
- this.getSavedTasks = unsupported;
784
- this.removeRecentlyUsedTask = unsupported;
785
- this.getTask = unsupported;
786
- this.tryResolveTask = unsupported;
787
- this.createSorter = unsupported;
788
- this.getTaskDescription = unsupported;
789
- this.customize = unsupported;
790
- this.openConfig = unsupported;
791
- this.registerTaskProvider = unsupported;
792
- this.registerTaskSystem = () => { };
793
- this.onDidChangeTaskSystemInfo = Event.None;
794
- this.hasTaskSystemInfo = false;
795
- this.registerSupportedExecutions = () => { };
796
- this.extensionCallbackTaskComplete = unsupported;
797
- this.isReconnected = false;
798
- this.onDidReconnectToTasks = Event.None;
799
- }
800
- }, 0 );
801
- registerSingleton(IConfigurationResolverService, class ConfigurationResolverService {
802
- constructor() {
803
- this.resolveWithEnvironment = unsupported;
804
- this.resolveAsync = unsupported;
805
- this.resolveAnyAsync = unsupported;
806
- this.resolveAnyMap = unsupported;
807
- this.resolveWithInteractionReplace = unsupported;
808
- this.resolveWithInteraction = unsupported;
809
- this.contributeVariable = unsupported;
810
- }
811
- }, 0 );
812
- registerSingleton(IRemoteAgentService, class RemoteAgentService {
813
- constructor() {
814
- this.getConnection = () => null;
815
- this.getEnvironment = async () => null;
816
- this.getRawEnvironment = async () => null;
817
- this.getExtensionHostExitInfo = async () => null;
818
- this.getRoundTripTime = async () => undefined;
819
- this.whenExtensionsReady = async () => undefined;
820
- this.scanExtensions = async () => [];
821
- this.scanSingleExtension = async () => null;
822
- this.getDiagnosticInfo = async () => undefined;
823
- this.updateTelemetryLevel = async () => undefined;
824
- this.logTelemetry = async () => undefined;
825
- this.flushTelemetry = async () => undefined;
826
- }
827
- }, 0 );
828
- registerSingleton(ICustomEndpointTelemetryService, NullEndpointTelemetryService, 0 );
829
- let MonacoSearchService = class MonacoSearchService {
830
- constructor(modelService) {
831
- this.modelService = modelService;
832
- this.textSearchSplitSyncAsync = unsupported;
833
- this.registerSearchResultProvider = unsupported;
834
- }
835
- async textSearch() {
836
- return {
837
- results: [],
838
- messages: []
839
- };
840
- }
841
- async fileSearch() {
842
- return {
843
- results: ( this.modelService.getModels().map(model => ({
844
- resource: model.uri
845
- }))),
846
- messages: []
847
- };
848
- }
849
- async clearCache() {
850
- }
851
- };
852
- MonacoSearchService = __decorate([
853
- ( __param(0, IModelService))
854
- ], MonacoSearchService);
855
- registerSingleton(ISearchService, MonacoSearchService, 0 );
856
- registerSingleton(IEditSessionIdentityService, class EditSessionIdentityService {
857
- constructor() {
858
- this.registerEditSessionIdentityProvider = unsupported;
859
- this.getEditSessionIdentifier = unsupported;
860
- this.provideEditSessionIdentityMatch = unsupported;
861
- this.addEditSessionIdentityCreateParticipant = () => new DisposableStore();
862
- this.onWillCreateEditSessionIdentity = unsupported;
863
- }
864
- }, 0 );
865
- registerSingleton(IWorkspaceEditingService, class WorkspaceEditingService {
866
- constructor() {
867
- this.addFolders = unsupported;
868
- this.removeFolders = unsupported;
869
- this.updateFolders = unsupported;
870
- this.enterWorkspace = unsupported;
871
- this.createAndEnterWorkspace = unsupported;
872
- this.saveAndEnterWorkspace = unsupported;
873
- this.copyWorkspaceSettings = unsupported;
874
- this.pickNewWorkspacePath = unsupported;
875
- }
876
- }, 0 );
877
- registerSingleton(ITimerService, class TimerService {
878
- constructor() {
879
- this.whenReady = unsupported;
880
- this.setPerformanceMarks = () => { };
881
- this.getPerformanceMarks = unsupported;
882
- this.getDuration = unsupported;
883
- }
884
- get perfBaseline() { return unsupported(); }
885
- get startupMetrics() { return unsupported(); }
886
- }, 0 );
887
- registerSingleton(IExtensionsWorkbenchService, class ExtensionsWorkbenchService {
888
- constructor() {
889
- this.toggleApplyExtensionToAllProfiles = unsupported;
890
- this.whenInitialized = Promise.resolve();
891
- this.onChange = Event.None;
892
- this.onReset = Event.None;
893
- this.preferPreReleases = false;
894
- this.local = [];
895
- this.installed = [];
896
- this.outdated = [];
897
- this.queryLocal = unsupported;
898
- this.queryGallery = unsupported;
899
- this.getExtensions = unsupported;
900
- this.canInstall = unsupported;
901
- this.install = unsupported;
902
- this.installInServer = unsupported;
903
- this.uninstall = unsupported;
904
- this.installVersion = unsupported;
905
- this.reinstall = unsupported;
906
- this.canSetLanguage = unsupported;
907
- this.setLanguage = unsupported;
908
- this.setEnablement = unsupported;
909
- this.pinExtension = unsupported;
910
- this.open = unsupported;
911
- this.checkForUpdates = unsupported;
912
- this.getExtensionStatus = unsupported;
913
- this.isExtensionIgnoredToSync = unsupported;
914
- this.toggleExtensionIgnoredToSync = unsupported;
915
- }
916
- }, 0 );
917
- registerSingleton(IWorkbenchExtensionEnablementService, class WorkbenchExtensionEnablementService {
918
- constructor() {
919
- this.onEnablementChanged = Event.None;
920
- this.getEnablementState = () => 8 ;
921
- this.getEnablementStates = (extensions) => ( extensions.map(() => 8 ));
922
- this.getDependenciesEnablementStates = () => [];
923
- this.canChangeEnablement = () => false;
924
- this.canChangeWorkspaceEnablement = () => false;
925
- this.isEnabled = () => true;
926
- this.isEnabledEnablementState = () => true;
927
- this.isDisabledGlobally = () => false;
928
- this.setEnablement = unsupported;
929
- this.updateExtensionsEnablementsWhenWorkspaceTrustChanges = unsupported;
930
- }
931
- }, 0 );
932
- registerSingleton(ITunnelService, class TunnelService {
933
- constructor() {
934
- this.tunnels = Promise.resolve([]);
935
- this.canChangePrivacy = false;
936
- this.privacyOptions = [];
937
- this.onTunnelOpened = Event.None;
938
- this.onTunnelClosed = Event.None;
939
- this.canElevate = false;
940
- this.hasTunnelProvider = false;
941
- this.onAddedTunnelProvider = Event.None;
942
- this.canTunnel = () => false;
943
- this.openTunnel = unsupported;
944
- this.getExistingTunnel = async () => undefined;
945
- this.setEnvironmentTunnel = unsupported;
946
- this.closeTunnel = unsupported;
947
- this.setTunnelProvider = unsupported;
948
- this.setTunnelFeatures = unsupported;
949
- this.isPortPrivileged = () => false;
950
- }
951
- }, 0 );
952
- registerSingleton(IFilesConfigurationService, FilesConfigurationService, 0 );
953
- registerSingleton(IUntitledTextEditorService, class UntitledTextEditorService {
954
- constructor() {
955
- this.isUntitledWithAssociatedResource = () => false;
956
- this.onDidChangeDirty = Event.None;
957
- this.onDidChangeEncoding = Event.None;
958
- this.onDidChangeLabel = Event.None;
959
- this.onWillDispose = Event.None;
960
- this.create = unsupported;
961
- this.get = () => undefined;
962
- this.getValue = () => undefined;
963
- this.resolve = unsupported;
964
- }
965
- }, 0 );
966
- registerSingleton(IWorkingCopyBackupService, InMemoryWorkingCopyBackupService, 0 );
967
- registerSingleton(IWorkingCopyService, WorkingCopyService, 0 );
968
- registerSingleton(IDecorationsService, DecorationsService, 0 );
969
- registerSingleton(IElevatedFileService, BrowserElevatedFileService, 0 );
970
- registerSingleton(IFileDialogService, class FileDialogService {
971
- constructor() {
972
- this.preferredHome = unsupported;
973
- this.defaultFilePath = unsupported;
974
- this.defaultFolderPath = unsupported;
975
- this.defaultWorkspacePath = unsupported;
976
- this.pickFileFolderAndOpen = unsupported;
977
- this.pickFileAndOpen = unsupported;
978
- this.pickFolderAndOpen = unsupported;
979
- this.pickWorkspaceAndOpen = unsupported;
980
- this.pickFileToSave = unsupported;
981
- this.showSaveDialog = unsupported;
982
- this.showSaveConfirm = unsupported;
983
- this.showOpenDialog = unsupported;
984
- }
985
- }, 0 );
986
- registerSingleton(IJSONEditingService, JSONEditingService, 1 );
987
- registerSingleton(IWorkspacesService, class WorkspacesService {
988
- constructor() {
989
- this.enterWorkspace = unsupported;
990
- this.createUntitledWorkspace = unsupported;
991
- this.deleteUntitledWorkspace = unsupported;
992
- this.getWorkspaceIdentifier = unsupported;
993
- this.onDidChangeRecentlyOpened = Event.None;
994
- this.addRecentlyOpened = unsupported;
995
- this.removeRecentlyOpened = unsupported;
996
- this.clearRecentlyOpened = unsupported;
997
- this.getRecentlyOpened = unsupported;
998
- this.getDirtyWorkspaces = unsupported;
999
- }
1000
- }, 1 );
1001
- registerSingleton(ITextEditorService, class TextEditorService {
1002
- constructor() {
1003
- this.createTextEditor = unsupported;
1004
- this.resolveTextEditor = unsupported;
1005
- }
1006
- }, 0 );
1007
- registerSingleton(IEditorResolverService, class EditorResolverService {
1008
- constructor() {
1009
- this.getAssociationsForResource = unsupported;
1010
- this.updateUserAssociations = unsupported;
1011
- this.onDidChangeEditorRegistrations = Event.None;
1012
- this.bufferChangeEvents = unsupported;
1013
- this.resolveEditor = unsupported;
1014
- this.getEditors = () => ([]);
1015
- }
1016
- registerEditor() {
1017
- return {
1018
- dispose: () => { }
1019
- };
1020
- }
1021
- }, 0 );
1022
- registerSingleton(IOutputService, OutputService, 1 );
1023
- registerSingleton(IOutputChannelModelService, OutputChannelModelService, 1 );
1024
- let SimpleExtensionResourceLoaderService = class SimpleExtensionResourceLoaderService extends AbstractExtensionResourceLoaderService {
1025
- constructor(fileService, storageService, productService, environmentService, configurationService) {
1026
- super(fileService, storageService, productService, environmentService, configurationService);
1027
- }
1028
- async readExtensionResource(uri) {
1029
- const result = await this._fileService.readFile(uri);
1030
- return ( result.value.toString());
1031
- }
1032
- };
1033
- SimpleExtensionResourceLoaderService = __decorate([
1034
- ( __param(0, IFileService)),
1035
- ( __param(1, IStorageService)),
1036
- ( __param(2, IProductService)),
1037
- ( __param(3, IEnvironmentService)),
1038
- ( __param(4, IConfigurationService))
1039
- ], SimpleExtensionResourceLoaderService);
1040
- registerSingleton(IExtensionResourceLoaderService, SimpleExtensionResourceLoaderService, 0 );
1041
- registerSingleton(IHoverService, class HoverService {
1042
- constructor() {
1043
- this.showAndFocusLastHover = unsupported;
1044
- this.showHover = unsupported;
1045
- this.hideHover = unsupported;
1046
- }
1047
- }, 0 );
1048
- registerSingleton(IExplorerService, class ExplorerService {
1049
- constructor() {
1050
- this.roots = [];
1051
- this.getContext = unsupported;
1052
- this.hasViewFocus = unsupported;
1053
- this.setEditable = unsupported;
1054
- this.getEditable = unsupported;
1055
- this.getEditableData = unsupported;
1056
- this.isEditable = unsupported;
1057
- this.findClosest = unsupported;
1058
- this.findClosestRoot = unsupported;
1059
- this.refresh = unsupported;
1060
- this.setToCopy = unsupported;
1061
- this.isCut = unsupported;
1062
- this.applyBulkEdit = unsupported;
1063
- this.select = unsupported;
1064
- this.registerView = unsupported;
1065
- }
1066
- get sortOrderConfiguration() { return unsupported(); }
1067
- }, 1 );
1068
- registerSingleton(IExtensionStorageService, ExtensionStorageService, 1 );
1069
- registerSingleton(ILanguagePackService, class LanguagePackService {
1070
- async getAvailableLanguages() {
1071
- return [];
1072
- }
1073
- async getInstalledLanguages() {
1074
- return [];
1075
- }
1076
- async getBuiltInExtensionTranslationsUri(id, language) {
1077
- const uri = getBuiltInExtensionTranslationsUris(language)?.[id];
1078
- return uri != null ? ( URI.parse(uri)) : undefined;
1079
- }
1080
- }, 1 );
1081
- registerSingleton(ITreeViewsDnDService, TreeViewsDnDService, 1 );
1082
- registerSingleton(ITreeViewsService, TreeviewsService, 1 );
1083
- registerSingleton(IBreadcrumbsService, class BreadcrumbsService {
1084
- constructor() {
1085
- this.register = unsupported;
1086
- this.getWidget = () => undefined;
1087
- }
1088
- }, 0 );
1089
- registerSingleton(IOutlineService, class OutlineService {
1090
- constructor() {
1091
- this.onDidChange = Event.None;
1092
- this.canCreateOutline = () => false;
1093
- this.createOutline = async () => undefined;
1094
- this.registerOutlineCreator = unsupported;
1095
- }
1096
- }, 0 );
1097
- registerSingleton(IUpdateService, class UpdateService {
1098
- constructor() {
1099
- this.onStateChange = Event.None;
1100
- this.state = State.Uninitialized;
1101
- this.checkForUpdates = unsupported;
1102
- this.downloadUpdate = unsupported;
1103
- this.applyUpdate = unsupported;
1104
- this.quitAndInstall = unsupported;
1105
- this.isLatestVersion = unsupported;
1106
- this._applySpecificUpdate = unsupported;
1107
- }
1108
- }, 0 );
1109
- registerSingleton(IStatusbarService, class StatusbarService {
1110
- constructor() {
1111
- this.onDidChangeEntryVisibility = Event.None;
1112
- this.addEntry = () => ({
1113
- dispose: () => { },
1114
- update: () => { }
1115
- });
1116
- this.isEntryVisible = () => false;
1117
- this.updateEntryVisibility = () => { };
1118
- this.focus = () => { };
1119
- this.focusNextEntry = () => { };
1120
- this.focusPreviousEntry = () => { };
1121
- this.isEntryFocused = () => false;
1122
- this.overrideStyle = () => Disposable.None;
1123
- }
1124
- }, 0 );
1125
- registerSingleton(IExtensionGalleryService, class ExtensionGalleryService {
1126
- constructor() {
1127
- this.isEnabled = () => false;
1128
- this.query = unsupported;
1129
- this.getExtensions = unsupported;
1130
- this.isExtensionCompatible = unsupported;
1131
- this.getCompatibleExtension = unsupported;
1132
- this.getAllCompatibleVersions = unsupported;
1133
- this.download = unsupported;
1134
- this.downloadSignatureArchive = unsupported;
1135
- this.reportStatistic = unsupported;
1136
- this.getReadme = unsupported;
1137
- this.getManifest = unsupported;
1138
- this.getChangelog = unsupported;
1139
- this.getCoreTranslation = unsupported;
1140
- this.getExtensionsControlManifest = unsupported;
1141
- }
1142
- }, 0 );
1143
- registerSingleton(ITerminalService, class TerminalService {
1144
- constructor() {
1145
- this.onInstanceEvent = unsupported;
1146
- this.onInstanceCapabilityEvent = unsupported;
1147
- this.onDidChangeSelection = Event.None;
1148
- this.detachedXterms = [];
1149
- this.restoredGroupCount = 0;
1150
- this.createDetachedXterm = unsupported;
1151
- this.instances = [];
1152
- this.revealActiveTerminal = unsupported;
1153
- this.isProcessSupportRegistered = false;
1154
- this.connectionState = 1 ;
1155
- this.defaultLocation = TerminalLocation.Panel;
1156
- this.onDidChangeActiveGroup = Event.None;
1157
- this.onDidDisposeGroup = Event.None;
1158
- this.onDidCreateInstance = Event.None;
1159
- this.onDidReceiveProcessId = Event.None;
1160
- this.onDidChangeInstanceDimensions = Event.None;
1161
- this.onDidMaximumDimensionsChange = Event.None;
1162
- this.onDidRequestStartExtensionTerminal = Event.None;
1163
- this.onDidChangeInstanceTitle = Event.None;
1164
- this.onDidChangeInstanceIcon = Event.None;
1165
- this.onDidChangeInstanceColor = Event.None;
1166
- this.onDidChangeInstancePrimaryStatus = Event.None;
1167
- this.onDidInputInstanceData = Event.None;
1168
- this.onDidRegisterProcessSupport = Event.None;
1169
- this.onDidChangeConnectionState = Event.None;
1170
- this.createTerminal = unsupported;
1171
- this.getInstanceFromId = unsupported;
1172
- this.getInstanceFromIndex = unsupported;
1173
- this.getReconnectedTerminals = unsupported;
1174
- this.getActiveOrCreateInstance = unsupported;
1175
- this.moveToEditor = unsupported;
1176
- this.moveToTerminalView = unsupported;
1177
- this.getPrimaryBackend = unsupported;
1178
- this.refreshActiveGroup = unsupported;
1179
- this.registerProcessSupport = () => { };
1180
- this.showProfileQuickPick = unsupported;
1181
- this.setContainers = unsupported;
1182
- this.requestStartExtensionTerminal = unsupported;
1183
- this.isAttachedToTerminal = unsupported;
1184
- this.getEditableData = unsupported;
1185
- this.setEditable = unsupported;
1186
- this.isEditable = unsupported;
1187
- this.safeDisposeTerminal = unsupported;
1188
- this.getDefaultInstanceHost = unsupported;
1189
- this.getInstanceHost = unsupported;
1190
- this.resolveLocation = unsupported;
1191
- this.setNativeDelegate = unsupported;
1192
- this.toggleEscapeSequenceLogging = unsupported;
1193
- this.getEditingTerminal = unsupported;
1194
- this.setEditingTerminal = unsupported;
1195
- this.activeInstance = undefined;
1196
- this.onDidDisposeInstance = Event.None;
1197
- this.onDidFocusInstance = Event.None;
1198
- this.onDidChangeActiveInstance = Event.None;
1199
- this.onDidChangeInstances = Event.None;
1200
- this.onDidChangeInstanceCapability = Event.None;
1201
- this.setActiveInstance = unsupported;
1202
- this.focusActiveInstance = unsupported;
1203
- this.getInstanceFromResource = unsupported;
1204
- }
1205
- async createDetachedTerminal() {
1206
- unsupported();
1207
- }
1208
- get whenConnected() {
1209
- return (async () => {
1210
- unsupported();
1211
- })();
1212
- }
1213
- get configHelper() {
1214
- return unsupported();
1215
- }
1216
- }, 1 );
1217
- registerSingleton(ITerminalEditorService, class TerminalEditorService {
1218
- constructor() {
1219
- this.instances = [];
1220
- this.openEditor = unsupported;
1221
- this.detachActiveEditorInstance = unsupported;
1222
- this.detachInstance = unsupported;
1223
- this.splitInstance = unsupported;
1224
- this.revealActiveEditor = unsupported;
1225
- this.resolveResource = unsupported;
1226
- this.reviveInput = unsupported;
1227
- this.getInputFromResource = unsupported;
1228
- this.activeInstance = undefined;
1229
- this.onDidDisposeInstance = Event.None;
1230
- this.onDidFocusInstance = Event.None;
1231
- this.onDidChangeActiveInstance = Event.None;
1232
- this.onDidChangeInstances = Event.None;
1233
- this.onDidChangeInstanceCapability = Event.None;
1234
- this.setActiveInstance = unsupported;
1235
- this.focusActiveInstance = unsupported;
1236
- this.getInstanceFromResource = unsupported;
1237
- }
1238
- }, 1 );
1239
- registerSingleton(ITerminalGroupService, class TerminalGroupService {
1240
- constructor() {
1241
- this.lastAccessedMenu = 'inline-tab';
1242
- this.instances = [];
1243
- this.groups = [];
1244
- this.activeGroup = undefined;
1245
- this.activeGroupIndex = 0;
1246
- this.onDidChangeActiveGroup = Event.None;
1247
- this.onDidDisposeGroup = Event.None;
1248
- this.onDidChangeGroups = Event.None;
1249
- this.onDidShow = Event.None;
1250
- this.onDidChangePanelOrientation = Event.None;
1251
- this.createGroup = unsupported;
1252
- this.getGroupForInstance = unsupported;
1253
- this.moveGroup = unsupported;
1254
- this.moveGroupToEnd = unsupported;
1255
- this.moveInstance = unsupported;
1256
- this.unsplitInstance = unsupported;
1257
- this.joinInstances = unsupported;
1258
- this.instanceIsSplit = unsupported;
1259
- this.getGroupLabels = unsupported;
1260
- this.setActiveGroupByIndex = unsupported;
1261
- this.setActiveGroupToNext = unsupported;
1262
- this.setActiveGroupToPrevious = unsupported;
1263
- this.setActiveInstanceByIndex = unsupported;
1264
- this.setContainer = unsupported;
1265
- this.showPanel = unsupported;
1266
- this.hidePanel = unsupported;
1267
- this.focusTabs = unsupported;
1268
- this.focusHover = unsupported;
1269
- this.showTabs = unsupported;
1270
- this.updateVisibility = unsupported;
1271
- this.onDidDisposeInstance = Event.None;
1272
- this.onDidFocusInstance = Event.None;
1273
- this.onDidChangeActiveInstance = Event.None;
1274
- this.onDidChangeInstances = Event.None;
1275
- this.onDidChangeInstanceCapability = Event.None;
1276
- this.setActiveInstance = unsupported;
1277
- this.focusActiveInstance = unsupported;
1278
- this.getInstanceFromResource = unsupported;
1279
- }
1280
- }, 1 );
1281
- registerSingleton(ITerminalInstanceService, class TerminalInstanceService {
1282
- constructor() {
1283
- this.getRegisteredBackends = () => ( [].values());
1284
- this.onDidCreateInstance = Event.None;
1285
- this.convertProfileToShellLaunchConfig = unsupported;
1286
- this.createInstance = unsupported;
1287
- this.getBackend = unsupported;
1288
- this.didRegisterBackend = unsupported;
1289
- }
1290
- }, 1 );
1291
- registerSingleton(ITerminalProfileService, class TerminalProfileService {
1292
- constructor() {
1293
- this.availableProfiles = [];
1294
- this.contributedProfiles = [];
1295
- this.profilesReady = Promise.resolve();
1296
- this.getPlatformKey = unsupported;
1297
- this.refreshAvailableProfiles = unsupported;
1298
- this.getDefaultProfileName = () => undefined;
1299
- this.getDefaultProfile = () => undefined;
1300
- this.onDidChangeAvailableProfiles = Event.None;
1301
- this.getContributedDefaultProfile = unsupported;
1302
- this.registerContributedProfile = unsupported;
1303
- this.getContributedProfileProvider = unsupported;
1304
- this.registerTerminalProfileProvider = unsupported;
1305
- }
1306
- }, 1 );
1307
- registerSingleton(ITerminalLogService, class TerminalLogService {
1308
- constructor() {
1309
- this.onDidChangeLogLevel = Event.None;
1310
- this.getLevel = unsupported;
1311
- this.setLevel = unsupported;
1312
- this.trace = unsupported;
1313
- this.debug = unsupported;
1314
- this.info = unsupported;
1315
- this.warn = unsupported;
1316
- this.error = unsupported;
1317
- this.flush = unsupported;
1318
- this.dispose = unsupported;
1319
- }
1320
- }, 1 );
1321
- registerSingleton(ITerminalLinkProviderService, class TerminalLinkProviderService {
1322
- constructor() {
1323
- this.linkProviders = new Set([]);
1324
- this.onDidAddLinkProvider = Event.None;
1325
- this.onDidRemoveLinkProvider = Event.None;
1326
- this.registerLinkProvider = unsupported;
1327
- }
1328
- }, 1 );
1329
- registerSingleton(ITerminalContributionService, class TerminalContributionService {
1330
- constructor() {
1331
- this.terminalProfiles = [];
1332
- }
1333
- }, 1 );
1334
- registerSingleton(ITerminalProfileResolverService, class TerminalProfileResolverService {
1335
- constructor() {
1336
- this.resolveIcon = unsupported;
1337
- this.resolveShellLaunchConfig = unsupported;
1338
- this.getDefaultProfile = async () => ({
1339
- profileName: 'bash',
1340
- path: '/bin/bash',
1341
- isDefault: true
1342
- });
1343
- this.getDefaultShell = unsupported;
1344
- this.getDefaultShellArgs = unsupported;
1345
- this.getDefaultIcon = unsupported;
1346
- this.getEnvironment = unsupported;
1347
- this.createProfileFromShellAndShellArgs = unsupported;
1348
- }
1349
- }, 1 );
1350
- registerSingleton(IEnvironmentVariableService, class EnvironmentVariableService {
1351
- constructor() {
1352
- this.collections = new Map();
1353
- this.onDidChangeCollections = Event.None;
1354
- this.set = unsupported;
1355
- this.delete = unsupported;
1356
- }
1357
- get mergedCollection() {
1358
- return unsupported();
1359
- }
1360
- }, 1 );
1361
- registerSingleton(ITerminalQuickFixService, class TerminalQuickFixService {
1362
- constructor() {
1363
- this.onDidRegisterProvider = Event.None;
1364
- this.onDidRegisterCommandSelector = Event.None;
1365
- this.onDidUnregisterProvider = Event.None;
1366
- this.extensionQuickFixes = Promise.resolve([]);
1367
- this.providers = new Map();
1368
- this.registerQuickFixProvider = unsupported;
1369
- this.registerCommandSelector = unsupported;
1370
- }
1371
- }, 1 );
1372
- registerSingleton(IExtensionManagementService, class ExtensionManagementService {
1373
- constructor() {
1374
- this.toggleAppliationScope = async (extension) => extension;
1375
- this.installGalleryExtensions = unsupported;
1376
- this.onInstallExtension = Event.None;
1377
- this.onDidInstallExtensions = Event.None;
1378
- this.onUninstallExtension = Event.None;
1379
- this.onDidUninstallExtension = Event.None;
1380
- this.onDidUpdateExtensionMetadata = Event.None;
1381
- this.zip = unsupported;
1382
- this.unzip = unsupported;
1383
- this.getManifest = unsupported;
1384
- this.install = unsupported;
1385
- this.canInstall = unsupported;
1386
- this.installFromGallery = unsupported;
1387
- this.installFromLocation = unsupported;
1388
- this.installExtensionsFromProfile = unsupported;
1389
- this.uninstall = unsupported;
1390
- this.reinstallFromGallery = unsupported;
1391
- this.getInstalled = async () => [];
1392
- this.getExtensionsControlManifest = unsupported;
1393
- this.copyExtensions = unsupported;
1394
- this.updateMetadata = unsupported;
1395
- this.download = unsupported;
1396
- this.registerParticipant = unsupported;
1397
- this.getTargetPlatform = unsupported;
1398
- this.cleanUp = unsupported;
1399
- }
1400
- }, 1 );
1401
- registerSingleton(IUserDataSyncWorkbenchService, class UserDataSyncWorkbenchService {
1402
- constructor() {
1403
- this.enabled = false;
1404
- this.authenticationProviders = [];
1405
- this.all = [];
1406
- this.current = undefined;
1407
- this.accountStatus = "unavailable" ;
1408
- this.onDidChangeAccountStatus = Event.None;
1409
- this.turnOn = unsupported;
1410
- this.turnoff = unsupported;
1411
- this.signIn = unsupported;
1412
- this.resetSyncedData = unsupported;
1413
- this.showSyncActivity = unsupported;
1414
- this.syncNow = unsupported;
1415
- this.synchroniseUserDataSyncStoreType = unsupported;
1416
- this.showConflicts = unsupported;
1417
- this.accept = unsupported;
1418
- this.getAllLogResources = unsupported;
1419
- this.downloadSyncActivity = unsupported;
1420
- }
1421
- }, 1 );
1422
- registerSingleton(IUserDataSyncEnablementService, class UserDataSyncEnablementService {
1423
- constructor() {
1424
- this.onDidChangeEnablement = Event.None;
1425
- this.isEnabled = () => false;
1426
- this.canToggleEnablement = () => false;
1427
- this.setEnablement = unsupported;
1428
- this.onDidChangeResourceEnablement = Event.None;
1429
- this.isResourceEnabled = () => false;
1430
- this.setResourceEnablement = unsupported;
1431
- this.getResourceSyncStateVersion = () => undefined;
1432
- }
1433
- }, 1 );
1434
- registerSingleton(IKeybindingEditingService, class KeybindingEditingService {
1435
- constructor() {
1436
- this.addKeybinding = unsupported;
1437
- this.editKeybinding = unsupported;
1438
- this.removeKeybinding = unsupported;
1439
- this.resetKeybinding = unsupported;
1440
- }
1441
- }, 1 );
1442
- registerSingleton(IPreferencesSearchService, class PreferencesSearchService {
1443
- constructor() {
1444
- this.getLocalSearchProvider = unsupported;
1445
- this.getRemoteSearchProvider = unsupported;
1446
- }
1447
- }, 1 );
1448
- registerSingleton(INotebookService, class NotebookService {
1449
- constructor() {
1450
- this.canResolve = async () => false;
1451
- this.onAddViewType = Event.None;
1452
- this.onWillRemoveViewType = Event.None;
1453
- this.onDidChangeOutputRenderers = Event.None;
1454
- this.onWillAddNotebookDocument = Event.None;
1455
- this.onDidAddNotebookDocument = Event.None;
1456
- this.onWillRemoveNotebookDocument = Event.None;
1457
- this.onDidRemoveNotebookDocument = Event.None;
1458
- this.registerNotebookSerializer = unsupported;
1459
- this.withNotebookDataProvider = unsupported;
1460
- this.getOutputMimeTypeInfo = unsupported;
1461
- this.getViewTypeProvider = () => undefined;
1462
- this.getRendererInfo = () => undefined;
1463
- this.getRenderers = () => [];
1464
- this.getStaticPreloads = unsupported;
1465
- this.updateMimePreferredRenderer = unsupported;
1466
- this.saveMimeDisplayOrder = unsupported;
1467
- this.createNotebookTextModel = unsupported;
1468
- this.getNotebookTextModel = () => undefined;
1469
- this.getNotebookTextModels = unsupported;
1470
- this.listNotebookDocuments = () => [];
1471
- this.registerContributedNotebookType = unsupported;
1472
- this.getContributedNotebookType = unsupported;
1473
- this.getContributedNotebookTypes = () => [];
1474
- this.getNotebookProviderResourceRoots = () => [];
1475
- this.setToCopy = unsupported;
1476
- this.getToCopy = unsupported;
1477
- this.clearEditorCache = unsupported;
1478
- }
1479
- }, 1 );
1480
- registerSingleton(IReplaceService, class ReplaceService {
1481
- constructor() {
1482
- this.replace = unsupported;
1483
- this.openReplacePreview = unsupported;
1484
- this.updateReplacePreview = unsupported;
1485
- }
1486
- }, 1 );
1487
- registerSingleton(ISearchHistoryService, class SearchHistoryService {
1488
- constructor() {
1489
- this.onDidClearHistory = Event.None;
1490
- this.clearHistory = unsupported;
1491
- this.load = unsupported;
1492
- this.save = unsupported;
1493
- }
1494
- }, 1 );
1495
- registerSingleton(INotebookEditorService, class NotebookEditorService {
1496
- constructor() {
1497
- this.retrieveWidget = unsupported;
1498
- this.retrieveExistingWidgetFromURI = () => undefined;
1499
- this.retrieveAllExistingWidgets = () => [];
1500
- this.onDidAddNotebookEditor = Event.None;
1501
- this.onDidRemoveNotebookEditor = Event.None;
1502
- this.addNotebookEditor = unsupported;
1503
- this.removeNotebookEditor = unsupported;
1504
- this.getNotebookEditor = () => undefined;
1505
- this.listNotebookEditors = () => [];
1506
- }
1507
- }, 1 );
1508
- registerSingleton(ISearchViewModelWorkbenchService, class SearchWorkbenchService {
1509
- get searchModel() {
1510
- return unsupported();
1511
- }
1512
- }, 1 );
1513
- registerSingleton(INotebookEditorModelResolverService, class NotebookEditorModelResolverService {
1514
- constructor() {
1515
- this.onDidSaveNotebook = Event.None;
1516
- this.onDidChangeDirty = Event.None;
1517
- this.onWillFailWithConflict = Event.None;
1518
- this.isDirty = unsupported;
1519
- this.resolve = unsupported;
1520
- }
1521
- }, 1 );
1522
- registerSingleton(IWorkingCopyEditorService, WorkingCopyEditorService, 1 );
1523
- registerSingleton(IUserActivityService, UserActivityService, 1 );
1524
- registerSingleton(ICanonicalUriService, CanonicalUriService, 1 );
1525
- registerSingleton(IExtensionStatusBarItemService, ExtensionStatusBarItemService, 1 );
1526
- registerSingleton(IWorkbenchAssignmentService, class WorkbenchAssignmentService {
1527
- constructor() {
1528
- this.getCurrentExperiments = async () => [];
1529
- this.getTreatment = async () => undefined;
1530
- }
1531
- }, 1 );
1532
- registerSingleton(IChatService, class ChatService {
1533
- constructor() {
1534
- this.transferredSessionData = undefined;
1535
- this.onDidSubmitSlashCommand = Event.None;
1536
- this.getSessionId = () => undefined;
1537
- this.transferredSessionId = undefined;
1538
- this.transferChatSession = unsupported;
1539
- this.registerProvider = unsupported;
1540
- this.registerSlashCommandProvider = unsupported;
1541
- this.getProviderInfos = () => [];
1542
- this.startSession = unsupported;
1543
- this.getSession = () => undefined;
1544
- this.getOrRestoreSession = () => undefined;
1545
- this.loadSessionFromContent = () => undefined;
1546
- this.sendRequest = unsupported;
1547
- this.removeRequest = unsupported;
1548
- this.cancelCurrentRequestForSession = unsupported;
1549
- this.getSlashCommands = unsupported;
1550
- this.clearSession = unsupported;
1551
- this.addRequest = unsupported;
1552
- this.addCompleteRequest = unsupported;
1553
- this.sendRequestToProvider = unsupported;
1554
- this.getHistory = () => [];
1555
- this.removeHistoryEntry = unsupported;
1556
- this.onDidPerformUserAction = Event.None;
1557
- this.notifyUserAction = unsupported;
1558
- }
1559
- }, 1 );
1560
- registerSingleton(IQuickChatService, class QuickChatService {
1561
- constructor() {
1562
- this.onDidClose = Event.None;
1563
- this.enabled = false;
1564
- this.toggle = unsupported;
1565
- this.focus = unsupported;
1566
- this.open = unsupported;
1567
- this.close = unsupported;
1568
- this.openInChatView = unsupported;
1569
- }
1570
- }, 1 );
1571
- registerSingleton(IChatAgentService, class QuickChatService {
1572
- constructor() {
1573
- this._serviceBrand = undefined;
1574
- this.onDidChangeAgents = Event.None;
1575
- this.registerAgentData = unsupported;
1576
- this.registerAgentCallback = unsupported;
1577
- this.registerAgent = unsupported;
1578
- this.invokeAgent = unsupported;
1579
- this.getAgents = unsupported;
1580
- this.getAgent = unsupported;
1581
- this.hasAgent = unsupported;
1582
- }
1583
- }, 1 );
1584
- registerSingleton(IEmbedderTerminalService, class EmbedderTerminalService {
1585
- constructor() {
1586
- this.onDidCreateTerminal = Event.None;
1587
- this.createTerminal = unsupported;
1588
- }
1589
- }, 1 );
1590
- registerSingleton(ICustomEditorService, class CustomEditorService {
1591
- constructor() {
1592
- this.getCustomEditor = unsupported;
1593
- this.getAllCustomEditors = unsupported;
1594
- this.getContributedCustomEditors = unsupported;
1595
- this.getUserConfiguredCustomEditors = unsupported;
1596
- this.registerCustomEditorCapabilities = unsupported;
1597
- this.getCustomEditorCapabilities = unsupported;
1598
- }
1599
- get models() {
1600
- return unsupported();
1601
- }
1602
- }, 1 );
1603
- registerSingleton(IWebviewService, class WebviewService {
1604
- constructor() {
1605
- this.webviews = [];
1606
- this.onDidChangeActiveWebview = Event.None;
1607
- this.createWebviewElement = unsupported;
1608
- this.createWebviewOverlay = unsupported;
1609
- }
1610
- }, 1 );
1611
- registerSingleton(IWebviewViewService, class WebviewService {
1612
- constructor() {
1613
- this.onNewResolverRegistered = Event.None;
1614
- this.register = unsupported;
1615
- this.resolve = unsupported;
1616
- }
1617
- }, 1 );
1618
- registerSingleton(IWebviewWorkbenchService, class WebviewWorkbenchService {
1619
- constructor() {
1620
- this.onDidChangeActiveWebviewEditor = Event.None;
1621
- this.openWebview = unsupported;
1622
- this.openRevivedWebview = unsupported;
1623
- this.revealWebview = unsupported;
1624
- this.registerResolver = () => Disposable.None;
1625
- this.shouldPersist = unsupported;
1626
- this.resolveWebview = unsupported;
1627
- }
1628
- get iconManager() {
1629
- return unsupported();
1630
- }
1631
- }, 1 );
1632
- registerSingleton(IEditorDropService, class EditorDropService {
1633
- constructor() {
1634
- this.createEditorDropTarget = unsupported;
1635
- }
1636
- }, 1 );
1637
- registerSingleton(IRemoteAuthorityResolverService, class RemoteAuthorityResolverService {
1638
- constructor() {
1639
- this.onDidChangeConnectionData = Event.None;
1640
- this.resolveAuthority = unsupported;
1641
- this.getConnectionData = unsupported;
1642
- this.getCanonicalURI = unsupported;
1643
- this._clearResolvedAuthority = unsupported;
1644
- this._setResolvedAuthority = unsupported;
1645
- this._setResolvedAuthorityError = unsupported;
1646
- this._setAuthorityConnectionToken = unsupported;
1647
- this._setCanonicalURIProvider = unsupported;
1648
- }
1649
- }, 1 );
1650
- registerSingleton(IExternalUriOpenerService, ExternalUriOpenerService, 1 );
1651
- registerSingleton(IAccessibleViewService, class AccessibleViewService {
1652
- constructor() {
1653
- this.showAccessibleViewHelp = unsupported;
1654
- this.goToSymbol = unsupported;
1655
- this.disableHint = unsupported;
1656
- this.next = unsupported;
1657
- this.previous = unsupported;
1658
- this.getOpenAriaHint = unsupported;
1659
- this.show = unsupported;
1660
- this.registerProvider = unsupported;
1661
- this.getPosition = unsupported;
1662
- this.setPosition = unsupported;
1663
- this.getLastPosition = unsupported;
1664
- }
1665
- }, 1 );
1666
- registerSingleton(IWorkbenchExtensionManagementService, class WorkbenchExtensionManagementService {
1667
- constructor() {
1668
- this.toggleAppliationScope = async (extension) => extension;
1669
- this.onInstallExtension = Event.None;
1670
- this.onDidInstallExtensions = Event.None;
1671
- this.onUninstallExtension = Event.None;
1672
- this.onDidUninstallExtension = Event.None;
1673
- this.onDidChangeProfile = Event.None;
1674
- this.installVSIX = unsupported;
1675
- this.installFromLocation = unsupported;
1676
- this.updateFromGallery = unsupported;
1677
- this.onDidUpdateExtensionMetadata = Event.None;
1678
- this.zip = unsupported;
1679
- this.unzip = unsupported;
1680
- this.getManifest = unsupported;
1681
- this.install = unsupported;
1682
- this.canInstall = unsupported;
1683
- this.installFromGallery = unsupported;
1684
- this.installGalleryExtensions = unsupported;
1685
- this.installExtensionsFromProfile = unsupported;
1686
- this.uninstall = unsupported;
1687
- this.reinstallFromGallery = unsupported;
1688
- this.getInstalled = unsupported;
1689
- this.getExtensionsControlManifest = unsupported;
1690
- this.copyExtensions = unsupported;
1691
- this.updateMetadata = unsupported;
1692
- this.download = unsupported;
1693
- this.registerParticipant = unsupported;
1694
- this.getTargetPlatform = unsupported;
1695
- this.cleanUp = unsupported;
1696
- }
1697
- }, 1 );
1698
- registerSingleton(IExtensionManifestPropertiesService, class ExtensionManifestPropertiesService {
1699
- constructor() {
1700
- this.prefersExecuteOnUI = unsupported;
1701
- this.prefersExecuteOnWorkspace = unsupported;
1702
- this.prefersExecuteOnWeb = unsupported;
1703
- this.canExecuteOnUI = unsupported;
1704
- this.canExecuteOnWorkspace = unsupported;
1705
- this.canExecuteOnWeb = unsupported;
1706
- this.getExtensionKind = unsupported;
1707
- this.getUserConfiguredExtensionKind = unsupported;
1708
- this.getExtensionUntrustedWorkspaceSupportType = unsupported;
1709
- this.getExtensionVirtualWorkspaceSupportType = unsupported;
1710
- }
1711
- }, 1 );
1712
- registerSingleton(IWorkspaceTrustEnablementService, class WorkspaceTrustEnablementService {
1713
- isWorkspaceTrustEnabled() {
1714
- return false;
1715
- }
1716
- }, 1 );
1717
- registerSingleton(IRemoteExtensionsScannerService, class RemoteExtensionsScannerService {
1718
- whenExtensionsReady() {
1719
- throw new Error('Method not implemented.');
1720
- }
1721
- async scanExtensions() {
1722
- return [];
1723
- }
1724
- async scanSingleExtension() {
1725
- return null;
1726
- }
1727
- }, 1 );
1728
- registerSingleton(IURLService, BrowserURLService, 1 );
1729
- registerSingleton(IRemoteSocketFactoryService, class RemoteSocketFactoryService {
1730
- constructor() {
1731
- this.register = unsupported;
1732
- this.connect = unsupported;
1733
- }
1734
- }, 1 );
1735
- registerSingleton(IQuickDiffService, class QuickDiffService {
1736
- constructor() {
1737
- this.onDidChangeQuickDiffProviders = Event.None;
1738
- this.addQuickDiffProvider = unsupported;
1739
- this.getQuickDiffs = unsupported;
1740
- }
1741
- }, 1 );
1742
- registerSingleton(ISCMService, class SCMService {
1743
- constructor() {
1744
- this.onDidAddRepository = Event.None;
1745
- this.onDidRemoveRepository = Event.None;
1746
- this.repositories = [];
1747
- this.repositoryCount = 0;
1748
- this.registerSCMProvider = unsupported;
1749
- this.getRepository = unsupported;
1750
- }
1751
- }, 1 );
1752
- registerSingleton(IDownloadService, class DownloadService {
1753
- constructor() {
1754
- this.download = unsupported;
1755
- }
1756
- }, 1 );
1757
- registerSingleton(IExtensionUrlHandler, class ExtensionUrlHandler {
1758
- constructor() {
1759
- this.registerExtensionHandler = unsupported;
1760
- this.unregisterExtensionHandler = unsupported;
1761
- }
1762
- }, 1 );
1763
- registerSingleton(ICommentService, class CommentService {
1764
- constructor() {
1765
- this.onDidSetResourceCommentInfos = Event.None;
1766
- this.onDidSetAllCommentThreads = Event.None;
1767
- this.onDidUpdateCommentThreads = Event.None;
1768
- this.onDidUpdateNotebookCommentThreads = Event.None;
1769
- this.onDidChangeActiveCommentThread = Event.None;
1770
- this.onDidChangeCurrentCommentThread = Event.None;
1771
- this.onDidUpdateCommentingRanges = Event.None;
1772
- this.onDidChangeActiveCommentingRange = Event.None;
1773
- this.onDidSetDataProvider = Event.None;
1774
- this.onDidDeleteDataProvider = Event.None;
1775
- this.onDidChangeCommentingEnabled = Event.None;
1776
- this.isCommentingEnabled = false;
1777
- this.setDocumentComments = unsupported;
1778
- this.setWorkspaceComments = unsupported;
1779
- this.removeWorkspaceComments = unsupported;
1780
- this.registerCommentController = unsupported;
1781
- this.unregisterCommentController = () => { };
1782
- this.getCommentController = unsupported;
1783
- this.createCommentThreadTemplate = unsupported;
1784
- this.updateCommentThreadTemplate = unsupported;
1785
- this.getCommentMenus = unsupported;
1786
- this.updateComments = unsupported;
1787
- this.updateNotebookComments = unsupported;
1788
- this.disposeCommentThread = unsupported;
1789
- this.getDocumentComments = unsupported;
1790
- this.getNotebookComments = unsupported;
1791
- this.updateCommentingRanges = unsupported;
1792
- this.hasReactionHandler = unsupported;
1793
- this.toggleReaction = unsupported;
1794
- this.setActiveCommentThread = unsupported;
1795
- this.setCurrentCommentThread = unsupported;
1796
- this.enableCommenting = unsupported;
1797
- this.registerContinueOnCommentProvider = unsupported;
1798
- this.removeContinueOnComment = unsupported;
1799
- }
1800
- }, 1 );
1801
- registerSingleton(INotebookCellStatusBarService, class NotebookCellStatusBarService {
1802
- constructor() {
1803
- this.onDidChangeProviders = Event.None;
1804
- this.onDidChangeItems = Event.None;
1805
- this.registerCellStatusBarItemProvider = unsupported;
1806
- this.getStatusBarItemsForCell = unsupported;
1807
- }
1808
- }, 1 );
1809
- registerSingleton(INotebookKernelService, class NotebookKernelService {
1810
- constructor() {
1811
- this.onDidAddKernel = Event.None;
1812
- this.onDidRemoveKernel = Event.None;
1813
- this.onDidChangeSelectedNotebooks = Event.None;
1814
- this.onDidChangeNotebookAffinity = Event.None;
1815
- this.registerKernel = unsupported;
1816
- this.getMatchingKernel = unsupported;
1817
- this.getSelectedOrSuggestedKernel = unsupported;
1818
- this.selectKernelForNotebook = unsupported;
1819
- this.preselectKernelForNotebook = unsupported;
1820
- this.updateKernelNotebookAffinity = unsupported;
1821
- this.onDidChangeKernelDetectionTasks = Event.None;
1822
- this.registerNotebookKernelDetectionTask = unsupported;
1823
- this.getKernelDetectionTasks = unsupported;
1824
- this.onDidChangeSourceActions = Event.None;
1825
- this.getSourceActions = unsupported;
1826
- this.getRunningSourceActions = unsupported;
1827
- this.registerKernelSourceActionProvider = unsupported;
1828
- this.getKernelSourceActions2 = unsupported;
1829
- }
1830
- }, 1 );
1831
- registerSingleton(INotebookRendererMessagingService, class NotebookRendererMessagingService {
1832
- constructor() {
1833
- this.onShouldPostMessage = Event.None;
1834
- this.prepare = unsupported;
1835
- this.getScoped = unsupported;
1836
- this.receiveMessage = unsupported;
1837
- }
1838
- }, 1 );
1839
- registerSingleton(IInteractiveDocumentService, class InteractiveDocumentService {
1840
- constructor() {
1841
- this.onWillAddInteractiveDocument = Event.None;
1842
- this.onWillRemoveInteractiveDocument = Event.None;
1843
- this.willCreateInteractiveDocument = unsupported;
1844
- this.willRemoveInteractiveDocument = unsupported;
1845
- }
1846
- }, 1 );
1847
- registerSingleton(IInlineChatService, class InlineChatService {
1848
- constructor() {
1849
- this.onDidChangeProviders = Event.None;
1850
- this.addProvider = unsupported;
1851
- this.getAllProvider = () => [];
1852
- }
1853
- }, 1 );
1854
- registerSingleton(IChatWidgetService, class ChatWidgetService {
1855
- constructor() {
1856
- this.getWidgetBySessionId = () => undefined;
1857
- this.lastFocusedWidget = undefined;
1858
- this.revealViewForProvider = unsupported;
1859
- this.getWidgetByInputUri = unsupported;
1860
- }
1861
- }, 1 );
1862
- registerSingleton(IRemoteExplorerService, class RemoteExplorerService {
1863
- constructor() {
1864
- this.onDidChangeTargetType = Event.None;
1865
- this.targetType = [];
1866
- this.onDidChangeEditable = Event.None;
1867
- this.setEditable = unsupported;
1868
- this.getEditableData = unsupported;
1869
- this.forward = unsupported;
1870
- this.close = unsupported;
1871
- this.setTunnelInformation = unsupported;
1872
- this.setCandidateFilter = unsupported;
1873
- this.onFoundNewCandidates = unsupported;
1874
- this.restore = unsupported;
1875
- this.enablePortsFeatures = unsupported;
1876
- this.onEnabledPortsFeatures = Event.None;
1877
- this.portsFeaturesEnabled = false;
1878
- this.namedProcesses = new Map();
1879
- }
1880
- get tunnelModel() {
1881
- return unsupported();
1882
- }
1883
- }, 1 );
1884
- registerSingleton(IAuthenticationService, class AuthenticationService {
1885
- constructor() {
1886
- this.isAuthenticationProviderRegistered = () => false;
1887
- this.getProviderIds = () => [];
1888
- this.registerAuthenticationProvider = unsupported;
1889
- this.unregisterAuthenticationProvider = unsupported;
1890
- this.isAccessAllowed = () => false;
1891
- this.updateAllowedExtension = unsupported;
1892
- this.updateSessionPreference = unsupported;
1893
- this.getSessionPreference = () => undefined;
1894
- this.removeSessionPreference = unsupported;
1895
- this.showGetSessionPrompt = unsupported;
1896
- this.selectSession = unsupported;
1897
- this.requestSessionAccess = unsupported;
1898
- this.completeSessionAccessRequest = unsupported;
1899
- this.requestNewSession = unsupported;
1900
- this.sessionsUpdate = unsupported;
1901
- this.onDidRegisterAuthenticationProvider = Event.None;
1902
- this.onDidUnregisterAuthenticationProvider = Event.None;
1903
- this.onDidChangeSessions = Event.None;
1904
- this.declaredProviders = [];
1905
- this.onDidChangeDeclaredProviders = Event.None;
1906
- this.getSessions = async () => [];
1907
- this.getLabel = unsupported;
1908
- this.supportsMultipleAccounts = () => false;
1909
- this.createSession = unsupported;
1910
- this.removeSession = unsupported;
1911
- this.manageTrustedExtensionsForAccount = unsupported;
1912
- this.removeAccountSessions = unsupported;
1913
- }
1914
- }, 1 );
1915
- registerSingleton(ITimelineService, class TimelineService {
1916
- constructor() {
1917
- this.onDidChangeProviders = Event.None;
1918
- this.onDidChangeTimeline = Event.None;
1919
- this.onDidChangeUri = Event.None;
1920
- this.registerTimelineProvider = unsupported;
1921
- this.unregisterTimelineProvider = unsupported;
1922
- this.getSources = () => [];
1923
- this.getTimeline = unsupported;
1924
- this.setUri = unsupported;
1925
- }
1926
- }, 1 );
1927
- registerSingleton(ITestService, class TestService {
1928
- constructor() {
1929
- this.onDidCancelTestRun = Event.None;
1930
- this.onWillProcessDiff = Event.None;
1931
- this.onDidProcessDiff = Event.None;
1932
- this.registerTestController = unsupported;
1933
- this.getTestController = () => undefined;
1934
- this.refreshTests = unsupported;
1935
- this.cancelRefreshTests = unsupported;
1936
- this.startContinuousRun = unsupported;
1937
- this.runTests = unsupported;
1938
- this.runResolvedTests = unsupported;
1939
- this.syncTests = unsupported;
1940
- this.cancelTestRun = unsupported;
1941
- this.publishDiff = unsupported;
1942
- }
1943
- get excluded() {
1944
- return unsupported();
1945
- }
1946
- get collection() {
1947
- return unsupported();
1948
- }
1949
- get showInlineOutput() {
1950
- return unsupported();
1951
- }
1952
- }, 1 );
1953
- registerSingleton(ISecretStorageService, class SecretStorageService {
1954
- constructor() {
1955
- this.onDidChangeSecret = Event.None;
1956
- this.type = 'in-memory';
1957
- this.get = async () => undefined;
1958
- this.set = unsupported;
1959
- this.delete = unsupported;
1960
- }
1961
- }, 1 );
1962
- registerSingleton(IShareService, class ShareService {
1963
- constructor() {
1964
- this.registerShareProvider = unsupported;
1965
- this.getShareActions = () => [];
1966
- this.provideShare = async () => undefined;
1967
- }
1968
- }, 1 );
1969
- registerSingleton(IUserDataProfileImportExportService, class UserDataProfileImportExportService {
1970
- constructor() {
1971
- this.createProfile = unsupported;
1972
- this.editProfile = unsupported;
1973
- this.registerProfileContentHandler = unsupported;
1974
- this.unregisterProfileContentHandler = unsupported;
1975
- this.exportProfile = unsupported;
1976
- this.importProfile = unsupported;
1977
- this.showProfileContents = unsupported;
1978
- this.createFromCurrentProfile = unsupported;
1979
- this.createTroubleshootProfile = unsupported;
1980
- this.setProfile = unsupported;
1981
- }
1982
- }, 1 );
1983
- registerSingleton(IWorkbenchIssueService, class WorkbenchIssueService {
1984
- constructor() {
1985
- this.openReporter = unsupported;
1986
- this.openProcessExplorer = unsupported;
1987
- this.registerIssueUriRequestHandler = unsupported;
1988
- }
1989
- }, 1 );
1990
- registerSingleton(ISCMViewService, class SCMViewService {
1991
- constructor() {
1992
- this.repositories = [];
1993
- this.onDidChangeRepositories = Event.None;
1994
- this.visibleRepositories = [];
1995
- this.onDidChangeVisibleRepositories = Event.None;
1996
- this.isVisible = () => false;
1997
- this.toggleVisibility = unsupported;
1998
- this.toggleSortKey = unsupported;
1999
- this.focusedRepository = undefined;
2000
- this.onDidFocusRepository = Event.None;
2001
- this.focus = unsupported;
2002
- }
2003
- get menus() {
2004
- return unsupported();
2005
- }
2006
- }, 1 );
2007
- registerSingleton(INotebookExecutionStateService, class NotebookExecutionStateService {
2008
- constructor() {
2009
- this.onDidChangeExecution = Event.None;
2010
- this.onDidChangeLastRunFailState = Event.None;
2011
- this.forceCancelNotebookExecutions = unsupported;
2012
- this.getCellExecutionsForNotebook = unsupported;
2013
- this.getCellExecutionsByHandleForNotebook = unsupported;
2014
- this.getCellExecution = unsupported;
2015
- this.createCellExecution = unsupported;
2016
- this.getExecution = unsupported;
2017
- this.createExecution = unsupported;
2018
- this.getLastFailedCellForNotebook = unsupported;
2019
- }
2020
- }, 1 );
2021
- registerSingleton(IChatContributionService, class ChatContributionService {
2022
- constructor() {
2023
- this.registeredProviders = [];
2024
- this.getViewIdForProvider = unsupported;
2025
- this.registerChatProvider = unsupported;
2026
- this.deregisterChatProvider = unsupported;
2027
- }
2028
- }, 1 );
2029
- registerSingleton(ITestProfileService, class TestProfileService {
2030
- constructor() {
2031
- this.onDidChange = Event.None;
2032
- this.addProfile = unsupported;
2033
- this.updateProfile = unsupported;
2034
- this.removeProfile = unsupported;
2035
- this.capabilitiesForTest = unsupported;
2036
- this.configure = unsupported;
2037
- this.all = () => [];
2038
- this.getGroupDefaultProfiles = () => [];
2039
- this.setGroupDefaultProfiles = unsupported;
2040
- this.getControllerProfiles = () => [];
2041
- }
2042
- }, 1 );
2043
- registerSingleton(IEncryptionService, class EncryptionService {
2044
- constructor() {
2045
- this.setUsePlainTextEncryption = unsupported;
2046
- this.getKeyStorageProvider = unsupported;
2047
- this.encrypt = unsupported;
2048
- this.decrypt = unsupported;
2049
- this.isEncryptionAvailable = unsupported;
2050
- }
2051
- }, 1 );
2052
- registerSingleton(ITestResultService, class TestResultService {
2053
- constructor() {
2054
- this.onResultsChanged = Event.None;
2055
- this.onTestChanged = Event.None;
2056
- this.results = [];
2057
- this.clear = unsupported;
2058
- this.createLiveResult = unsupported;
2059
- this.push = unsupported;
2060
- this.getResult = () => undefined;
2061
- this.getStateById = () => undefined;
2062
- }
2063
- }, 1 );
2064
- registerSingleton(IUserDataInitializationService, class UserDataInitializationService {
2065
- constructor() {
2066
- this.requiresInitialization = async () => false;
2067
- this.whenInitializationFinished = async () => { };
2068
- this.initializeRequiredResources = async () => { };
2069
- this.initializeInstalledExtensions = async () => { };
2070
- this.initializeOtherResources = async () => { };
2071
- }
2072
- }, 1 );
2073
- registerSingleton(IDiagnosticsService, NullDiagnosticsService, 1 );
2074
- registerSingleton(INotebookSearchService, class NotebookSearchService {
2075
- notebookSearch() {
2076
- return {
2077
- openFilesToScan: new ResourceSet(),
2078
- completeData: Promise.resolve({
2079
- results: [],
2080
- messages: []
2081
- }),
2082
- allScannedFiles: Promise.resolve(new ResourceSet())
2083
- };
2084
- }
2085
- }, 1 );
2086
- registerSingleton(IChatProviderService, class ChatProviderService {
2087
- constructor() {
2088
- this.registerChatResponseProvider = unsupported;
2089
- this.fetchChatResponse = unsupported;
2090
- }
2091
- }, 1 );
2092
- registerSingleton(IChatSlashCommandService, class ChatSlashCommandService {
2093
- constructor() {
2094
- this.onDidChangeCommands = unsupported;
2095
- this.registerSlashData = unsupported;
2096
- this.registerSlashCallback = unsupported;
2097
- this.registerSlashCommand = unsupported;
2098
- this.executeCommand = unsupported;
2099
- this.getCommands = unsupported;
2100
- this.hasCommand = unsupported;
2101
- }
2102
- }, 1 );
2103
- registerSingleton(IChatVariablesService, class ChatVariablesService {
2104
- constructor() {
2105
- this.registerVariable = unsupported;
2106
- this.getVariables = unsupported;
2107
- this.resolveVariables = unsupported;
2108
- this.hasVariable = unsupported;
2109
- }
2110
- }, 1 );
2111
- registerSingleton(IAiRelatedInformationService, class AiRelatedInformationService {
2112
- constructor() {
2113
- this.isEnabled = () => false;
2114
- this.getRelatedInformation = unsupported;
2115
- this.registerAiRelatedInformationProvider = unsupported;
2116
- }
2117
- }, 1 );
2118
- registerSingleton(IAiEmbeddingVectorService, class AiEmbeddingVectorService {
2119
- constructor() {
2120
- this.isEnabled = () => false;
2121
- this.getEmbeddingVector = unsupported;
2122
- this.registerAiEmbeddingVectorProvider = unsupported;
2123
- }
2124
- }, 1 );
2125
- registerSingleton(ISignService, (_a = class SignService {
2126
- async createNewMessage(value) {
2127
- const id = String(_a._nextId++);
2128
- return {
2129
- id,
2130
- data: value
2131
- };
2132
- }
2133
- async validate() {
2134
- return true;
2135
- }
2136
- async sign(value) {
2137
- return value;
2138
- }
2139
- },
2140
- _a._nextId = 1,
2141
- _a), 1 );