I think you may be needing the "Blade Support" plugin, just go the Preferences option in the PHPStorm menu (CMD + ,) if you are on a MAC > Plugins > Install JetBrains plugin and look for Blade.
Install it and restart, it should be working after that.
Thank you for your response but I do have Laravel plugin and Blade Support plugin installed and enabled on my PhpStorm. I always have used these plugins but I was just trying to use the variable type hinting in PhpStorm but I just can't figure out why the type hinting works in raw php block but not in blade block... :(
Does anyone know what the namespace path to Models folder is? Maybe I need to declare the hint variable with the namespace in order to be recognized within Blade?
For anyone interested in solution to this problem, I just found out that auto-completion assistance does work inside {{ }} blade in PhpStorm 2017.3 EAP build and someone told me it also works in 2017.2.4 version of PhpStorm.
I guess this is a new enhancement after the PhpStorm 2016.3.3 version was released.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community