mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Merge pull request #209033 from microsoft/tyriar/208996
Polish some terminal command names/metadata
This commit is contained in:
commit
614fcff3f5
|
@ -519,6 +519,9 @@ export function registerTerminalActions() {
|
||||||
registerActiveInstanceAction({
|
registerActiveInstanceAction({
|
||||||
id: TerminalCommandId.GoToRecentDirectory,
|
id: TerminalCommandId.GoToRecentDirectory,
|
||||||
title: localize2('workbench.action.terminal.goToRecentDirectory', 'Go to Recent Directory...'),
|
title: localize2('workbench.action.terminal.goToRecentDirectory', 'Go to Recent Directory...'),
|
||||||
|
metadata: {
|
||||||
|
description: localize2('goToRecentDirectory.metadata', 'Goes to a recent folder'),
|
||||||
|
},
|
||||||
precondition: sharedWhenClause.terminalAvailable,
|
precondition: sharedWhenClause.terminalAvailable,
|
||||||
keybinding: {
|
keybinding: {
|
||||||
primary: KeyMod.CtrlCmd | KeyCode.KeyG,
|
primary: KeyMod.CtrlCmd | KeyCode.KeyG,
|
||||||
|
@ -1243,7 +1246,7 @@ export function registerTerminalActions() {
|
||||||
|
|
||||||
registerTerminalAction({
|
registerTerminalAction({
|
||||||
id: TerminalCommandId.Join,
|
id: TerminalCommandId.Join,
|
||||||
title: localize2('workbench.action.terminal.join', 'Join Terminals'),
|
title: localize2('workbench.action.terminal.join', 'Join Terminals...'),
|
||||||
precondition: sharedWhenClause.terminalAvailable,
|
precondition: sharedWhenClause.terminalAvailable,
|
||||||
run: async (c, accessor) => {
|
run: async (c, accessor) => {
|
||||||
const themeService = accessor.get(IThemeService);
|
const themeService = accessor.get(IThemeService);
|
||||||
|
|
|
@ -126,6 +126,9 @@ registerActiveInstanceAction({
|
||||||
registerActiveInstanceAction({
|
registerActiveInstanceAction({
|
||||||
id: TerminalCommandId.OpenWebLink,
|
id: TerminalCommandId.OpenWebLink,
|
||||||
title: localize2('workbench.action.terminal.openLastUrlLink', 'Open Last URL Link'),
|
title: localize2('workbench.action.terminal.openLastUrlLink', 'Open Last URL Link'),
|
||||||
|
metadata: {
|
||||||
|
description: localize2('workbench.action.terminal.openLastUrlLink.description', 'Opens the last detected URL/URI link in the terminal')
|
||||||
|
},
|
||||||
f1: true,
|
f1: true,
|
||||||
category,
|
category,
|
||||||
precondition: TerminalContextKeys.terminalHasBeenCreated,
|
precondition: TerminalContextKeys.terminalHasBeenCreated,
|
||||||
|
|
Loading…
Reference in a new issue