PhpStorm - 错误的语法与刀片突出(PhpStorm - wrong syntax hig

2019-10-23 10:45发布

当我创建PhpStorm刀片模板,例如login.blade.php,语法高亮正常工作。 但是,当我将其命名为layout.blade.php,事实并非如此。 为什么? 我怎样才能解决这个问题?

Answer 1:

  1. Settings (Preferences on Mac) | Editor | File Types
  2. Text files
  3. 查找并摆脱不必要的模式(最有可能将一些类似于layout.blade或相似。


文章来源: PhpStorm - wrong syntax highlighting with Blade