Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
O plug-in do Cloud Code para IntelliJ adiciona compatibilidade com o desenvolvimento em Google Cloud à família de ambientes de desenvolvimento integrado da JetBrains, incluindo IntelliJ (edições Community e Ultimate), GoLand, PyCharm, WebStorm e outros.
Pré-requisitos
As seguintes ferramentas serão instaladas e configuradas no sistema e estarão disponíveis no PATH da sua máquina:
Ambiente de desenvolvimento integrado JetBrains versão 2022.3 ou posterior
É necessário que o ambiente de desenvolvimento integrado seja algum desses da JetBrains:
IntelliJ Ultimate ou Community
PyCharm Professional ou Community
WebStorm
GoLand
Git para que o
Cloud Code possa realizar operações do Git, como clonar uma amostra.
Docker para criar e enviar as imagens de contêiner.
Google Cloud projeto
com
faturamento ativado
se você estiver usando Google Cloud.
Com os projetos, é possível coletar todos os recursos relacionados a um único aplicativo em um só lugar, além de gerenciar APIs, ativar serviços do Google Cloud, adicionar e remover colaboradores e gerenciar permissões para recursos doGoogle Cloud .
Como alternativa, instale o plug-in diretamente no seu ambiente de desenvolvimento integrado:
Inicie o ambiente de desenvolvimento integrado.
Abra o mercado de plug-ins da sua IDE:
No Windows, acesse File > Settings > Plugins.
No macOS, navegue até IntelliJ IDEA > Preferências > Plug-ins.
Digite Google Cloud Code no campo de pesquisa e instale o plug-in do Cloud Code.
Se solicitado, reinicie o ambiente de desenvolvimento integrado para ativar o plug-in.
Para evitar conflitos se você estiver usando o Android Studio como ambiente de desenvolvimento integrado, desative
o plug-in Google Cloud Tools for Android Studio depois de instalar
o Cloud Code. O plug-in Google Cloud Tools for Android Studio
será descontinuado em breve e removido completamente em uma versão futura do
Android Studio.
Dependências gerenciadas
Por padrão, o Cloud Code instala algumas dependências de linha de comando necessárias automaticamente, como:
kubectl para trabalhar com clusters e gerenciar implantações do Kubernetes.
Skaffold para dar suporte ao desenvolvimento contínuo em um cluster do Kubernetes, à criação e inclusão de tags inteligente de imagens e a uma matriz de tipos de build e implantação compatíveis.
minikube para compatibilidade com o desenvolvimento local.
CLI gcloud para gerenciar recursos no Google Cloud.
Versões personalizadas de dependências
Para usar versões personalizadas de dependências, desative o gerenciamento de dependências da seguinte maneira:
Especifique as configurações relevantes do Cloud Code no seu ambiente de desenvolvimento integrado abrindo
File > Settings > Tools > Cloud Code. > Dependencies ou,
no Mac OS X, IntelliJ IDEA > Preferences > Tools >
Cloud Code > Dependências e configuração da seção Ferramentas de implantação.
Faça o download da versão mais recente do Cloud Code ou de uma versão que você
quer verificar e que se enquadra nas versões atuais que oferecem suporte à
verificação:
Estável: todas as versões após 23.1.1-221/23.1.1-222
(23.1.1-221/23.1.1-222 não incluído)
Insiders: todas as versões após 23.1.1-221-IB.1/23.1.1-222-IB.1
(23.1.1-221-IB.1/23.1.1-222-IB.1 não incluído)
Anote o caminho para o binário do Cloud Code
(o arquivo google-cloud-code.zip).
Para verificar o binário do Cloud Code, siga estas etapas:
Faça o download da versão mais recente do arquivo marketplace-zip-signer-cli.jar
para sua máquina. Anote o caminho do arquivo jar.
Se a verificação falhar, uma das seguintes mensagens vai aparecer na saída da linha de comando:
Zip archive is not signed by provided certificate authority.
Provided zip archive is not signed.
Signature of zip archive is invalid.
Se nenhuma mensagem aparecer na saída da linha de comando, a verificação foi concluída.
Receber suporte
Para enviar um feedback ou informar um problema no ambiente de desenvolvimento integrado do IntelliJ, acesse
Tools > Cloud Code > Help / About > Envie
feedback ou informe um problema para informar um problema no GitHub.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[],[],null,["# Install the Cloud Code for IntelliJ plugin\n\nThe Cloud Code for IntelliJ plugin adds support for Google Cloud development to the\nJetBrains family of IDEs, including IntelliJ (both Community and Ultimate\neditions), GoLand, PyCharm, WebStorm (and others).\n\nPrerequisites\n-------------\n\n| **Note:** You must have a JetBrains IDE version of 2022.3++ to use Cloud Code for IntelliJ.\n\nThe following tools are expected to be installed and set up on your system\nand available on the `PATH` of your machine:\n\n- **JetBrains IDE version 2022.3+**\n\n Your IDE should be a JetBrains IDE such as one of the following:\n - IntelliJ Ultimate or Community\n - PyCharm Professional or Community\n - WebStorm\n - GoLand\n- **[Git](https://git-scm.com/downloads)** so that\n Cloud Code can perform Git operations, like cloning a sample.\n\n- **[Docker](https://docs.docker.com/install/)** for building and pushing your\n container images.\n\n- **Configured Kubernetes cluster** which can either be a cluster for local\n development, such as [minikube](https://kubernetes.io/docs/tasks/tools/#minikube) or\n [Docker Kubernetes](https://docs.docker.com/docker-for-mac/kubernetes/)\n cluster, or a remote cluster, such as\n [Google Kubernetes Engine cluster](/kubernetes-engine).\n A minikube cluster is recommended for local development; minikube can\n be [managed automatically](#managed_dependencies) by Cloud Code.\n\n- **[Google Cloud project](https://console.cloud.google.com/projectselector2)**\n with\n [billing enabled](/billing/docs/how-to/modify-project)\n if you're using Google Cloud.\n Projects allow you to collect all of the related resources for a single\n application in one place as well as manage APIs, enable Google Cloud\n services, add and remove collaborators, and manage permissions for\n Google Cloud resources.\n\nInstall the Cloud Code plugin\n-----------------------------\n\n[Install the Cloud Code plugin](https://plugins.jetbrains.com/plugin/8079-google-cloud-code) from the JetBrains Marketplace.\n| **Note:** When installing Cloud Code, the [Gemini Code Assist](/gemini/docs/codeassist/overview) plugin is also installed by default.\n\nAlternatively, you can install the plugin directly from your IDE:\n\n1. Launch your IDE.\n\n2. Open your IDE's plugins marketplace:\n\n - For Windows, navigate to **File** \\\u003e **Settings** \\\u003e **Plugins**.\n - For macOS, navigate to **IntelliJ IDEA** \\\u003e **Preferences** \\\u003e **Plugins**.\n3. Enter `Google Cloud Code` in the search field and then install\n the Cloud Code plugin.\n\n4. If prompted, restart your IDE to activate the plugin.\n\n5. To avoid any conflicts if you're using Android Studio as your IDE, disable\n the Google Cloud Tools for Android Studio plugin after installing\n Cloud Code. The Google Cloud Tools for Android Studio\n plugin will be deprecated soon and will be fully removed in a future version of\n Android Studio.\n\n### Managed dependencies\n\nBy default, Cloud Code installs some required command-line\ndependencies automatically, such as:\n\n- **[kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)** for working with Kubernetes clusters and managing Kubernetes deployments.\n- **[skaffold](/skaffold)** to support continuous development on a Kubernetes cluster, smart image building and tagging, and an array of supported deployment and build types.\n- **[minikube](https://minikube.sigs.k8s.io/docs/start/)** to support local development.\n- **[gcloud CLI](/sdk/install)** to support managing resources on Google Cloud.\n\n#### Custom versions of dependencies\n\nTo use custom versions of dependencies, opt out of dependency management as\nfollows:\n\n1. Specify the relevant Cloud Code settings in your IDE by opening\n **File** \\\u003e **Settings** \\\u003e **Tools** \\\u003e **Cloud Code** \\\u003e **Dependencies** or,\n for Mac OS X, **IntelliJ IDEA** \\\u003e **Preferences** \\\u003e **Tools** \\\u003e\n **Cloud Code** \\\u003e **Dependencies** , and configuring the **Deployment Tools**\n section.\n\n2. Install the relevant dependencies on your `PATH`:\n\n - [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)\n - [Skaffold](https://skaffold.dev/docs/install/)\n - [minikube](https://minikube.sigs.k8s.io/docs/start/) for local development\n - [Google Cloud CLI](/sdk/install) if developing with Google Cloud\n\nOptional: Download and verify the Cloud Code binary\n---------------------------------------------------\n\nVerifying the Cloud Code binary helps to ensure you that the\nCloud Code plugin hasn't been tampered with over the course of the\npublishing and delivery pipeline.\n\nTo download the Cloud Code *Stable* or *Insiders* binary to your\nmachine, follow these steps:\n\n1. On Cloud Code's [**Plugin versions**](https://plugins.jetbrains.com/plugin/8079-cloud-code/versions)\n page, select either the [**Stable**](https://plugins.jetbrains.com/plugin/8079-cloud-code/versions/stable) or\n [**Insiders**](https://plugins.jetbrains.com/plugin/8079-cloud-code/versions/insiders) channel.\n\n For more information on the Insiders build, see\n [Use pre-release features](/code/docs/intellij/insiders).\n2. Download the latest version of Cloud Code or a version that you\n want to verify that falls under the current versions that support\n verification:\n\n - Stable: Every release after `23.1.1-221`/`23.1.1-222`\n (`23.1.1-221`/`23.1.1-222` not included)\n\n - Insiders: Every release after `23.1.1-221-IB.1`/`23.1.1-222-IB.1`\n (`23.1.1-221-IB.1`/`23.1.1-222-IB.1` not included)\n\n3. Take note of the path to your Cloud Code binary\n (the `google-cloud-code.zip` file).\n\nTo verify the Cloud Code binary, follow these steps:\n\n1. Download the latest version of the [`marketplace-zip-signer-cli.jar`](https://github.com/JetBrains/marketplace-zip-signer/releases)\n file to your machine. Take note of the path to your `jar` file.\n\n2. Download [DigiCert Trusted Root G4](https://www.digicert.com/kb/digicert-root-certificates.htm).\n Take note of the path to your certificate file.\n\n | **Tip:** Since there are many items on the [DigiCert Trusted Root Authority Certificates page](https://www.digicert.com/kb/digicert-root-certificates.htm), use `Ctrl`/`Cmd`+`F` and search for `DigiCert Trusted Root G4`.\n3. Ensure you have the [JDK](https://www.oracle.com/ca-en/java/technologies/downloads/)\n installed. This is required to run Java commands.\n\n4. To verify the `zip` file (the Cloud Code binary), run the\n following in your command line:\n\n java -jar \u003cvar translate=\"no\"\u003ePATH_TO_ZIP_SIGNER_JAR\u003c/var\u003e verify -in \u003cvar translate=\"no\"\u003ePATH_TO_ZIP_FILE\u003c/var\u003e -cert \u003cvar translate=\"no\"\u003ePATH_TO_CERTIFICATE_FILE\u003c/var\u003e\n\n If the verification fails, one of the following messages appears in your\n command line output:\n - `Zip archive is not signed by provided certificate authority.`\n - `Provided zip archive is not signed.`\n - `Signature of zip archive is invalid.`\n\n If you don't see a message in the command line output, then the verification\n is successful.\n\nGet support\n-----------\n\nTo submit feedback or report an issue in your IntelliJ IDE, go to **Tools** \\\u003e **Cloud Code** \\\u003e **Help / About** \\\u003e **Submit\nfeedback or report an issue** to report an issue on [GitHub](https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues)."]]