mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
@@ -503,6 +503,7 @@ export class VSCodeMenu {
|
||||
|
||||
let output = this.createMenuItem(nls.localize({ key: 'miToggleOutput', comment: ['&& denotes a mnemonic'] }, "Toggle &&Output"), 'workbench.action.output.toggleOutput');
|
||||
let debugConsole = this.createMenuItem(nls.localize({ key: 'miToggleDebugConsole', comment: ['&& denotes a mnemonic'] }, "Toggle De&&bug Console"), 'workbench.debug.action.toggleRepl');
|
||||
let integratedTerminal = this.createMenuItem(nls.localize({ key: 'miToggleIntegratedTerminal', comment: ['&& denotes a mnemonic'] }, "Toggle &&Integrated Terminal"), 'workbench.action.terminal.toggleTerminal');
|
||||
|
||||
let fullscreen = new MenuItem({ label: mnemonicLabel(nls.localize({ key: 'miToggleFullScreen', comment: ['&& denotes a mnemonic'] }, "Toggle &&Full Screen")), accelerator: this.getAccelerator('workbench.action.toggleFullScreen'), click: () => this.windowsManager.getLastActiveWindow().toggleFullScreen(), enabled: this.windowsManager.getWindowCount() > 0 });
|
||||
let toggleMenuBar = this.createMenuItem(nls.localize({ key: 'miToggleMenuBar', comment: ['&& denotes a mnemonic'] }, "Toggle Menu &&Bar"), 'workbench.action.toggleMenuBar');
|
||||
@@ -529,6 +530,7 @@ export class VSCodeMenu {
|
||||
__separator__(),
|
||||
output,
|
||||
debugConsole,
|
||||
integratedTerminal,
|
||||
__separator__(),
|
||||
fullscreen,
|
||||
platform.isWindows || platform.isLinux ? toggleMenuBar : void 0,
|
||||
|
||||
@@ -10,7 +10,7 @@ import {ITerminalService} from 'vs/workbench/parts/terminal/common/terminal';
|
||||
|
||||
export class ToggleTerminalAction extends Action {
|
||||
|
||||
public static ID = 'workbench.action.terminal.toggle';
|
||||
public static ID = 'workbench.action.terminal.toggleTerminal';
|
||||
public static LABEL = nls.localize('toggleTerminal', "Toggle Integrated Terminal");
|
||||
|
||||
constructor(
|
||||
|
||||
Reference in New Issue
Block a user