Skip to content

Commit 48d4a6b

Browse files
author
Benjamin Pasero
committed
commands - show alias only if it differs
1 parent b679b96 commit 48d4a6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/platform/quickinput/browser/commandsQuickAccess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export abstract class AbstractCommandsQuickAccessProvider extends PickerQuickAcc
140140
commandPicks.push({
141141
...commandPick,
142142
ariaLabel,
143-
detail: this.options.showAlias ? commandPick.commandAlias : undefined,
143+
detail: this.options.showAlias && commandPick.commandAlias !== commandPick.label ? commandPick.commandAlias : undefined,
144144
keybinding,
145145
accept: async () => {
146146

0 commit comments

Comments
 (0)