-
Notifications
You must be signed in to change notification settings - Fork 93
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
Improve error message to show in the first line an understandable error message #1145
Comments
I close this issue since its à lsp client issue with eclipse ide and i suppose lsp4e. See https://github.com/eclipse/wildwebdeveloper/issues/761 |
@angelozerr This issue was originally https://github.com/eclipse/wildwebdeveloper/issues/761 and then moved to this project. So #761 is now closed, too. Could you reopen and move this issue to the new project? |
Oh I see. @mickaelistria this issue is for lsp4e or perhaps eclipse ui marker. The problem here is that diagnostic display a readable message with line sperator and marker view shows only the first line. This problem is not linked to lemminx but to marker view. |
Could the diagnoatic be enhanced to have a more explicit 1st line then? Multiple lines can be too intrusive eg also for cases of inline diagnostics. 1st line should be a summary of the issue and not 1st line of details. |
A summary could be |
@fbricon what do you think about that? |
+1 |
@JessicaJHee are you interested in working on this issue? |
I'm interested! |
This is from Eclipse 2021-12 (4.22): this xml snippet causes two validation errors:
The "Language Servers" section shows only the headers of the error message, in my sample "Attribute:" and "Invalid element name".
The other two errors seem to result from the WTP XML validator.
Copying the details shows the full error:
And:
So, the "Markers" views should either remove the newlines or display multiline texts.
Hope this is the right place to report this issue.
The text was updated successfully, but these errors were encountered: