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

Rename file + default export in one command #679

Open
franciscolourenco opened this issue May 23, 2024 · 0 comments
Open

Rename file + default export in one command #679

franciscolourenco opened this issue May 23, 2024 · 0 comments

Comments

@franciscolourenco
Copy link

franciscolourenco commented May 23, 2024

Is your feature request related to a problem? Please describe.
In JS/TS codebases, it is common for files to default export a function with the same name as the file. In those cases, when renaming a file, it is also necessary to rename the function.

Describe the solution you'd like
I would like a command that renames both the file and the default export at the same time.

Describe alternatives you've considered
Other extensions

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

1 participant