-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Vue.js #13672
Comments
Would you please take a look, @l0rd ? |
Thanks @metlos for raising this. What do you mean when you say I would be +1 to add the vs code extension to the plugin registry before GA if we don't need to update Theia vscode extension API. Otherwise I would postpone it to 7.1.0. |
Basically the symptoms I described in the Diagnostics section. |
Investigation shows that I see two solutions:
[1] https://github.com/microsoft/vscode/blob/1.36.0/extensions/html-language-features/package.json#L140 |
@tolusha ok so it doesn't look straighforward. I would postpone that for 7.1.0. |
Time to revive this one. |
VS Code built-ins are now available from npm. Check whether html-language-features is alread in there or how to consume it from npm. |
could this be related? |
https://marketplace.visualstudio.com/items?itemName=SimonSiefke.html-language-features&utm_source=www.vsixhub.com adding this to the meta.yaml before loading the vue extensions makes it work without errors |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
@gattytto I believe this is something you started working on |
Description
Currently our plugin registry doesn't support Vue.js nicely. We have support for typescript/javascript parts of the code but we lack support for the
.vue
files altogether (we don't even have syntax highlighting).This issue is to support the vetur plugin https://marketplace.visualstudio.com/items?itemName=octref.vetur in Che.
I tried adding it naively through a custom plugin called
vuejs/vetur/latest
with the followingmeta.yaml
to my custom plugin registry:But that doesn't seem to work out of the box and will likely require some modifications to the environment the extension runs in or to the extension code itself. Note that the extension seems to run a language server (having little experience with Che plugin development I don't understand the consequences of that).
Reproduction Steps
Notice the lack of any support for
.vue
files.OS and version:
Diagnostics:
When a workspace created from the above devfile is opened for the first time and a
.vue
file is opened, no syntax highlighting is present:If the Theia window is reloaded, an error saying "Request initialize failed with message: Cannot read property 'suggest' of undefined" is shown. Strangely, the syntax highlighting suddenly seems work:
but code navigation (that works in VS Code) still doesn't.
Related issues:
This issue might be related: #11054
The text was updated successfully, but these errors were encountered: