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.
Solution:
Settings/Preferences | Editor | File Types
- Check the following file type entries:
Auto-detect file type by content
Text
Files opened in associated applications
(not your case here)
- Locate and remove unwanted pattern: will be
SetupObjects.vue
or very similar to that.
Source (PhpStorm Forums thread, a bit more details)
Source:stackexchange.com