-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[markers] add problem decorator fontData #6863
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tree is nicely colored. Wasn't able to try warnings though.
@marechal-p
Open the |
@lmcbout would you like to try the pull-request? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well
Explorer view adjusts the color according to the severity of the error
anything else has to be done before merging? |
@akosyakov no there shouldn’t be anything else, I was hoping for others to give a review as well but if we are happy with the changes I will merge :) |
I'll merge the pull-request tomorrow morning if there are no objections. |
- added `fontData` to the problem decorators in the explorer which decorates the node with a foreground color with the highest marker severity. - added a new method `getPriority()` which takes as argument a marker diagnostic and returns it's priority which is used when decorating. Markers with a higher severity have a higher priority. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
e56b38c
to
7e178ad
Compare
Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com
What it does
fontData
to the problem decorators in the explorer which decorates the node with a foreground color with the highest marker severity.getPriority()
which takes as argument a marker diagnostic and returns it's priority which is used when decorating. Markers with a higher severity have a higher priority.How to test
Review checklist
Reminder for reviewers