-
Notifications
You must be signed in to change notification settings - Fork 3k
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
LSP does not work for Vue and TypeScript #9329
Comments
I can't seem to reproduce this. When initiating a Vite Vue project with npm, the language server starts successfully. Opening a Vue file runs the Vue LSP.
Opening a TS file runs the TS LSP.
|
Jap the language server starts for me as well. However, but auto completion, or go to references do not work. Do they work for you? |
There are no logs in the Here's the Zed log, I don't see anything related to the Vue lsp. Zed Log
2024-03-14T22:07:37+01:00 [INFO] ========== starting zed ========== |
Same problem (Apple M1 Pro, Sonoma 14.3.1, Zed 0.126.2) Zed Log
2024-03-15T08:53:11+03:00 [INFO] ========== starting zed ========== |
vue-language-server starts in the logs but doesn't work |
Do we have any updates on the matter? I am experiencing a similar issue as well. |
node js v20 and vue is not working. tested in m1 macbook and intel imac 2015 thanks |
After `@vue/language-server` release 2.0, vue lsp doesn't work. I tried to support 2.0, but since I'm not familiar with `@vue/language-server` and `zed` I was unsuccessful. To avoid long-term unavailability, I temporarily fixed the version to 1.8 until we have 2.0 support. Release Notes: - Pinned `@vue/language-server` to version `1.8` until Zed supports `2.x`. ([#9388](#9388) & [#9329](#9329)). --------- Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
Do we have any updates on the matter? I am experiencing a similar issue as well. node 20 or 18 both not working. |
I'm experiencing the same problem. Can't find anything amiss in Zed logs or LSP logs, but appears that no typescript editor hints are working in .vue files (working just fine in .ts files) |
How to solve this problem |
After deleting the folder, it downloads the latest version of Volar again. How can the version be fixed? |
when restart zed, vue lsp downloads the latest version 2.0.7 |
done this, but still not working, stoped working last week after an zed update(or a lsp update) |
Are you using the latest Zed preview version? Did you delete the folder ( If someone can give a minimal reproducible example (i.e. a small repo with as few files as possible), I can try. |
works for me now! i've downloaded zed v0.129.1 and reinstalled the vue language server. works perfectly, thank you! |
Sweet. I'm going to close this then. We can always create a new ticket if something else pops up. |
@jshrssll I can't diagnose much without logs.
|
I cannot get vue related intellisense, instead I'm getting tailwind classes in the menu (attached screenshot) logs:tailwind-lsp:
vue-lsp
|
Check for existing issues
Describe the bug / provide steps to reproduce it
I am currently working with Zed and the Vue.js + TypeScript combination. Unfortunately, the LSP does not work at all. So I don't get any errors or code completions.
To reproduce this issue, you can just create a brand new vite project and select Vue and TypeScript.
Environment
Zed: v0.126.2 (Zed)
OS: macOS 14.3.1
Memory: 16 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.No response
The text was updated successfully, but these errors were encountered: