Add custom QuickPick highlighting
See original GitHub issueIt would be nice to have a bit more control over highlighting in QuickPick. I’m using QuickPick as a search field using regex and the existing fuzzy matching doesn’t make sense in this context. I’d like to be able to provide my own highlights for the detail field and avoid highlighting elsewhere, although for completion I think it makes sense to allow custom highlighting on all three fields.
The API could be similar to the proposed highlighted TreeItemLabel
in #61482 for backward compatibility. A more general HighlightedString
could be a good fit across the board. The implementation can then skip the fuzzy matching if the label type is HighlightedString
and apply the highlights in there.
I feel that this would complement #77297 nicely and make for a more versatile QuickPick API.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:26 (11 by maintainers)
Top GitHub Comments
Great so back to my original question:
@kbysiec No. It is in our list of feature requests for the QuickPick API.