Reinstate symbol icon colors in quickpicks (fix #299650)#299753
Conversation
There was a problem hiding this comment.
Pull request overview
This PR addresses issue #299650 by restoring symbol-kind icon colors in quick pick UIs (e.g., “Go to Symbol”) by opting rendered codicon markup into the workbench’s symbol color styling.
Changes:
- Extend
renderLabelWithIcons/renderIconto optionally add thecodicon-coloredCSS class. - Update
HighlightedLabelto render embedded icons withcodicon-coloredenabled whensupportIconsis true.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| src/vs/base/browser/ui/iconLabel/iconLabels.ts | Adds an opt-in flag to append codicon-colored to rendered icon spans. |
| src/vs/base/browser/ui/highlightedlabel/highlightedLabel.ts | Enables colored icon rendering for icon markup rendered via HighlightedLabel. |
mrleemurray
left a comment
There was a problem hiding this comment.
@gjsjohnmurray looks good - please add some tests to cover the new behaviour & I will re-test :)
|
Hi! FYI I think #299479 is a directly related issue to this as well. |
@mrleemurray test added, please review. |
|
Please can this be milestoned for 1.116.0? |
Or 1.117.0? |
|
@mrleemurray can I do anything to help progress this? |
|
@mrleemurray another nudge |
|
Thanks both. Please merge. |
This PR fixes #299650