[Feature Request]: Refresh database connection(s) when generating helper code
Feature Description
I often forget to refresh my database connection after making changes before generating helper code and it's been causing some confusion...
A new option could be added in this dialog after selecting the option to fetch from Connection.
The reason for having to use the connection in the first place is because I use my own migration system that obviously doesn't work with the plugin.
We already tried to do that, but there were a lot of issues. PhpStorm crushes, etc. We will try to do it again soon.
Interesting, if automatically won't work but adding a button that does the refresh does work, adding a pop up with a refresh button in it could be an alternative.
I am fairly sure this was the cause of a bug for me where some fields just would never get seen by laravel idea.
Possibly a good temporary solution might be to warn users about stale connections? This has been a head scratcher for a long time for me as I think the last time I refreshed the connection was months ago.
Jetbrains db introspection is getting reworked, we well investigate if this problem is closer to solution now. Close as duplicate for now, feel free to follow that other issue.
Not sure what other issue you mean. Do you have a link @gorbunov ?
You can track progress by following this github issue.