laravel-idea / plugin

Laravel Idea plugin for PhpStorm
https://laravel-idea.com/
176 stars 7 forks source link

Autocomplete not working on $request->validate and Validator::make Laravel 8 #330

Open gitmit1tbcopters opened 3 years ago

gitmit1tbcopters commented 3 years ago

Hello,

After upgrading my project from Laravel 6 to 8 this plugin is not suggesting auto-complete validation rules in $request->validate function and Validator::make function. But my other old projects it is working fine.

adelf commented 3 years ago

Hello. Have you tried to File > Invalidate Caches and Restart?

gitmit1tbcopters commented 3 years ago

Hello @adelf

Yes. But now sometimes it is suggesting and sometimes not. I have pressed the ctrl+space bar many times, but it is showing no suggestions message. :(

adelf commented 3 years ago

Is there a correlation with anything when it completes and doesn't?

gitmit1tbcopters commented 3 years ago

As I can see now the first rule is not auto-completing. if I enter it manually and wait for 1 or 2 minutes then the suggestions are showing after pressing the ctrl+space bar.