Search code examples
phpstorm

PhpStorm - How to add spaces inside Laravel Blade curly braces


I was using VS Code and when I open {{ it was automatically closed and looked like this (a space in the middle of braces): {{ }}.

With PhpStorm braces looks like this (no space): {{}}

In short: I want to have {{ $post->title }} instead of {{$post->title}}


Solution

  • Unfortunately, it's not yet possible, and we already have a request for that: WI-27472