GoogleCloudPlatform / cloud-code-intellij

Plugin to support the Google Cloud Platform in IntelliJ IDEA - Docs and Issues Repository
Apache License 2.0
318 stars 59 forks source link

Improve Google Cloud Project selection window #3192

Open thecanadianroot opened 2 months ago

thecanadianroot commented 2 months ago

Expected Behavior

Loaded projects should not be reloaded automatically upon using the Select Google Cloud Project window. Another solution could be to allow saving a list of projects to allow easier switch between projects.

Actual Behavior

When selecting a Google Cloud Project from the Select Google Cloud Project window, all of the projects available to my account are loaded. This is not a problem for small organizations per se, but for larger organizations with thousands of projects, it takes a while (a couple of minutes), so it makes switching between projects a pain. It could be ok if all the projects were loaded once upon login, but from that point, they should not be refreshed automatically.

Additional Information

Thanks!

ivanporty commented 2 months ago

Thanks for the report. Most of the users don't have that many projects, but some do have longer time listing them. Your suggestion is one option, wdyt about also allowing entering project id/name manually without waiting for all projects to load?

thecanadianroot commented 2 months ago

Thanks for the report. Most of the users don't have that many projects, but some do have longer time listing them. Your suggestion is one option, wdyt about also allowing entering project id/name manually without waiting for all projects to load?

Thank you for your reply!

Yes, entering project id/name without waiting would work better than loading all the projects at once and then searching by name.

ivanporty commented 2 months ago

It is already possible for Gemini (if you change Gemini project via settings, you can type project name in the text field directly), we'll work on improving this for the main selection dialog too.

thecanadianroot commented 2 months ago

Much appreciated, thanks!