nextras / orm-intellij

Nextras ORM Plugin for PhpStorm
https://plugins.jetbrains.com/plugin/7912-nextras-orm
MIT License
13 stars 2 forks source link

No autocompletion when not using this-> #16

Closed hrach closed 11 months ago

hrach commented 3 years ago

Hi :wave:, this question/issue mainly affects phpstorm plugin. Not the library itself.

:warning: Problem I'm having trouble with Cmd + Click or suggestions in findBy and similar methods.

:eyes: Observations Suggestions are working with this-> prefix which is now deprecated. They do not work without this-> prefix.

With this-> image

Without this-> image

:computer: Env Plugin version 0.7.1, phpstorm 2020.3RC, Linux

:question: Question How do I fix this? Is this a known bug?

Originally posted by @mrceperka in https://github.com/nextras/orm/discussions/474

mrceperka commented 3 years ago

Fixed by Invalidate Caches

hrach commented 3 years ago

Well, plugin installation forces new reindes, however when you update Orm only, it won't happen. We should change the code to handle both Orm versions at one.

hrach commented 11 months ago

Closing as there is a solution.