-
Notifications
You must be signed in to change notification settings - Fork 7.9k
CmdPal: Add support for commands with parameters #40948
Copy link
Copy link
Labels
Issue-FeatureA planned feature addition to a productA planned feature addition to a productNeeds-SpecSomething needs additional alignment/thought on how we'll implement functionalllySomething needs additional alignment/thought on how we'll implement functionalllyProduct-Command PaletteRefers to the Command Palette utilityRefers to the Command Palette utility
Milestone
Metadata
Metadata
Assignees
Labels
Issue-FeatureA planned feature addition to a productA planned feature addition to a productNeeds-SpecSomething needs additional alignment/thought on how we'll implement functionalllySomething needs additional alignment/thought on how we'll implement functionalllyProduct-Command PaletteRefers to the Command Palette utilityRefers to the Command Palette utility
Type
Projects
Status
In PR
Description of the new feature / enhancement
Commands should be able to specify that they require additional parameters before they can be run.
Prototypes:
A text box for string input

A button that opens a custom picker from the extension

Scenario when this would be used?
This would be an infinitely better "lightweight" parameter passing, rather than force a whole adaptive card for like, one field.
Supporting information
draft spec:
There are however a LOT of considerations here.
Titlethe parameter lives? So that we show the args inline with the list item, rather than the search bar?CommandContextItem's? By all accounts, they supportICommands too.