当我创建PhpStorm刀片模板,例如login.blade.php,语法高亮正常工作。 但是,当我将其命名为layout.blade.php,事实并非如此。 为什么? 我怎样才能解决这个问题?
Answer 1:
-
Settings (Preferences on Mac) | Editor | File Types
-
Text files
- 查找并摆脱不必要的模式(最有可能将一些类似于
layout.blade
或相似。
文章来源: PhpStorm - wrong syntax highlighting with Blade