Martin Heralecký
Martin Heralecký

Reputation: 5789

PhpStorm - wrong syntax highlighting with Blade

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

Upvotes: 1

Views: 981

Answers (1)

LazyOne
LazyOne

Reputation: 165471

  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.

Upvotes: 2

Related Questions