The IntelliJ IDEA development environment is now able to directly access Google Cloud services with the new Cloud Tools plug-in. The extension can use the services API directly from the IDE, add the appropriate Java client libraries, and manage the Google Cloud Platform accounts.
The plugin allows you to log in to GCP directly from the development environment. This can be done through Tools> Google Cloud Tools> Add Cloud libraries ...:
In the window that appears, select the required API and your GCP project:
After clicking the Add Client Library button, a confirmation window will appear, notifying you of the API connection and creating an account in the service:
After confirmation, the plugin will offer the necessary environment variables:
The plugin can interact with the
pom.xml file of the Maven framework. Cloud Tools adds missing client libraries to the file, writes Bill of Materials (BOM) to avoid version conflicts, identifies and processes configuration errors.
At the end of July 2018, JetBrains developers released version 2018.2 of the IntelliJ IDEA development environment, adding support for Java 11, Groovy 2.5 and 3.0.