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

How to setup refactoring for vue file? #481

Open
gogamid opened this issue Aug 6, 2024 · 3 comments
Open

How to setup refactoring for vue file? #481

gogamid opened this issue Aug 6, 2024 · 3 comments

Comments

@gogamid
Copy link

gogamid commented Aug 6, 2024

i see that there is implementation for react, how to achieve this for vue?

@TheLeoP
Copy link
Collaborator

TheLeoP commented Aug 6, 2024

Someone would need to create a PR similar to #468 or #372 but defining the treesitter captures and the code generation functions for Vue

@gogamid
Copy link
Author

gogamid commented Aug 6, 2024

Thank you for the hint! Based on your commits, i will try to implement when I have free time

@gogamid
Copy link
Author

gogamid commented Aug 15, 2024

Hi @TheLeoP , i craeted PR #482 for Vue. Maybe you can take a look? especially tree-sitter queries.
Somehow class and function scopes are not getting detected, in the coming PRs it can be improved, any improvement suggestions are welcome :)

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

No branches or pull requests

2 participants