You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the generic XML tooling (Eclipse Lemminx project) throws the error (for unknown reasons, the overall content-assist from that XML language server works nicely)
the Spring content-assist for these XML elements doesn't work correctly, returns an empty list of proposals
Filed this for the XML language server: eclipse-lemminx/lemminx#1653
Now need to investigate the empty response from the Spring Boot language server for this...
The content-assist from the Spring Boot language server seems to work. It returns an empty list of completions if you don't have prefix (due to too many results would be produced to be useful), but as soon as you start to type, the content-assist shows up nicely. But the error coming from the XML language server actually prevents those proposals from showing up.
You can try (and verify) that by disabling the general XML language server in the Preferences -> Language Servers - just to verify. It is not really a useful workaround, since you loose all the general XML content-assist features if you disable the XML language server.
I will probably also follow-up with the lsp4e project to see what could be done to avoid a situation where one language server that reports an error basically destroys the whole experience, even if other language servers work just fine.
disabling the general XML language server , the java class name and property pops out it good,
but xml suggestions totally gone, it is true because we disabling the general XML language server.
Thanks for verifying that disabling the XML language server brings back the Spring specific code completions. It is indeed no real workaround, so we are working on a fix for LSP4E (to show proposals in case one language server throws an error), which would be a reasonable fix here.
In addition to that the Lemminx XML language server project should also look into the error and fix it, but with the fix in LSP4E we would not need to wait for that.
So the problem in the XML language server is already fixed, now we need to include a new release of the Wild Web Developer components that includes the Lemminx XML language server. Created this PR for the necessary update in WWD: eclipse-wildwebdeveloper/wildwebdeveloper#1628
The PR for WWD got merged, so waiting for a new release build of the WWD components now.
In addition to that, the fix for LSP4E also went in, so we will include a snapshot build of that for the next Spring Tools release.
Activity
batobolg commentedon Jul 18, 2024
The java project is so simple for test this,

I have just one java file like this
martinlippert commentedon Jul 18, 2024
It looks like we have two problems here:
Need to investigate this further...
martinlippert commentedon Jul 18, 2024
Filed this for the XML language server: eclipse-lemminx/lemminx#1653
Now need to investigate the empty response from the Spring Boot language server for this...
martinlippert commentedon Jul 18, 2024
The content-assist from the Spring Boot language server seems to work. It returns an empty list of completions if you don't have prefix (due to too many results would be produced to be useful), but as soon as you start to type, the content-assist shows up nicely. But the error coming from the XML language server actually prevents those proposals from showing up.
You can try (and verify) that by disabling the general XML language server in the
Preferences -> Language Servers- just to verify. It is not really a useful workaround, since you loose all the general XML content-assist features if you disable the XML language server.I will probably also follow-up with the lsp4e project to see what could be done to avoid a situation where one language server that reports an error basically destroys the whole experience, even if other language servers work just fine.
martinlippert commentedon Jul 18, 2024
Here is the issue raised against lsp4e: eclipse-lsp4e/lsp4e#1038
batobolg commentedon Jul 18, 2024
disabling the general XML language server , the java class name and property pops out it good,

but xml suggestions totally gone, it is true because we disabling the general XML language server.
martinlippert commentedon Jul 18, 2024
Thanks for verifying that disabling the XML language server brings back the Spring specific code completions. It is indeed no real workaround, so we are working on a fix for LSP4E (to show proposals in case one language server throws an error), which would be a reasonable fix here.
In addition to that the Lemminx XML language server project should also look into the error and fix it, but with the fix in LSP4E we would not need to wait for that.
martinlippert commentedon Jul 18, 2024
So the problem in the XML language server is already fixed, now we need to include a new release of the Wild Web Developer components that includes the Lemminx XML language server. Created this PR for the necessary update in WWD: eclipse-wildwebdeveloper/wildwebdeveloper#1628
martinlippert commentedon Jul 19, 2024
The PR for WWD got merged, so waiting for a new release build of the WWD components now.
In addition to that, the fix for LSP4E also went in, so we will include a snapshot build of that for the next Spring Tools release.