提交 057ed6f7 编写于 作者: S Sandeep Somavarapu

Update history actions

上级 44412716
...@@ -53,7 +53,7 @@ export class HistoryNavigationKeybindingsChangedContribution implements IWorkben ...@@ -53,7 +53,7 @@ export class HistoryNavigationKeybindingsChangedContribution implements IWorkben
if (!this.storageService.getBoolean(key, StorageScope.GLOBAL, false)) { if (!this.storageService.getBoolean(key, StorageScope.GLOBAL, false)) {
const keybindingsToRemove = this.keybindingService.getKeybindings().filter(keybinding => !keybinding.isDefault && this.previousCommands.indexOf(keybinding.command) !== -1); const keybindingsToRemove = this.keybindingService.getKeybindings().filter(keybinding => !keybinding.isDefault && this.previousCommands.indexOf(keybinding.command) !== -1);
if (keybindingsToRemove.length) { if (keybindingsToRemove.length) {
const message = localize('showDeprecatedWarningMessage', "History navigation commands have changed. Please update your keybindings to use following new commands: 'input.action.historyPrevious' and 'input.action.historyNext'"); const message = localize('showDeprecatedWarningMessage', "History navigation commands have changed. Please update your keybindings to use following new commands: 'history.showPrevious' and 'history.showNext'");
this.notificationService.prompt(Severity.Warning, message, [ this.notificationService.prompt(Severity.Warning, message, [
{ {
label: localize('Open Keybindings', "Open Keybindings File"), label: localize('Open Keybindings', "Open Keybindings File"),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册