-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Vue LSP not working #12384
Comments
Hey @Runkunkun - are you still running into the issue or are you able to reproduce it? |
Most likely the same problem as |
Still having the problem, across all my vue projects. Typescript is installed as dev dependency and reinstalling the extension did not fix it, so probably a different Problem than #9388? |
Maybe related to #12019 |
I am unsure if this is the same case, but in my case it seems like for some reason Zed isn't resolving peerDependencies for vue-language-server, therefore not installing typescript in I tried to manually copy and paste typescript from other places, but to no avail. It just deletes everything and re-installs extension again.
|
Having the same error message of vue-language-server Zed: v0.140.5 (Zed) |
I'm also having an issue with the Vue LSP, and for me I've narrowed down to purely Nuxt vs. a regular Vue Project created by Vite. If I open up my Nuxt Project inside Zed the Vue LSP Never kicks in and starts up it seems. I can see the following logs for the
If I keep that instance of Zed running, and open up a regular Vue project that I created using Vite the LSP in the logs look like that it starts up, but I don't ever receive anything LSP Messages when inside a Vue file or even a TypeScript File.
Now if I completely close out all of those Zed instances and only re-open the the regular Vue projected created, the LSP starts to work normally again and I can see the LSP Messages coming in from the Zed: 0.140.5 Hope this information helps any, and let me know if anymore logs could help. |
We just released v0.1.0 of the Vue extension. Can the folks who are having issues try it out with that version and see if you still encounter the same issues? If you are still having issues, a project you can share with us that demonstrates the problem would be very helpful in diagnosing and remediating the issue! |
This is still an issue, which makes zed un-usable with vue. Although it used to work fine- not sure what happened. Here is a repo you where you can reproduce auto complete not working, as well as go to definition not working within .vue files. |
Wanted to give zed a try today as well. And the Vue extension is not working for me either. |
Are people still running into this issue? |
Not with the extension, but the I do see this |
Check for existing issues
Describe the bug / provide steps to reproduce it
Vue Autocompletion and Import stopped working after updating Zed. I already tried deleting the languages and extensions folder, that seemed to fix the problem in the past.
Environment
Zed: v0.136.2 (Zed)
OS: macOS 14.4.1
Memory: 32 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.2024-05-28T17:26:08+02:00 [INFO] Initializing default prettier with plugins {}
2024-05-28T17:26:08+02:00 [INFO] starting language servers for Vue.js: tailwindcss-language-server, eslint, vue-language-server
2024-05-28T17:26:08+02:00 [WARN] Skipping path "/Users/lukas.kurth" that has no prettier dependency and no workspaces section in its package.json
2024-05-28T17:26:08+02:00 [INFO] Language server with id 3 sent unhandled notification eslint/status:
{
"uri": "file:///Users/lukas.kurth/Repositories/cookbook-recipes/components/web-apps/private-recipes/src/components/DynamicImageList.vue",
"state": 1,
"validationTime": 21
}
2024-05-28T17:26:11+02:00 [INFO] Language server with id 3 sent unhandled notification eslint/status:
{
"uri": "file:///Users/lukas.kurth/Repositories/cookbook-recipes/components/web-apps/private-recipes/src/components/DynamicImageList.vue",
"state": 1,
"validationTime": 16
}
2024-05-28T17:26:12+02:00 [INFO] Language server with id 3 sent unhandled notification eslint/status:
{
"uri": "file:///Users/lukas.kurth/Repositories/cookbook-recipes/components/web-apps/private-recipes/src/components/DynamicImageList.vue",
"state": 1,
"validationTime": 15
}
2024-05-28T17:26:13+02:00 [INFO] Language server with id 3 sent unhandled notification eslint/status:
{
"uri": "file:///Users/lukas.kurth/Repositories/cookbook-recipes/components/web-apps/private-recipes/src/components/DynamicImageList.vue",
"state": 1,
"validationTime": 14
}
2024-05-28T17:26:13+02:00 [INFO] Language server with id 3 sent unhandled notification eslint/status:
{
"uri": "file:///Users/lukas.kurth/Repositories/cookbook-recipes/components/web-apps/private-recipes/src/components/DynamicImageList.vue",
"state": 1,
"validationTime": 13
}
The text was updated successfully, but these errors were encountered: