plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Feature Request/Question]: Exclude import suggestions of _laravel_idea directory

Open Allgoodnamesargone opened this issue 3 years ago • 2 comments

Feature Description

Hello, Well I am confused that something is wrong in my side or it's just like that!

I generate helper code by Ctrl+Shift+. and well, If i try to use for example Arr:get(...) on a new file i get a list of suggested classes to import which for me is contains Arr and Illuminate\Support\Arr which the second one is the correct import. image Is there any way to remove Import suggestions that are based in _laravel_idea directory?

Allgoodnamesargone avatar Aug 23 '22 11:08 Allgoodnamesargone

They both are correct.

\Arr:: is a standard alias for \Illuminate\Support\Arr::

adelf avatar Aug 23 '22 12:08 adelf

@adelf Correct, while you're typing Arr if you press Enter then that will use \Arr But if you completely write Arr::get(''); without pressing that Enter, it will just add a use Arr; and stays Arr::get('');

Allgoodnamesargone avatar Aug 23 '22 19:08 Allgoodnamesargone