Long Nguyen
Long Nguyen

Reputation: 5

WebStorm not showing .vue syntax highlighting on on file but is on another

Does anyone know what is causing this problem? I can't seem to figure it out.

When I create a new .vue file, I can't get any autocomplete/syntax highlight at all.

But the one I created at the start of the project seems to work fine.

WebStorm .vue syntax error

Upvotes: 0

Views: 283

Answers (1)

lena
lena

Reputation: 93898

Looks as if the file GameDetails.vue is treated as plain text file. Does the issue persist if you rename the file? Please check the registered patterns in Settings | Editor | File types, Text and Auto-detect file type by content file types - can you see GameDetails.vue or any pattern with .vue suffix there? Removing it from the list should solve the problem.

Upvotes: 1

Related Questions