Skip to content

Commit bfc94e4

Browse files
authored
debt - fix some action alias names to match (microsoft#90350)
1 parent 7ecb3a3 commit bfc94e4

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/vs/workbench/browser/parts/panel/panelActions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ function createPositionPanelActionConfig(id: string, alias: string, label: strin
150150
}
151151

152152
export const PositionPanelActionConfigs: PanelActionConfig<Position>[] = [
153-
createPositionPanelActionConfig(PositionPanelActionId.LEFT, 'View: Panel Position Left', nls.localize('positionPanelLeft', 'Move Panel Left'), Position.LEFT),
154-
createPositionPanelActionConfig(PositionPanelActionId.RIGHT, 'View: Panel Position Right', nls.localize('positionPanelRight', 'Move Panel Right'), Position.RIGHT),
155-
createPositionPanelActionConfig(PositionPanelActionId.BOTTOM, 'View: Panel Position Bottom', nls.localize('positionPanelBottom', 'Move Panel To Bottom'), Position.BOTTOM),
153+
createPositionPanelActionConfig(PositionPanelActionId.LEFT, 'View: Move Panel Left', nls.localize('positionPanelLeft', 'Move Panel Left'), Position.LEFT),
154+
createPositionPanelActionConfig(PositionPanelActionId.RIGHT, 'View: Move Panel Right', nls.localize('positionPanelRight', 'Move Panel Right'), Position.RIGHT),
155+
createPositionPanelActionConfig(PositionPanelActionId.BOTTOM, 'View: Move Panel To Bottom', nls.localize('positionPanelBottom', 'Move Panel To Bottom'), Position.BOTTOM),
156156
];
157157

158158
const positionByActionId = new Map(PositionPanelActionConfigs.map(config => [config.id, config.value]));

src/vs/workbench/contrib/debug/browser/debug.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ registry.registerWorkbenchAction(SyncActionDescriptor.create(StartAction, StartA
128128
registry.registerWorkbenchAction(SyncActionDescriptor.create(ConfigureAction, ConfigureAction.ID, ConfigureAction.LABEL), 'Debug: Open launch.json', debugCategory);
129129
registry.registerWorkbenchAction(SyncActionDescriptor.create(AddFunctionBreakpointAction, AddFunctionBreakpointAction.ID, AddFunctionBreakpointAction.LABEL), 'Debug: Add Function Breakpoint', debugCategory);
130130
registry.registerWorkbenchAction(SyncActionDescriptor.create(ReapplyBreakpointsAction, ReapplyBreakpointsAction.ID, ReapplyBreakpointsAction.LABEL), 'Debug: Reapply All Breakpoints', debugCategory);
131-
registry.registerWorkbenchAction(SyncActionDescriptor.create(RunAction, RunAction.ID, RunAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.F5, mac: { primary: KeyMod.WinCtrl | KeyCode.F5 } }), 'Debug: Start Without Debugging', debugCategory);
131+
registry.registerWorkbenchAction(SyncActionDescriptor.create(RunAction, RunAction.ID, RunAction.LABEL, { primary: KeyMod.CtrlCmd | KeyCode.F5, mac: { primary: KeyMod.WinCtrl | KeyCode.F5 } }), 'Debug: Run (Start Without Debugging)', debugCategory);
132132
registry.registerWorkbenchAction(SyncActionDescriptor.create(RemoveAllBreakpointsAction, RemoveAllBreakpointsAction.ID, RemoveAllBreakpointsAction.LABEL), 'Debug: Remove All Breakpoints', debugCategory);
133133
registry.registerWorkbenchAction(SyncActionDescriptor.create(EnableAllBreakpointsAction, EnableAllBreakpointsAction.ID, EnableAllBreakpointsAction.LABEL), 'Debug: Enable All Breakpoints', debugCategory);
134134
registry.registerWorkbenchAction(SyncActionDescriptor.create(DisableAllBreakpointsAction, DisableAllBreakpointsAction.ID, DisableAllBreakpointsAction.LABEL), 'Debug: Disable All Breakpoints', debugCategory);

src/vs/workbench/contrib/extensions/browser/extensionsActions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ export class ConfigureRecommendedExtensionsCommandsContributor extends Disposabl
19291929
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
19301930
command: {
19311931
id: ConfigureWorkspaceRecommendedExtensionsAction.ID,
1932-
title: { value: `${ExtensionsLabel}: ${ConfigureWorkspaceRecommendedExtensionsAction.LABEL}`, original: 'Extensions: Configure Recommended Extensions (Workspace)' },
1932+
title: { value: `${ExtensionsLabel}: ${ConfigureWorkspaceRecommendedExtensionsAction.LABEL}`, original: 'Configure Recommended Extensions (Workspace)' },
19331933
category: localize('extensions', "Extensions")
19341934
},
19351935
when: this.workspaceContextKey
@@ -1941,7 +1941,7 @@ export class ConfigureRecommendedExtensionsCommandsContributor extends Disposabl
19411941
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
19421942
command: {
19431943
id: ConfigureWorkspaceFolderRecommendedExtensionsAction.ID,
1944-
title: { value: `${ExtensionsLabel}: ${ConfigureWorkspaceFolderRecommendedExtensionsAction.LABEL}`, original: 'Extensions: Configure Recommended Extensions (Workspace Folder)' },
1944+
title: { value: `${ExtensionsLabel}: ${ConfigureWorkspaceFolderRecommendedExtensionsAction.LABEL}`, original: 'Configure Recommended Extensions (Workspace Folder)' },
19451945
category: localize('extensions', "Extensions")
19461946
},
19471947
when: this.workspaceFolderContextKey
@@ -1955,7 +1955,7 @@ export class ConfigureRecommendedExtensionsCommandsContributor extends Disposabl
19551955
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
19561956
command: {
19571957
id: AddToWorkspaceRecommendationsAction.ADD_ID,
1958-
title: { value: `${ExtensionsLabel}: ${AddToWorkspaceRecommendationsAction.ADD_LABEL}`, original: 'Extensions: Add to Recommended Extensions (Workspace)' },
1958+
title: { value: `${ExtensionsLabel}: ${AddToWorkspaceRecommendationsAction.ADD_LABEL}`, original: 'Add to Recommended Extensions (Workspace)' },
19591959
category: localize('extensions', "Extensions")
19601960
},
19611961
when: this.addToWorkspaceRecommendationsContextKey

src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ registry.registerWorkbenchAction(
174174
SyncActionDescriptor.create(OpenResultsInEditorAction, OpenResultsInEditorAction.ID, OpenResultsInEditorAction.LABEL,
175175
{ mac: { primary: KeyMod.CtrlCmd | KeyCode.Enter } },
176176
ContextKeyExpr.and(SearchConstants.HasSearchResults, SearchConstants.SearchViewFocusedKey, SearchEditorConstants.EnableSearchEditorPreview)),
177-
'Search: Open Results in Editor', category,
177+
'Search Editor: Open Results in Editor', category,
178178
ContextKeyExpr.and(SearchEditorConstants.EnableSearchEditorPreview));
179179

180180
registry.registerWorkbenchAction(
181181
SyncActionDescriptor.create(OpenSearchEditorAction, OpenSearchEditorAction.ID, OpenSearchEditorAction.LABEL),
182-
'Search: Open New Search Editor', category,
182+
'Search Editor: Open New Search Editor', category,
183183
ContextKeyExpr.and(SearchEditorConstants.EnableSearchEditorPreview));
184184
//#endregion

src/vs/workbench/services/extensions/common/extensionHostProcessManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ registerAction2(class MeasureExtHostLatencyAction extends Action2 {
393393
id: 'editor.action.measureExtHostLatency',
394394
title: {
395395
value: nls.localize('measureExtHostLatency', "Measure Extension Host Latency"),
396-
original: 'Developer: Measure Extension Host Latency'
396+
original: 'Measure Extension Host Latency'
397397
},
398398
category: nls.localize('developer', "Developer"),
399399
f1: true

0 commit comments

Comments
 (0)