mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
Introduce ctrl+alt+o
keybinding to open remote menu (#173850)
* Introduce `shift+r` keybinding to open remote menu * Switch to `ctrl+alt+` (mirroring `ctrl+o` for open file/folder)
This commit is contained in:
parent
a987fee52e
commit
4aa26d05f6
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,8 @@ import { IPaneCompositePartService } from 'vs/workbench/services/panecomposite/b
|
|||
import { ViewContainerLocation } from 'vs/workbench/common/views';
|
||||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
||||
import { WorkbenchActionExecutedClassification, WorkbenchActionExecutedEvent } from 'vs/base/common/actions';
|
||||
import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';
|
||||
import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
|
||||
|
||||
type ActionGroup = [string, Array<MenuItemAction | SubmenuItemAction>];
|
||||
export class RemoteStatusIndicator extends Disposable implements IWorkbenchContribution {
|
||||
|
@ -112,6 +114,10 @@ export class RemoteStatusIndicator extends Disposable implements IWorkbenchContr
|
|||
category,
|
||||
title: { value: nls.localize('remote.showMenu', "Show Remote Menu"), original: 'Show Remote Menu' },
|
||||
f1: true,
|
||||
keybinding: {
|
||||
weight: KeybindingWeight.WorkbenchContrib,
|
||||
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.KeyO,
|
||||
}
|
||||
});
|
||||
}
|
||||
run = () => that.showRemoteMenu();
|
||||
|
|
Loading…
Reference in a new issue