Is the Vue.js Parsing open source?
Hi,
I wonder if the Vue.js integration in Rider is open sourced? I'd like to improve the handling of it for multi file components like
- IntelliSense for properties/events not always working (like to find out why and fix it)
- Navigation not always working (like to find out why and fix it)
- When adding a new component element to the template, don't create a class within the vue, but instead add the import in the corresponding *.ts file
- Find components of third party libraries
- Find props and events of third party library
Please sign in to leave a comment.
Yes, it's opensource, the sources are available at https://github.com/JetBrains/intellij-plugins/tree/master/vuejs
>IntelliSense for properties/events not always working (like to find out why and fix it)
>Navigation not always working (like to find out why and fix it)
Please could you elaborate on these issues?
>When adding a new component element to the template, don't create a class within the vue, but instead add the import in the corresponding *.ts file
this issue is tracked at https://youtrack.jetbrains.com/issue/WEB-50059, please follow it for updates
>Find components of third party libraries
To improve code completion for different Vue.js component libraries, we are using a special format of metadata, called
web-types
. web-types describe the library's components and their directives. If you're maintaining your own Vue.js component library, you can add description of the components in the web-types format to your module. To help the IDE to locate this file, a link to it should be added to the"web-types"
field in library package.json.