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

rafce snippet bug regarding file names #298

Open
sanberkzulfikar opened this issue Jun 19, 2023 · 0 comments
Open

rafce snippet bug regarding file names #298

sanberkzulfikar opened this issue Jun 19, 2023 · 0 comments

Comments

@sanberkzulfikar
Copy link

sanberkzulfikar commented Jun 19, 2023

I've encountered a bug.

To produce it; create a new file on the project directory via VSCode, for example "Navbar.tsx", then type "rafce" and press Tab to generate the component starter code snippet. It creates a function component snippet with the name "Navbar", as expected.
Now, if you rename the file, making it "NavBar.tsx" for example, then delete the snippet and re-generate, seems like rafce doesn't see the change and it still creates the component's name as "Navbar", not "NavBar".

Saving the file won't change the occurrence.

I would be happy to provide more details if needed.

System:
VSCode@Latest, Extension@Latest, macOS Ventura@Latest

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