Change:
Found while verifying
Yeah this has always been the case. I think it's due to registerAction vs registerCommand. Very confusing. We should investigate whether there's another way to get the commands, other than .
Take a look at this PR fixing this. Let me know if you have feedback for how the issue is solved.
Verification: Some commands are still not showing up since they register against the command registry without any description. This needs fixing at each command registration. But the fix makes sure certain commands start getting labels, like pressing <kbdCmd N</kbdto create a new untitled file.
as you mentioned some shortcut like + or + are still not visible - is there issue where that this shortcuts can be reported or progress regarding this fix tracked?

Discussion:
import { IUserDataProfileService } from 'vs/workbench/services/userDataProfile/common/userDataProfile'; import { IEditorService } from 'vs/workbench/services/editor/common/editorService'; import product from 'vs/platform/product/common/product'; <ins> import { CommandsRegistry } from 'vs/platform/commands/common/commands'; </ins> class InspectContextKeysAction extends Action2 {

} const keybinding = keybindingService.resolveKeyboardEvent(event); <del> const command = (this._isKbFound(shortcut) && shortcut.commandId) ? MenuRegistry.getCommand(shortcut.commandId) : null; </del> <ins> const commandDetails = (this._isKbFound(shortcut) && shortcut.commandId) ? this.getCommandDetails(shortcut.commandId) : undefined; </ins> <del> let commandAndGroupLabel = ''; </del> <ins> let commandAndGroupLabel = commandDetails?.title; </ins> let keyLabel: string | undefined | null = keybinding.getLabel(); <del> if (command) { commandAndGroupLabel = typeof command.title === 'string' ? command.title : command.title.value; if ((options.showCommandGroups ?? false) && command.category) { commandAndGroupLabel = `${typeof command.category === 'string' ? command.category : command.category.value}: ${commandAndGroupLabel} `; </del> <ins> if (commandDetails) { if ((options.showCommandGroups ?? false) && commandDetails.category) { commandAndGroupLabel = `${commandDetails.category}: ${commandAndGroupLabel} `; </ins> } if (this._isKbFound(shortcut) && shortcut.commandId) {

append(keyboardMarker, $('span.title', {}, `${commandAndGroupLabel} `)); } <del> if ((options.showKeys ?? true) || (command && (options.showKeybindings ?? true))) { </del> <ins> if ((options.showKeys ?? true) || (commandDetails && (options.showKeybindings ?? true))) { </ins> // Fix label for arrow keys keyLabel = keyLabel?.replace('UpArrow', '↑') ?.replace('DownArrow', '↓')

private _isKbFound(resolutionResult: ResolutionResult): resolutionResult is { kind: ResultKind.KbFound; commandId: string | null; commandArgs: any; isBubble: boolean } { return resolutionResult.kind === ResultKind.KbFound; } <ins> private getCommandDetails(commandId: string): { title: string; category?: string } | undefined { const fromMenuRegistry = MenuRegistry.getCommand(commandId); if (fromMenuRegistry) { return { title: typeof fromMenuRegistry.title === 'string' ? fromMenuRegistry.title : fromMenuRegistry.title.value, category: fromMenuRegistry.category ? (typeof fromMenuRegistry.category === 'string' ? fromMenuRegistry.category : fromMenuRegistry.category.value) : undefined }; } const fromCommandsRegistry = CommandsRegistry.getCommand(commandId); if (fromCommandsRegistry && fromCommandsRegistry.description?.description) { return { title: fromCommandsRegistry.description.description }; } return undefined; } </ins> } class LogStorageAction extends Action2 {