-
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: update format of markers #7344
Conversation
This commit updates the formatting of markers present in the `problems-view` to be consistent with VS Code. Namely, the commit enforces that the marker message is the most important data, that the `owner` or `source` is displayed with the `code` if present, and the `line number` and `column number` are displayed last. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
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.
I tested on my local with Chrome browser in the following scenarios
- single-root and multi root workspace
- problem markers added by language servers
- problem markers created by customized tasks
worked as expected.
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 as expected
Tested with Chrome on Ubuntu 18.04
Note: the icon in front of the file is more visible in VSode than in Theia. For example the "JAVA" icon in Theia is the "JAVA" cup icon, but the dark color on a DARK theme is not as visible as the "JAVA" icon they use in VSCODE . Same for other icons "TS, JS..."
@lmcbout we are using different default icon themes. If you'd like to test, set the |
@vince-fugnitto I think the icons we use are not as visible as the one we use if we set the icons as VSCOde icons. It still works :) |
I'll merge tomorrow if there are no objections. |
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 fine on my side as well.
What it does
This pull-request updates the formatting of the markers present in the
problems-view
to be consistent with the latest updates present from VS Code. Namely, the pull-request updates the markers so that:severity
icon is displayed first.message
is displayed secondly (the message has been bumped since it holds the most important information).owner/source
is then displayed with an attachedcode
if available.line
andcolumn
number is then displayed.How to test
problems-view
.Review checklist
Reminder for reviewers
Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com