GoogleCloudPlatform / cloud-code-intellij

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

[Deployment Manager] Add support for auto completion of configuration files #2757

Open dcremonini opened 4 years ago

dcremonini commented 4 years ago

This is a feature request

What did you do? I tried to create a deployment manager file from scratch using IntelliJ (version 2020.1.1 community edition) and the Cloud Code plugin (see version above).

What did you expect to see? I would expect to have auto complete support while editing the file.

What did you see instead? There is no auto complete at all


As the article Creating a Basic Configuration suggests, a human being should manually search for valid values using

gcloud deployment-manager types list

and check the syntax by a trial and error process.

Behind the scenes I imagine that the tool should call commands such as:

gcloud deployment-manager types list

or using information from the API reference such as Method: networks.insert so it shouldn't be that hard.


I originally started this question on this Stack Overflow question

etanshaul commented 4 years ago

thanks for the fr @dcremonini . I think this is a good suggestion and a potentially interesting integration. We'll discuss internally and see if/how this fits in with our plans.