Closed dshimo closed 1 year ago
Reproduced the same issue in a pom.xml
file in VS Code without our language server installed via any plugins - only XML by redhat should be affecting XML files.
This may be an error in LemMinX
itself since LCLS only does diagnostics for certain elements (featureManager/feature and include). All other elements are validate against the schema with LemMinX
afaik.
Reproduced the same issue in a pom.xml file in VS Code.
So that means it is not a LCLS issue, correct?
I've opened https://github.com/eclipse/lemminx/issues/1495
We will invedtigate the problem on lemminx, but when you say that you have the problem with IJ, it means that you have integrated lemminx in IJ?
If the answer is yes, could you give me a link to the repository which does that. Thanks!
@angelozerr yes, in Liberty Tools for IntelliJ we are running LemMinX with the Liberty LS ext: https://github.com/OpenLiberty/liberty-tools-intellij
Wow thats great! Thanks @kathrynkodama for your answer.
With https://github.com/eclipse/lemminx/issues/1495 fixed, lemminx-liberty, LT for IntelliJ and LT for Eclipse will have to update to the latest LemMinX version containing the fix.
@kathrynkodama Any outlook on when that next version of Eclipse LemMinX is expected?
For the moment it is not planned, but we would like to create 1.0.0 https://github.com/eclipse/lemminx/issues/1470 which will break API participant. Please follow this issue.
Release 0.25.0
was released today - https://github.com/eclipse/lemminx/blob/main/CHANGELOG.md
This is fixed in the 2.0-snapshot branch which will be merged into the main branch once the 1.0 release is published. Closing this issue.
The expected behavior is for the diagnostics/markers to appear on the text. This behavior is also observed in
pom.xml
When a comment is in between the text and the
server
element, the diagnostic marks the comment on line 4 rather than line 12. This issue does not seem to occur onpom.xml
Steps to recreate:
server.xml
with aserver
elementserver
elementThis bug appears in IntelliJ and VSCode