Skip to content

Use different problem colors for editor and tree - #49020

Merged
Johannes Rieken (jrieken) merged 2 commits into
microsoft:masterfrom
usernamehw:problems_tree_decorations
May 4, 2018
Merged

Johannes Rieken (jrieken) merged 2 commits into
microsoft:masterfrom
usernamehw:problems_tree_decorations

Conversation

@usernamehw

Copy link
Copy Markdown
Contributor

Fixes #43179

@jrieken

Copy link
Copy Markdown
Contributor

Benjamin Pasero (@bpasero) Can you advice wrt the names? Is list.errorForeground the thing to use, esp. the list prefix? Is there something more specific for labels? E.g. in case show error markers not just in the tree but also in editor titles etc?

@usernamehw

Alexander (usernamehw) commented May 3, 2018 •

Copy link
Copy Markdown
Contributor Author

file.errorForeground
resource.errorForeground
resource is already in use in gitDecoration... colors - seems like a better choice.

@bpasero

Copy link
Copy Markdown
Contributor

Johannes Rieken (@jrieken) Alexander (@usernamehw) yeah I would suggest to make this independent from the list prefix, so that this color can be used in more places. It seems to me the color would be used in places where our ResourceLabel is used today. Maybe it should then be resourceLabel.errorForeground and resourceLabel.warningForeground to make it a little bit more specific to where this color is used.

/cc Martin Aeschlimann (@aeschli) for input on the color name

@aeschli

Copy link
Copy Markdown
Contributor

I'd go for list because the new color must play well with the list colors (list.invalidItemForeground, list.hoverBackground, list.inactiveFocusBackground...)
If the same color is used in tab, then we, to be correct, should also introduce 'tab.errorForeground`

@jrieken

Copy link
Copy Markdown
Contributor

Martin Aeschlimann (@aeschli) Color naming suggestions?

@aeschli

Copy link
Copy Markdown
Contributor

As suggested in the PR, list.errorForeground and list.warningForeground.
The color description should be improved to Foreground color of list items containing errors

@jrieken

Johannes Rieken (jrieken) commented May 4, 2018 •

Copy link
Copy Markdown
Contributor

Thanks guys. Alexander (@usernamehw) Can you update the comment according to #49020 (comment).

@jrieken Johannes Rieken (jrieken) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Looking good.

@jrieken
Johannes Rieken (jrieken) merged commit 9684962 into microsoft:master May 4, 2018
@usernamehw
Alexander (usernamehw) deleted the problems_tree_decorations branch May 4, 2018 14:43
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add separate theme colors for explorer rendered diagnostics

4 participants