Skip to content

Show command descriptions as tooltips in Command Palette #260868

@Riya-chandra

Description

@Riya-chandra

When using the Command Palette (Ctrl+Shift+P), only the command title is shown in the list.
If you don't already know what a command does, the only way to find out is to run it or go search for it.

I think we could improve this by showing the command’s description (if available) when you hover over it.

VS Code already stores descriptions for a lot of commands (both core and from extensions) in the CommandsRegistry. Right now that data isn’t surfaced in the UI, which feels like a missed opportunity.

Why this would help

  • Makes it easier to explore and understand less common commands.
  • Good for new users who are still learning what’s available.
  • Doesn’t require any new data — we’d just use what’s already there.

Idea for implementation

  • In the quick input list rendering (quickInputList.ts), grab the metadata for each command from CommandsRegistry.getCommand(id).
  • If it has a description, set it as the title attribute for that list item (browser/Electron will show this as a tooltip).
  • Fallback to the command’s title if there’s no description.

Example:

Before:
Hover over Toggle Side Bar Visibility → nothing happens.

After:
Hover over Toggle Side Bar Visibility → shows “Shows or hides the sidebar in the workbench”.

If this sounds reasonable, I’m happy to try implementing it.

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityquick-openQuick-open issues (search, commands)verification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions