PhpStorm - wrong syntax highlighting with Blade

。_饼干妹妹 提交于 2019-12-24 08:58:19

问题


When I create a Blade template in PhpStorm, for example login.blade.php, syntax highlighting works correctly. But when I name it layout.blade.php, it doesn't. Why? How can I fix it?


回答1:


  1. Settings (Preferences on Mac) | Editor | File Types
  2. Text files
  3. Find and get rid of unwanted pattern (most likely will something be similar to layout.blade or alike.


来源:https://stackoverflow.com/questions/30909095/phpstorm-wrong-syntax-highlighting-with-blade

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!