Skip to content

Vue support broken in 2024-12 #1759

@brianvfernandes

Description

@brianvfernandes

If you attempt to edit the App.vue file from the vue-app test project in org.eclipse.wildwebdeveloper.tests/testProjects you will get a host of errors in the log, and content assist doesn't work. Hyperlink navigation doesn't appear to work either, and typing can sometimes be sluggish, with momentarily high CPU load. For a specific editing case, try adding an import on line 8, though any editing or even selection will trigger repeated errors in the log.

The errors are:

!MESSAGE ExecutionException occurred during shutdown of EndpointProxy for org.eclipse.lsp4j.jsonrpc.RemoteEndpoint@583ca402
!MESSAGE The pipe is being closed
!MESSAGE Could not get trigger characters due to timeout after 50 milliseconds

See vue_errors.log for complete traces.

Similar errors are reported with other files in this project too, like main.js, however, the issues are not specific to this project (just thought it would be good to reproduce with a WWD test project)

Reproduced in: Eclipse IDE for Enterprise Java and Web Developers - 2024-12.
Same tests works just fine in 2024-06.

Further analysis:
The issues seem to be caused by an update to the vue language server. The version used in WWD 1.3.6 (Eclipse 2024-06) was 2.0.19. If I build the current WWD 1.3.9 release by dropping down versions of @vue/language-server and @vue/typescript-plugin (in org.eclipse.wildwebdeveloper/package.json) to 2.0.19, everything works again. If I increase it to 2.0.20 it breaks as described above. We're currently using version 2.1.10, but 2.0.20 appears to be the version that introduced the changes that break this functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions