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

Suggestion: Auto detect file extension and slice it off #5

Closed
zernonia opened this issue Oct 3, 2022 · 1 comment · Fixed by #6
Closed

Suggestion: Auto detect file extension and slice it off #5

zernonia opened this issue Oct 3, 2022 · 1 comment · Fixed by #6
Labels
bug Something isn't working enhancement New feature or request

Comments

@zernonia
Copy link

zernonia commented Oct 3, 2022

When using Nuxt: Add Component, sometimes I accidentally key in Test.vue, instead Test for the component name, thus generating a component named Test.vue.vue.
It would be great if the extension auto detect and slice off .vue extension.

It could also be extended to creating composables (auto detect .ts)

😁

@cpreston321 cpreston321 added enhancement New feature or request bug Something isn't working labels Oct 3, 2022
@cpreston321
Copy link
Owner

This sounds reasonable. I will work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants