-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
If I use the "tasks" property to create a sub-menu of tasks, and I give the status bar button a "label" that contains an icon, then the literal string containing $(, the icon name, and ) appears in the quick pick dropdown title.
In the above image, for example, I would want the label to be "Select a task for 'SEGGER J-Link'", not "Select a task for '$(chip) SEGGER J-Link'".
I suppose there are a few options for dealing with this.
- filter out
/ *\$\([^\)]+\) */from the label before generating the quick pick title. - add a property like
"quickPickTitle": "Select a task for 'SEGGER J-Link'" - Just take the label out of the quick pick title entirely and always have it be just "Select a task"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels