Reputation: 4907
I tried most of thing and did exactly like larval-ide-helper but getting issue while code completion. please have a look screenshot.
When i use \Redirect in Code it working but not fully and if i use direct Redirect then here is screen :
Any one know what i missing ?
Thanks
Upvotes: 0
Views: 1111
Reputation: 5696
I think you should look at gist https://gist.github.com/barryvdh/5227822
Just download under your project root and restart you IDE.
From https://github.com/barryvdh/laravel-ide-helper
Update
And also take a look on video by Jef:
https://laracasts.com/series/how-to-be-awesome-in-phpstorm/episodes/15
Update About Namespace in Laravel 5:
The Redirect facade is not in the current namespace. So you either prepend it with :
return \Redirect::something();
Or add this at the top of your controller file:
use Redirect;
Upvotes: 3