-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat(IDE) generate web-types (helper file for WebStorm) #4749
Conversation
AWESOME |
There are problems to solve though:
|
Doc links on our API was initially done here: #4045 |
This is ready to merge as initial work. Some types are a bit lacking but I will need to share code with TypeScript generator to implement them. Since there are already few more pending TypeScript PRs and I don't want to introduce too many conflicts, I will do it after it all get merged. Other thing missing are docs links - but this question is still unresolved -- see above. We also need full component/directive descriptions in JSON API - if we then put it in typescript and web-types, WebStorm can display it directly in the IDE which is very handy. In extreme case, we could even show a big part of documentation just on |
Excellent work!!! @panstromek |
Initial work
This PR should improve completion and Quasar support in JetBrains editors. Webstorm already uses those files but JetBrains generates them themselves and publish to @web-types scope. They support linking custom web-types linked through package.json, though.
It would be more appropriate if we generated these files during build so that we don't have to wait until WebStorm team catches up after every release. We can also be responsible for its content and make sure it's correct and complete. We already generate Vetur helpers, that's a similar story.
More information:
https://github.com/JetBrains/web-types/
https://youtrack.jetbrains.com/issue/WEB-31682#focus=streamItem-27-3538850.0-0