Reputation: 1167
I was hoping to add some custom auto-completion to phpStorm for Laravel Blade views, but I couldn't find anything about it in the documentation
Specifically, I want it to append the section closing when I type @section('secName').
So, typing
@section('mySection')
phpStorm would auto-append
@stop
Much like when you type
<p>
you end up with
<p></p>
I didn't see it in the documentation. I know about Live Templates, but that's not exactly the same.
Upvotes: 0
Views: 3200
Reputation: 130
you can create new Live Template on phpStorm! with Applicable is "Everywhere"
@section('$CONTENT$')
$END$
@stop
Upvotes: 1