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

Time:09-24

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

CodePudding user response:

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.

  • Related