[Vuejs]-WebStorm File association system does not recognize a file

5👍

Looks like you have created that file using wrong action or made a mistake during that process, e.g.:

  • used File | New | File...
  • did not enter the file extension there (only file name part) .. or that was a wrong yet unknown extension
  • then in the popup dialog just automatically pressed Enter.

enter image description here

Solution:

  1. Settings/Preferences | Editor | File Types
  2. Check the following file type entries:
    • Auto-detect file type by content
    • Text
    • Files opened in associated applications (not your case here)
  3. Locate and remove unwanted pattern: will be SetupObjects.vue or very similar to that.

enter image description here

Source (PhpStorm Forums thread, a bit more details)

Leave a comment