laravel-ide-helper
laravel-ide-helper copied to clipboard
Can't jump to scope
I am using PHPStorm and can't jump automatic to scope, just go to comment only
Instead of jumping to here
It brings me to here
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?
That's expected ? 🤷♀️
The benefit is you can get any sense the addFieldcache
is valid at all, isn't it?
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.
Not that I'm aware of
Adding an inline @see
could help:
the dev can see it in the hint panel (clicking it should open the scope):
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.