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

Add Matchit support for single file Vue-components, *.vue files #421

Closed
wants to merge 36 commits into from
Closed

Add Matchit support for single file Vue-components, *.vue files #421

wants to merge 36 commits into from

Conversation

DanEEStar
Copy link
Contributor

No description provided.

@AlexPl292
Copy link
Member

Hi! I'd say that "JavaScript" item here should cover "vue.js" as well. Doesn't this plugin work for you in vue.js files? Does it work in other .js files?

@DanEEStar
Copy link
Contributor Author

The plugin works in normal .js files.

This feature adds support for single file Vue components which have its own .vue-extension and are a "mixture" of a HTML-Template, JavaScript- and CSS-code. (A bit similar to JSX-files...)
With this added "Vue.js" fileType they work now as expected.

So the title of the Pull-Request is a bit misleading when I think about it. It should say "Add Matchit support for single file Vue-components".

The "hardest" part of the implementation was to find out what the fileTypeName is for these Vue-components.
The vue-plugin seems to be a paid feature plugin for IntelliJ.
With some file output writing in the IdeaVim plugin I could find it out by trial and error -> Vue.js
Or is there an easier way to "Start IJ with IdeaVim" and then have this bare IntelliJ load paid plugins?

@DanEEStar DanEEStar changed the title Add Matchit support for Vue.js files Add Matchit support for single file Vue-components, *.vue files Dec 6, 2021
@TroAlexis
Copy link

Any update on this? Would be really cool to have matchit in vue files, real pity it's not working there 😞
Good job with the PR, @DanEEStar
And thanks for your efforts with the plugin @AlexPl292 !

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

Successfully merging this pull request may close these issues.

4 participants