PhpStorm - wrong syntax highlighting with Blade

926 Views Asked by At

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?

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER
  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.