F
F
freelancer0072018-04-17 19:05:39
phpstorm
freelancer007, 2018-04-17 19:05:39

Why doesn't autocomplete work in laravel blade views?

Hello!
Such a situation, the auto-completion of blade directives does not work in views.
For example, in the form I start to enter @sect, But I don’t get options (@endsection @section)
And so with all the other blade directives.
Ide-helper is installed, the Laravel plugin is also installed.
I would be grateful for help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Victor, 2018-04-17
@v_decadence

In PhpStorm 2018 I have the same issue. Possibly a bug in the new version. Plugins have nothing to do with it, since Blade support is in PhpStorm itself.

Y
Yan-s, 2018-04-17
@Yan-s

Support for Blade templates is enabled by default for *.blade.php files, additional file types can be configured in Settings | File Types | Blade.
If everything is ok here, then we look to see if the Blade Support plugin is enabled. Checking if File exists | settings | Languages ​​& Frameworks | PHP | Blade
and whether there are necessary directives there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question