Skip to content

Commit

Permalink
Align naming of detach/attach session commands
Browse files Browse the repository at this point in the history
Part of #118276
  • Loading branch information
Tyriar committed Jun 25, 2021
1 parent bd2e309 commit 60a5145
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/vs/workbench/contrib/terminal/browser/terminalActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -929,8 +929,8 @@ export function registerTerminalActions() {
registerAction2(class extends Action2 {
constructor() {
super({
id: TerminalCommandId.DetachProcess,
title: { value: localize('workbench.action.terminal.detachProcess', "Detach Process"), original: 'Detach Process' },
id: TerminalCommandId.DetachSession,
title: { value: localize('workbench.action.terminal.detachSession', "Detach Session"), original: 'Detach Session' },
f1: true,
category,
precondition: KEYBINDING_CONTEXT_TERMINAL_PROCESS_SUPPORTED
Expand All @@ -944,8 +944,8 @@ export function registerTerminalActions() {
registerAction2(class extends Action2 {
constructor() {
super({
id: TerminalCommandId.AttachToRemoteTerminal,
title: { value: localize('workbench.action.terminal.attachToRemote', "Attach to Session"), original: 'Attach to Session' },
id: TerminalCommandId.AttachToSession,
title: { value: localize('workbench.action.terminal.attachToSession', "Attach to Session"), original: 'Attach to Session' },
f1: true,
category,
precondition: KEYBINDING_CONTEXT_TERMINAL_PROCESS_SUPPORTED
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/terminal/common/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ export const enum TerminalCommandId {
NavigationModeFocusPrevious = 'workbench.action.terminal.navigationModeFocusPrevious',
ShowEnvironmentInformation = 'workbench.action.terminal.showEnvironmentInformation',
SearchWorkspace = 'workbench.action.terminal.searchWorkspace',
AttachToRemoteTerminal = 'workbench.action.terminal.attachToSession',
DetachProcess = 'workbench.action.terminal.detachProcess',
AttachToSession = 'workbench.action.terminal.attachToSession',
DetachSession = 'workbench.action.terminal.detachSession',
MoveToEditor = 'workbench.action.terminal.moveToEditor',
MoveToEditorInstance = 'workbench.action.terminal.moveToEditorInstance',
MoveToTerminalPanel = 'workbench.action.terminal.moveToTerminalPanel',
Expand Down

0 comments on commit 60a5145

Please sign in to comment.