Laravel-ide-helper: Autocomplete in model not working in PhpStorm

Created on 23 Jul 2017  路  4Comments  路  Source: barryvdh/laravel-ide-helper

PhpStorm is unable to autocomplete only in models, it also fails to autocomplete built-in php functions, but when a model extends Eloquent instead of Model the autocomplete works correct and also when i generate phpdocs for the models using the comman php artisan ide-helper:models it works.

without ide-helper:models and extends Model
image

with ide-helper:models
image

I am using Laravel 5.4.30

Most helpful comment

see #541 , hopefully it'll get fixed soon. It's kinda annoying.

All 4 comments

see #541 , hopefully it'll get fixed soon. It's kinda annoying.

https://github.com/barryvdh/laravel-ide-helper/issues/541#issuecomment-317411918
this includes issue with PhpStorm not handling dynamic method calls via __callStatic on a non-static method

This is a duplicate of the linked issue.

this update would make automate the adding of the mixin via the ide-helper commands...
https://github.com/barryvdh/laravel-ide-helper/pull/544

@barryvdh this is another issue fixed with the @mixin and can be closed :}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

beniaminorossini picture beniaminorossini  路  5Comments

inderjeet1313 picture inderjeet1313  路  4Comments

Lambik picture Lambik  路  5Comments

quantumwebco picture quantumwebco  路  4Comments

Newbie012 picture Newbie012  路  4Comments