Code assist not working in XML file
See original GitHub issueTrying to investigate as per https://github.com/spring-projects/sts4/issues/340#issuecomment-573036075
In my XML file where I can’t get code assist to work, I try to write a bean definition and I invoke code assist in the class
attribute value:
<bean class="Con|" />
I invoke code assist at “|” and I get the following in the Language Server console:
15:20:31.291 [elastic-2] INFO o.s.i.v.c.l.c.VscodeCompletionEngineAdapter - Starting completion handling
15:20:31.291 [elastic-2] INFO o.s.i.v.c.l.c.CompositeLanguageServerComponents - languageId = LanguageId [xml]
15:20:31.295 [elastic-2] INFO o.s.i.v.c.l.c.VscodeCompletionEngineAdapter - Got 0 completions
15:20:31.297 [elastic-2] INFO o.s.i.v.c.l.c.VscodeCompletionEngineAdapter - Completion handling terminated!
So, it seems like some kind of triggering is performed, but 0 completions are returned. In fact, I get no suggestions at all in the editor.
In the Error Log, at the same time, I get some errors from the XMLLanguageServer contributed by the Wild Web Developer plugin from Eclipse. Can this interfere with STS4 Language Server? For reference, the error I get is the same I get on Eclipse start which I described at https://github.com/eclipse/wildwebdeveloper/issues/366.
There are no errors from STS4 in the Error Log though.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13
Top GitHub Comments
@mauromol one silly thing… did you enable Spring XML File config support in the preferences (under Language Servers -> Spring Language Servers -> Spring Boot Language Server -> Spring XML Config)
Oh, yes, lets indeed close this one.