The Cloud Code extension for IntelliJ adds support for Google Cloud Platform development to the JetBrains family of IDEs, including IntelliJ (both Community and Ultimate editions), GoLand, PyCharm, WebStorm (and others).
The following tools are expected to be installed and setup on your system
and available on the
PATH of your machine:
JetBrains IDE version 2019.1+
Your IDE should be a JetBrains IDE such as one of the following:
- IntelliJ Ultimate or Community
- PyCharm Professional or Community
Docker for building and pushing your container images.
Configured Kubernetes cluster which can either be a cluster for local development, such as Minikube or Docker Kubernetes cluster, or a remote cluster, such as Google Kubernetes Engine cluster. A Minikube cluster is recommended for local development.
Cloud Code will default to installing some required command line dependencies automatically, such as:
- kubectl for working with Kubernetes clusters and managing Kubernetes deployments.
- skaffold to support continuous development on a Kubernetes cluster, smart image building and tagging, and an array of supported deployment and build types.
If you would prefer to use custom versions of these dependencies, you may opt out of dependency management by specifying the relevant Cloud Code settings within your IDE (File > Settings > Other Settings > Cloud Code > Kubernetes or for Mac OS X, IntelliJ IDEA > Preferences > Other Settings > Cloud Code > Kubernetes).
Installing the Cloud Code plugin
From your IDE's plugins marketplace (File > Settings > Plugins or for Mac OS X, IntelliJ IDEA > Preferences > Plugins), search for the 'Cloud Code' plugin and install it.
You may be prompted to restart your IDE to activate the plugin.