Update format for Model completion #58
Unanswered
bastien-phi
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As suggested in #57, using a duplicated class in
_ide_helper.php
file does not always work.Unfortunately, using
@mixin
breaks :Model::query()
methods completion$model->relation()
method completionPHPDoc tag @mixin contains unknown class NextIdeHelper\App\Models\User.
)In the contrary, it brings some improvements:
For 1 and 2, using
.phpstorm.meta.php
can do the trick :For 3, we need to add
Maybe another change is possible to fix the issue (ignoring the error with
'#PHPDoc tag @mixin contains unknown class NextIdeHelper\\.*\.$#'
)Changing this feature can be a good time for a global rework of files architecture, improvements, ...
Something like the folder architecture could cleanup all files :
Beta Was this translation helpful? Give feedback.
All reactions