Closed abelharisov closed 2 years ago
I can't reproduce this, models -M
and meta
generate the files which allow my models to autocomplete ::whereHas
for me
Same issue here. My IDE can't see all the "regular" query builder methods anymore (like find()
or first()
).
I am using:
Only methods available are:
newModelQuery()
newQuery()
query()
where[ColumnName]()
methods@mfn do you have @mixin \Eloquent
next to @mixin IdeHelperFoo
or in the _ide_helper_models.php
list of methods/properties for the Foo
model? If so, that's why this is working for you. I'm on ide-helper 2.12.3 and I don't see @mixin \Eloquen
anywhere, nor do the classes defined in _ide_helper_models.php
extend \Eloquent
like the file used to in the past.
Doing ide-helper:eloquent
and after that re-doing ide-helper:models -M
fixed the issue for me. \Eloquent
is now in the models file.
Oh wow, I didn't realize ide-helper:eloquent
was a thing! Thank you!
@barryvdh Thanks!
No configuration I make can work here, the options always look like this without showing the rest:
Versions:
Description:
Autocompletion is not available for some methods.
Commands used to generate helpers: