Skip to content
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

Docs: "WebStorm is not supported" is no longer true #454

Open
unshame opened this issue Aug 9, 2023 · 5 comments
Open

Docs: "WebStorm is not supported" is no longer true #454

unshame opened this issue Aug 9, 2023 · 5 comments

Comments

@unshame
Copy link

unshame commented Aug 9, 2023

WebStorm since version 2023.2 uses volar as the language server for vue, so this line in the documentation is no longer true:

https://github.com/vue-macros/vue-macros/blob/main/docs/guide/getting-started.md?plain=1#L13

Source:
https://blog.jetbrains.com/webstorm/2023/07/webstorm-2023-2/#vue_language_server_support

@alexzhang1030
Copy link
Member

Have you tested vue-macros on WebStorm? Is everything working well? @unshame

@sxzz
Copy link
Member

sxzz commented Aug 11, 2023

I tested on WebStorm, but it seems like the plugins of Volar cannot be loaded and take effect.

@unshame
Copy link
Author

unshame commented Aug 11, 2023

I tested with reactivity transform

image

defineModels

image

and definePropsRefs

image

It seems to work.

It reports errors correctly, but doesn't always report the correct types on hover in templates.

definePropsRefs
image

reactivity transform
image

defineModels - here it works on hover in templates as well
image

@mathieutu
Copy link

mathieutu commented Aug 21, 2023

Same conclusions here!

@sxzz
Copy link
Member

sxzz commented Aug 22, 2023

Thanks for your detailed test. But I'm still not satisfied with the current level of support in WebStorm. Let's wait and see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants