laravel-ide-helper icon indicating copy to clipboard operation
laravel-ide-helper copied to clipboard

Can't jump to scope

Open J2TEAM opened this issue 3 years ago • 4 comments

I am using PHPStorm and can't jump automatic to scope, just go to comment only

Instead of jumping to here image

It brings me to here image

Edit: Do we have any way to make laravel-ide-helper tell IDE to jump in scopeExample() instead of example() when the user clicks on the scope method?

J2TEAM avatar Mar 22 '21 11:03 J2TEAM

That's expected ? 🤷‍♀️

The benefit is you can get any sense the addFieldcache is valid at all, isn't it?

mfn avatar Mar 22 '21 19:03 mfn

That's expected ? 🤷‍♀️

The benefit is you can get any sense the addFieldcache is valid at all, isn't it?

Hi @mfn, do we have any way to make laravel-ide-helper tell IDE to jump in scopeExample() instead of example() when the user clicks on the scope method? That's what I mean above.

J2TEAM avatar Mar 23 '21 02:03 J2TEAM

Not that I'm aware of

mfn avatar Mar 23 '21 07:03 mfn

Adding an inline @see could help: image the dev can see it in the hint panel (clicking it should open the scope): image In case the dev follows 'children' to the models file, they can also see the scope there there.

It's far from perfect, but I guess it's the nearest you can get so far.

uuf6429 avatar Apr 16 '21 08:04 uuf6429