-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 sfc intellisense #2827
Vue sfc intellisense #2827
Conversation
🦋 Changeset detectedLatest commit: 0ae314e The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest changes of this PR are available as canary in npm (based on the declared
|
559e7ca
to
9ee3ea7
Compare
9ee3ea7
to
3a12734
Compare
(Adding here from Discord for searchability & awareness.) I can't get VSCode Intellisense in What might I be doing wrong? |
After some debugging it Vue VSCode Intellisense works if the setup scripts comes first (before template & script), but fails in any other order. If the setup script comes second, GraphQL errors are overlaid on whatever is actually there as if the script came first. So it looks like the setup script offset isn't added somewhere. I'm not familiar with this codebase, so maybe this is an upstream issue with the vue sfc compiler. |
re-creating #2391 so that I can rebase it before merging!
This introduces vue support for intellisense.
Thanks @AumyF for making this PR!