Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 4 Blade markup and Ide Helper in PhpStorm

I cannot manage to have the autocomplete in PhpStorm to work for the Laravel 4 blade.php files. I've searched everywhere, but I cannot find other users with my problem. I have correctly installed this repository at https://github.com/barryvdh/laravel-ide-helper but I still get a blank formatting for the blade pages.

Thanks

like image 793
clod986 Avatar asked Sep 05 '13 13:09

clod986


1 Answers

The laravel-ide-helper package is not designed to give you autocomplete in the blade.php files. The laravel-ide-helper package is designed to give you autocomplete for the laravel facades in other PHP files.

PHPstorm does not know that code between {{ }} and {{{ }}} is PHP code so it does not know that it should provide autocomplete ability.

There is an issue on the PHPstorm Issue Tracker for syntax highlighting for the blade templating language that you should add your voice to if you wish for JetBrains to implement this feature.

like image 83
Hailwood Avatar answered Nov 02 '22 08:11

Hailwood