nuxtrdev / nuxtr-vscode

An extension offering commands and tools to make your experience with Nuxt more pleasant.
https://marketplace.visualstudio.com/items?itemName=Nuxtr.nuxtr-vscode
336 stars 13 forks source link

[Bug]: .vue is added to filename when .vue is already specified #91

Closed DavidDeSloovere closed 11 months ago

DavidDeSloovere commented 11 months ago

Environment


What went wrong?

I know it's my fault. But I'm sure other people have this too. when creating a new page or component etc.. I have the habit of adding the file extension, ie. something.vue. Nuxtr also adds the extension. So I end up with something.vue.vue.

image

How to reproduce it?

Add new page in the pages folder, enter something.vue in the prompt. You'll have a something.vue.vue file.

DavidDeSloovere commented 11 months ago

I know it's technically not a bug. Not trying to offend anyone 😀 Rather DX.

adhamfarrag commented 11 months ago

Even if it's your fault @DavidDeSloovere :D, always happy to make nuxting better and more fun for you. :sweat_smile: Should have done it long time ago but somehow I keep forgetting. Will ship it max by next week.

corbinu commented 4 months ago

Hello this is happening again in the current version