Merge pull request #209033 from microsoft/tyriar/208996

Polish some terminal command names/metadata
This commit is contained in:
Daniel Imms 2024-03-28 10:05:26 -07:00 committed by GitHub
commit 614fcff3f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -519,6 +519,9 @@ export function registerTerminalActions() {
registerActiveInstanceAction({
id: TerminalCommandId.GoToRecentDirectory,
title: localize2('workbench.action.terminal.goToRecentDirectory', 'Go to Recent Directory...'),
metadata: {
description: localize2('goToRecentDirectory.metadata', 'Goes to a recent folder'),
},
precondition: sharedWhenClause.terminalAvailable,
keybinding: {
primary: KeyMod.CtrlCmd | KeyCode.KeyG,
@ -1243,7 +1246,7 @@ export function registerTerminalActions() {
registerTerminalAction({
id: TerminalCommandId.Join,
title: localize2('workbench.action.terminal.join', 'Join Terminals'),
title: localize2('workbench.action.terminal.join', 'Join Terminals...'),
precondition: sharedWhenClause.terminalAvailable,
run: async (c, accessor) => {
const themeService = accessor.get(IThemeService);

View file

@ -126,6 +126,9 @@ registerActiveInstanceAction({
registerActiveInstanceAction({
id: TerminalCommandId.OpenWebLink,
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,
category,
precondition: TerminalContextKeys.terminalHasBeenCreated,