PhpStorm - 使用 Blade 突出显示错误语法

PhpStorm - wrong syntax highlighting with Blade

当我在 PhpStorm 中创建 Blade 模板时,例如 login.blade.php,语法突出显示工作正常。但是当我将它命名为 layout.blade.php 时,它并没有。为什么?我该如何解决?

  1. Settings (Preferences on Mac) | Editor | File Types
  2. Text files
  3. 找到并删除不需要的模式(很可能类似于 layout.blade 或类似的东西。