Google Cloud Tools

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand Rider
Oct 20, 2018
65 505

This plugin integrates Google Cloud Platform into your IDE development workflows.

The following features are all available in IntelliJ IDEA, but only Cloud Storage and Cloud Source Repositories integration are available in the other JetBrains IDEs:

  • Deploying to the App Engine standard and flexible environments.
  • Setting Stackdriver Debugger snapshots to debug your applications running in the cloud.
  • Checking out or importing your projects from Cloud Source Repositories.
  • Browsing your Cloud Storage buckets and copying bucket paths into your clipboard.
  • Running and debugging App Engine standard applications on a local development server.
  • Adding Cloud Client Libraries for Java to your project.

Refer to the Supported Platforms page to see the full list of features available in the IDEs.

Download plugin

Recent change notes

This plugin requires the use of the Cloud SDK and will automatically download and update it for you. If you choose to use your own installation (configurable via Settings -> Google -> Cloud SDK), make sure to install the Cloud SDK version 171.0.0 or later. Please run 'gcloud components update' from your shell to ensure you have the latest Cloud SDK release.

[18.10.1] Added
  • Stackdriver Debugger now works with Kotlin projects. (#2253)
  • Fixed IDE exception when Cloud SDK version cannot be parsed. Showing a notification instead. (#2259)
  • Fixed NoSuchMethodError on jdom.Element#detach during legacy App Engine facet migration. (#2255)
  • Fixed issue with Stackdriver Debugger where it would not remember the last Cloud Project selection across multiple run configurations. (#2266)
[18.8.1] Added
  • Users can now manage Google Cloud APIs, create service accounts with custom roles in all Jetbrains IDEs, including PyCharm, GoLand, PhpStorm, WebStorm, and others. (#2182)
  • Fixed GCP project selector look and feel for IDEA 2018.2 (#2237)
[18.7.1] Added
  • Users can now deploy Gradle based projects with Community Edition and the app-gradle-plugin. (#2105)
  • Environment variables needed for Google Cloud APIs are now added automatically to plain Java run configurations. (#2148)
  • Fixed appengine-web.xml generation to work properly with Maven and Gradle based projects including spring-boot projects. (#1948)
[18.6.1] Fixed
  • Fixed errors in the managed Cloud SDK caused by downgrading the version. (#666)
  • Fixed error in the managed Cloud SDK caused by "HEAD" in the version file. (#561)

Google Cloud Tools for IntelliJ is now available in PyCharm (Community and Professional). Browse your GCS buckets, and interact with Cloud Source Repositories from PyCharm. More IDEs coming soon.

  • Updated description on plugin repository web page to indicate IDE feature breakdown. (#2150)

Google Cloud Tools for IntelliJ is now available in PyCharm (Community and Professional). Browse your GCS buckets, and interact with Cloud Source Repositories from PyCharm. More IDEs coming soon.

  • Refactored plugin so that language agnostic features (Cloud Storage, Cloud Source Repos) are available in other JetBrains IDEs besides IDEA. (#1896)
  • The managed Cloud SDK will no longer be installed on each IDE load after the first manual cancellation. (#2113)
  • Fixed exception in 2018.2 EAP. (#2124)
[18.4.1] Added
  • Let the Google Cloud Tools plugin manage the Google Cloud SDK for you - including download, installation, and updates. No longer any need to manually download the SDK. (#673)
  • Mitigate dependency version conflicts with built in Google Cloud Java BOM support. Includes auto-adding the BOM when adding google client libraries, plus pom.xml inspections to help manage dependency version conflicts. #1921)
  • Automatically add required environment variables to App Engine local run configurations for locally accessing Google Cloud APIs. (#1917)
[18.3.2] Fixed
  • Fixed bug causing plugin initialization error on versions less than 2017.3. (#1972)
[18.3.1] Added
  • Added ability to create service accounts and download service account keys from the IDE client library workflow. (#1808)
  • Fixed cases where appengine-web.xml wasn't being generated due to missing web.xml. (#1903)
[18.2.1] Added
  • Added Google Cloud Java client library discovery and addition from the IDE. (#1806)
  • Added ability to enable Google Cloud APIs from the IDE. (#1807)
  • Updated the cloud project selector with a greatly improved user experience. (#1719)
  • Updated the cloud project selector so that the last selection is remembered and defaulted. (#1812)
  • Fixed missing App Engine standard local run artifacts. (#1625)
[18.1.1] Fixed
  • Fixed broken error reporting mechanism. (#1842)
[17.12.2] Fixed
  • Fixed broken analytics property setup causing dropped analytics. (#1773)

The Google Account plugin has now been merged into the Cloud Tools plugin and is no longer a separate installation. If you previously had the Account Tools plugin installed, follow the new dialog prompt to remove it and restart the IDE to ensure that you don't experience any issues.

  • Fixed out of memory error when typing and searching for multiple projects in the cloud project selector. (#1742)
  • The Google Account plugin is now integrated into the Google Cloud Tools plugin. A separate Google Account plugin installation is no longer required. (#1735)
[17.11.1] Added
  • Google Cloud Storage (GCS) integration in IntelliJ. You can now browse your GCS buckets and view their contents without leaving the IDE. (#1696)
  • Searching and filtering capabilities in the cloud project selector. (#1660)
  • New 'add App Engine framework support' tools menu shortcut to provide another way to add App Engine support to a project. (#1685)
  • Fixed App Engine region indicator status message when no cloud project has been selected. (#1607)

Java 8 on App Engine standard environment is now generally available.

  • Updated the new App Engine standard project wizard to generate Java 8 applications by default. (#1641)
[17.9.1] Added
  • Added the ability to change the name of the staged artifact for App Engine flexible deployments. (#1610)
  • App Engine flexible deployment configurations now default to deploy the artifact as-is, without renaming to "target.jar" or "target.war". (#1151)
  • Updated the name of the placeholder artifact name in the generated Dockerfile templates to make it clearer that it needs to be updated by the user. (#1648)
  • App Engine standard deployment configurations now default to update dos, dispatch, cron, queues, and datastore indexes. (#1613)
  • Native projects that add support for Cloud Endpoints Frameworks for App Engine will now use Endpoints V2. (#1612)
  • Fixed the `Deployment source not found` error when deploying Maven artifacts. (#1220)
  • Fixed the scale of the user icon on HiDPI displays. (#1633)
  • Fixed an issue where the plugin was downgraded on the IDEA 2017.3 EAP. (#1631)
[17.8.2] Fixed
  • Fixed "Error: invalid_scope" issue when logging in with your Google Account. (#1598)
[17.8.1] Added
  • Added a feedback & issue reporting link to the Google Cloud Tools shortcut menu. (#1560)
  • Users can now save deployment run configurations that are partially completed or in an error state. (#1407)
  • Fixed registered Docker language conflict causing issues running plugin alongside .ignore plugin. (#1535)
  • Fixed NPE parsing Stackdriver Debugger breakpoint timestamps. (#1537)
  • Removed EAR as acceptable App Engine artifact type for local dev server runs. (#1190)
  • Deployments are now displayed across multiple IDE windows. (#1432)
  • Fixed crash caused by attempting to modify a read-only collection. (#1571)
[17.6.2] Fixed
  • Fixed NPE occurring when there is a local dev server configuration but no standard facet. (#1525)
[17.6.1] Added
  • App Engine flexible facet with app.yaml and Dockerfile configuration. (#1514)
  • App Engine flexible framework support detection. (#1277)
  • Allow user to specify a Docker directory instead of just a Dockerfile for flexible deployments. (#1304)
  • Refresh the user experience of the deployment dialog (both standard and flexible). (#1477)
  • Fixed Google avatar size for HiDPI displays. (#1391)
[17.2.5_2017] Added
  • Environment variables in the App Engine standard local run configuration are now passed in to the dev server. (#1364)
  • Environment variables configured in appengine-web.xml are now honored and passed in to the dev server. (#377)
[17.2.4_2017] Added
  • Added a checkbox to deploy all App Engine config files during service deployment. (#1346)
[17.2.3_2017] Changed
  • Removed the Clear Datastore flag from the App Engine standard local development server configuration since the current version of the server doesn't support it. (#1345)
[17.2.2_2017] Fixed
  • Invalid Java Runtime Environment (JRE) on staging an App Engine standard app (#1316):
    Unable to stage app: Cannot get the System Java Compiler. Please use a JDK, not a JRE.

Happy new year Cloud Tools for IntelliJ users! This year's first release is primarily a maintenance release. If you are having authentication problems using Cloud Source Repositories and our plugin, check out this possible solution.

Here is a list of the visible changes:

  • Support for multiple cloud source repositories for a single GCP project. (#1024)
  • App Engine initialization and region selection. (#1232)
  • Stopping dev_appserver on Windows always fails with com.intellij.execution .ExecutionException. (#1215)
  • New AE standard project wizard should generate web.xml with servlet 2.5. (#1194)
  • Clear datastore checkbox for app engine standard local server does not work. (#1188)
  • Don't show projects scheduled for deletion in the project selector. (#1119)

Visit our 17.2 Release Milestone for complete details.

[16.11.6] Added
  • Expanded Google Cloud Tools menu item with various action shortcuts. (#1061)
  • Check for minimum support Cloud SDK version. (#1051)
  • Automatically create all relevant run configuration for App Engine Standard apps. (#1063)
  • App Engine framework is now a child of Web framework in the new project wizard. (#1065)
  • Unique deployment sources in application server deployment panel now appear as separate line items. (#821)
  • Validation of invalid Cloud SDK paths on Windows. (#1091)
[16.10.5] Fixed
  • Fixed issue with local development server debug mode when changes are made while the server is running. (#972)
  • Better wording when the development server has an invalid Cloud SDK path. (#1043).
  • Update run configuration names to be prefixed with 'Google ..' (#1021).
  • Note we are changing the versioning scheme to YY.MM.i. We plan on a monthly release cadence to minimize the disruption of updates. Also notice we have dropped the 'Beta' label.
  • BE AWARE: The local App Engine development server is broken with the latest JDK 8 releases. (#920). This should be fixed with the next App Engine SDK release coming soon.

  • App Engine Standard Library importer in the Facet and Project wizard. (#866)

  • Standard App Engine apps using Java 8 language level will be notified to use language level 7 (#966)

  • Updated run config labels and icons. (Cloud Debugger is now Stackdriver Debug) (#936)

  • Local Development server debug mode is fixed. (#928)

  • Flex deployment broken on Windows 10. (#937)
  • Cloud Debugger object inspector working again. (#929)
  • Cloud Debugger snapshot timestamps causing NPE (#919)
[1.0-beta] - 2016-09-14 Added
  • App Engine standard environment support (#767)
  • Extra fields now available in the deployment config (#868)