提交 49d011e4 编写于 作者: B Benjamin Pasero

💄

上级 fc1816f7
......@@ -22,7 +22,6 @@ import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
import { IConfigurationService, ConfigurationTarget } from 'vs/platform/configuration/common/configuration';
import { CommandsRegistry, ICommandHandler } from 'vs/platform/commands/common/commands';
import { MenuRegistry, MenuId } from 'vs/platform/actions/common/actions';
import { INotificationService } from 'vs/platform/notification/common/notification';
export const CLOSE_SAVED_EDITORS_COMMAND_ID = 'workbench.action.closeUnmodifiedEditors';
export const CLOSE_EDITORS_IN_GROUP_COMMAND_ID = 'workbench.action.closeEditorsInGroup';
......@@ -273,13 +272,6 @@ function registerDiffEditorCommands(): void {
handler: accessor => toggleDiffSideBySide(accessor)
});
// TODO@Ben remove me after a while
CommandsRegistry.registerCommand('toggle.diff.editorMode', accessor => {
toggleDiffSideBySide(accessor);
accessor.get(INotificationService).warn(nls.localize('diffCommandDeprecation', "Command 'toggle.diff.editorMode' has been deprecated. Please use '{0}' instead.", TOGGLE_DIFF_SIDE_BY_SIDE));
});
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
command: {
id: TOGGLE_DIFF_SIDE_BY_SIDE,
......
......@@ -298,7 +298,7 @@ function createStorageService(payload: IWorkspaceInitializationPayload, environm
}
// Otherwise do a migration of previous workspace data if the DB does not exist yet
// TODO@Ben remove me after one milestone
// TODO@Ben remove me after some milestones
const workspaceStorageDBPath = join(workspaceStorageFolder, 'storage.db');
perf.mark('willCheckWorkspaceStorageExists');
return exists(workspaceStorageDBPath).then(exists => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册