plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Bug]: No autocompletion for validation (Form Request

Open SirMishaa opened this issue 3 years ago • 13 comments

Bug description

Hello,

Like you can I see, I have no autocompletion for my class GetQuoteRequest :( I'm a just on a simple Laravel project https://github.com/SirMishaa/yago-challenge

Am I doing something wrong? image

Plugin version

5.3.1.221

Operating system

Linux

Steps to reproduce

No response

Relevant log output

No response

SirMishaa avatar May 05 '22 07:05 SirMishaa

Nvm, it works now... I just needed to write a bit... (like the first two rules of validation, and now I have autocomplete... weird image

SirMishaa avatar May 05 '22 07:05 SirMishaa

That's strange. Actually, I have some reports about the same behavior - "floating" completion for validation rules in FormRequests... but I still can't reproduce this bug.

Could you share your PhpStorm logs? main menu - Help - Show log in Explorer?

adelf avatar May 05 '22 07:05 adelf

idea.log

Here you go And yes, sometime you have autocompletion, sometime not, it's a bit weird.

SirMishaa avatar May 05 '22 08:05 SirMishaa

Now this is happening on my side ALL the time

Allgoodnamesargone avatar Aug 24 '22 04:08 Allgoodnamesargone

I have the same problem

hexlay avatar Oct 26 '22 12:10 hexlay

Same on me, and I've never seen the autocompletion of validation.

KKJoshLo avatar Nov 27 '22 18:11 KKJoshLo

I Couldn't reproduce the issue, but I hope I found the reason. Will try to fix it soon.

adelf avatar Dec 01 '22 11:12 adelf

Please try the new 6.2.3 version.

adelf avatar Jan 16 '23 18:01 adelf

Please try the new 6.2.3 version.

It's not fixed.

Allgoodnamesargone avatar Jan 17 '23 23:01 Allgoodnamesargone

Same here. Version 6.2.4.223.

To be precise - it does autocomplete the rules (min, max, numeric, etc.). It does not autocomplete the field names (firstName, etc.).

GringoDotDev avatar Jan 23 '23 03:01 GringoDotDev

Same here. Version 6.2.4.223.

To be precise - it does autocomplete the rules (min, max, numeric, etc.). It does not autocomplete the field names (firstName, etc.).

Just faced this, i'm unable to auto-complete the form request fields in my controller. Will this ever be a feature? @adelf

charnary avatar Aug 15 '23 08:08 charnary

@heychazza you mean "$request->firstName" completion?

adelf avatar Aug 15 '23 09:08 adelf

@heychazza you mean "$request->firstName" completion?

Yep exactly, if you’ve got a form request, then in your controller try to access a field

charnary avatar Aug 15 '23 10:08 charnary