@codingame/monaco-vscode-api 1.83.12 → 1.83.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +33 -9
- package/monaco-editor-treemending.patch +995 -955
- package/package.json +6 -6
- package/service-override/tools/editor.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +23 -2
- package/vscode/src/vs/platform/extensionResourceLoader/browser/extensionResourceLoaderService.js +0 -42
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +0 -397
package/missing-services.js
CHANGED
|
@@ -66,7 +66,6 @@ import { IElevatedFileService } from './vscode/src/vs/workbench/services/files/c
|
|
|
66
66
|
import { BrowserElevatedFileService } from './vscode/src/vs/workbench/services/files/browser/elevatedFileService.js';
|
|
67
67
|
import { IDecorationsService } from './vscode/src/vs/workbench/services/decorations/common/decorations.js';
|
|
68
68
|
import { RequestService } from './vscode/src/vs/platform/request/browser/requestService.js';
|
|
69
|
-
import { InMemoryWorkingCopyBackupService } from './vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js';
|
|
70
69
|
import { BrowserTextFileService } from './vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js';
|
|
71
70
|
import { DecorationsService } from './vscode/src/vs/workbench/services/decorations/browser/decorationsService.js';
|
|
72
71
|
import { UriIdentityService } from './vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js';
|
|
@@ -79,7 +78,6 @@ import { AbstractLifecycleService } from './vscode/src/vs/workbench/services/lif
|
|
|
79
78
|
import { IOutputService } from './vscode/src/vs/workbench/services/output/common/output.js';
|
|
80
79
|
import { IOutputChannelModelService, OutputChannelModelService } from './vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.js';
|
|
81
80
|
import { IExtensionResourceLoaderService } from './vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js';
|
|
82
|
-
import { ExtensionResourceLoaderService } from './vscode/src/vs/platform/extensionResourceLoader/browser/extensionResourceLoaderService.js';
|
|
83
81
|
import { IHoverService } from './vscode/src/vs/workbench/services/hover/browser/hover.js';
|
|
84
82
|
import { IExplorerService } from './vscode/src/vs/workbench/contrib/files/browser/files.js';
|
|
85
83
|
import { IExtensionStorageService, ExtensionStorageService } from './vscode/src/vs/platform/extensionManagement/common/extensionStorage.js';
|
|
@@ -178,8 +176,8 @@ import { IWorkspaceExtensionsConfigService } from './vscode/src/vs/workbench/ser
|
|
|
178
176
|
import { IRemoteUserDataProfilesService } from './vscode/src/vs/workbench/services/userDataProfile/common/remoteUserDataProfiles.js';
|
|
179
177
|
import { IExtensionBisectService } from './vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js';
|
|
180
178
|
import { IUserDataSyncAccountService } from './vscode/src/vs/platform/userDataSync/common/userDataSyncAccount.js';
|
|
181
|
-
import { unsupported } from './tools.js';
|
|
182
179
|
import { getBuiltInExtensionTranslationsUris } from './l10n.js';
|
|
180
|
+
import { unsupported } from './tools.js';
|
|
183
181
|
import { IFileDialogService } from './vscode/src/vs/platform/dialogs/common/dialogs.js';
|
|
184
182
|
var _a;
|
|
185
183
|
class NullLoggerService extends AbstractLoggerService {
|
|
@@ -333,10 +331,10 @@ class EmptyEditorGroup {
|
|
|
333
331
|
this.closeEditors = unsupported;
|
|
334
332
|
this.closeAllEditors = unsupported;
|
|
335
333
|
this.replaceEditors = unsupported;
|
|
336
|
-
this.pinEditor =
|
|
337
|
-
this.stickEditor =
|
|
338
|
-
this.unstickEditor =
|
|
339
|
-
this.lock =
|
|
334
|
+
this.pinEditor = () => { };
|
|
335
|
+
this.stickEditor = () => { };
|
|
336
|
+
this.unstickEditor = () => { };
|
|
337
|
+
this.lock = () => { };
|
|
340
338
|
this.isFirst = unsupported;
|
|
341
339
|
this.isLast = unsupported;
|
|
342
340
|
}
|
|
@@ -1065,7 +1063,26 @@ registerSingleton(IUntitledTextEditorService, class UntitledTextEditorService {
|
|
|
1065
1063
|
this.resolve = unsupported;
|
|
1066
1064
|
}
|
|
1067
1065
|
}, 0 );
|
|
1068
|
-
registerSingleton(IWorkingCopyBackupService,
|
|
1066
|
+
registerSingleton(IWorkingCopyBackupService, class WorkingCopyBackupService {
|
|
1067
|
+
async hasBackups() {
|
|
1068
|
+
return false;
|
|
1069
|
+
}
|
|
1070
|
+
hasBackupSync() {
|
|
1071
|
+
return false;
|
|
1072
|
+
}
|
|
1073
|
+
async getBackups() {
|
|
1074
|
+
return [];
|
|
1075
|
+
}
|
|
1076
|
+
async resolve() {
|
|
1077
|
+
return undefined;
|
|
1078
|
+
}
|
|
1079
|
+
async backup() {
|
|
1080
|
+
}
|
|
1081
|
+
async discardBackup() {
|
|
1082
|
+
}
|
|
1083
|
+
async discardBackups() {
|
|
1084
|
+
}
|
|
1085
|
+
}, 0 );
|
|
1069
1086
|
registerSingleton(IWorkingCopyService, WorkingCopyService, 0 );
|
|
1070
1087
|
registerSingleton(IDecorationsService, DecorationsService, 0 );
|
|
1071
1088
|
registerSingleton(IElevatedFileService, BrowserElevatedFileService, 0 );
|
|
@@ -1141,7 +1158,14 @@ registerSingleton(IOutputService, class OutputService {
|
|
|
1141
1158
|
}
|
|
1142
1159
|
}, 1 );
|
|
1143
1160
|
registerSingleton(IOutputChannelModelService, OutputChannelModelService, 1 );
|
|
1144
|
-
registerSingleton(IExtensionResourceLoaderService, ExtensionResourceLoaderService
|
|
1161
|
+
registerSingleton(IExtensionResourceLoaderService, class ExtensionResourceLoaderService {
|
|
1162
|
+
constructor() {
|
|
1163
|
+
this.readExtensionResource = unsupported;
|
|
1164
|
+
this.supportsExtensionGalleryResources = false;
|
|
1165
|
+
this.isExtensionGalleryResource = () => false;
|
|
1166
|
+
this.getExtensionGalleryResourceURL = unsupported;
|
|
1167
|
+
}
|
|
1168
|
+
}, 0 );
|
|
1145
1169
|
registerSingleton(IBuiltinExtensionsScannerService, class BuiltinExtensionsScannerService {
|
|
1146
1170
|
scanBuiltinExtensions() {
|
|
1147
1171
|
return Promise.resolve([]);
|