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

Don't generate fake component files when IDEA starts supporting full web-types spec. #17

Open
6 tasks done
panstromek opened this issue Sep 27, 2019 · 1 comment
Open
6 tasks done
Labels

Comments

@panstromek
Copy link
Owner

panstromek commented Sep 27, 2019

JetBrains is working on official support of Vue component libraries through web-types helper file. Quasar already generates it since this PR, but IDEA still can't read/use all information from it. Once it does, it will be way more powerfull than our hacking technique used in ide-helper.

Here is a checklist for what's still missing natively in idea and is provided by ide-helper. When this checklist is filled, we can stop generating those fake component files.

  • Autocomplete Quasar components

  • Autocomplete props

  • Autocomplete events

  • Type based autocomplete for enum types (this was kinda hacked in ide-helper by completing the whole prop with argument, but nevertheless it is useful)

  • Go-To declaration (ctrl-b) - does nothing if you don't use ide-helper, otherwise it goes to fake declaration, ideally it should go to typedef in index.d.ts

  • Quick Doc (ctrl-q)

    • this kind of stopped working recently anyway, probably because those two system clash. But in older idea versions, ide-helper will peovide quick doc for quasar components.
@panstromek
Copy link
Owner Author

Looks like webstorm started supporting enum attributes autocomplete

image

image

So the last remaining issue is fixed.

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

No branches or pull requests

1 participant