Change:
const menus = manifest.contributes?.menus || {}; <del> Object.keys(menus).forEach(context => { menus[context].forEach(menu => { let command = byId[menu.command]; if (command) { command.menus.push(context); } else { command = { id: menu.command, title: '', keybindings: [], menus: [context] }; byId[command.id] = command; commands.push(command); </del> <ins> for (const context in menus) { for (const menu of menus[context]) { if (menu.command) { let command = byId[menu.command]; if (command) { command.menus.push(context); } else { command = { id: menu.command, title: '', keybindings: [], menus: [context] }; byId[command.id] = command; commands.push(command); } </ins> } <del> }); }); </del> <ins> } } </ins> const rawKeybindings = manifest.contributes?.keybindings ? (Array.isArray(manifest.contributes.keybindings) ? manifest.contributes.keybindings : [manifest.contributes.keybindings]) : [];

Discussion:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes <!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --- VS Code Version: 1.74.3 OS Version: Darwin Version 21.6.0 a submenu extension using extension from extension panel for extension click on extension "Feature Contributions" tab An additional line with a command id of shows up in the "Feature Contributions" tab under "Commands" <img width="1164" alt="image" src="https://user-"The command row in the "Feature Contributions" tab does not show up. Action: Setting for the menu item Result: "Feature Contributions" tab shows instead of Action: Modifying the menu like so: and add a command: Result: Error . Edit: Updated version from to as the problem occurs in both versions.
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.3. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding!
I updated to and the issue remains.
/confirm I have verified that the issue is also present in current Insiders.
fyi is it possible that our bot does not auto-assign issues with labels? This one was not assigned, same as and
It does not because it assumes that is a triage action. It would be expected that if a label is someone is assigned since those actions / permissions go together.
sounds like I shouldn't use the slash-confirm command (and maybe some others) unless someone has already been auto-assigned or I also use the slash-assign.
That is correct. Maybe I should introduce to randomly assign someone with the label if you don't know who to assign and want to confirm the bug.