Skip to content

Code assist not working in XML file #415

@mauromol

Description

@mauromol

Trying to investigate as per #340 (comment)

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 eclipse-wildwebdeveloper/wildwebdeveloper#366.

There are no errors from STS4 in the Error Log though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions