Open File | Settings | Languages & Frameworks | Template Data Languages & remove any customizations from there. That's a PhpStorm bug: https://youtrack.jetbrains.com/issue/WI-42822 & https://youtrack.jetbrains.com/issue/WI-42135 .
Goto Settings > Editor > File types.
For PHP files (as an example), look for PHP in the left column (under Recognize File Types), verify you have *.php under the File name patterns column/box
That fixed it for me.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.