mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Merge pull request #170993 from microsoft/tyriar/170991
Add 3 terminal commands as hidden by default
This commit is contained in:
commit
666415c90c
|
@ -517,7 +517,46 @@ export function setupTerminalMenus(): void {
|
|||
ContextKeyExpr.or(TerminalContextKeys.webExtensionContributedProfile, TerminalContextKeys.processSupported)
|
||||
)
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
id: MenuId.ViewTitle,
|
||||
item: {
|
||||
command: {
|
||||
id: TerminalCommandId.Clear,
|
||||
title: localize('workbench.action.terminal.clearLong', "Clear Terminal"),
|
||||
icon: Codicon.clearAll
|
||||
},
|
||||
group: 'navigation',
|
||||
order: 4,
|
||||
isHiddenByDefault: true
|
||||
}
|
||||
},
|
||||
{
|
||||
id: MenuId.ViewTitle,
|
||||
item: {
|
||||
command: {
|
||||
id: TerminalCommandId.RunActiveFile,
|
||||
title: localize('workbench.action.terminal.runActiveFile', "Run Active File"),
|
||||
icon: Codicon.run
|
||||
},
|
||||
group: 'navigation',
|
||||
order: 5,
|
||||
isHiddenByDefault: true
|
||||
}
|
||||
},
|
||||
{
|
||||
id: MenuId.ViewTitle,
|
||||
item: {
|
||||
command: {
|
||||
id: TerminalCommandId.RunSelectedText,
|
||||
title: localize('workbench.action.terminal.runSelectedText', "Run Selected Text"),
|
||||
icon: Codicon.selection
|
||||
},
|
||||
group: 'navigation',
|
||||
order: 6,
|
||||
isHiddenByDefault: true
|
||||
}
|
||||
},
|
||||
]
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue