问题
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:
Settings (Preferences on Mac) | Editor | File TypesText files- Find and get rid of unwanted pattern (most likely will something be similar to
layout.bladeor alike.
来源:https://stackoverflow.com/questions/30909095/phpstorm-wrong-syntax-highlighting-with-blade