Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Plugin Cloud Code for IntelliJ menambahkan dukungan untuk pengembangan ke keluarga IDE JetBrains, termasuk IntelliJ (edisi Community dan Ultimate), GoLand, PyCharm, WebStorm (dan lainnya). Google Cloud
Prasyarat
Alat berikut diharapkan diinstal dan disiapkan di sistem Anda
dan tersedia di PATH komputer Anda:
IDE JetBrains versi 2022.3+
IDE Anda harus berupa IDE JetBrains seperti salah satu IDE berikut:
IntelliJ Ultimate atau Community
PyCharm Professional atau Community
WebStorm
GoLand
Git sehingga
Cloud Code dapat melakukan operasi Git, seperti meng-clone contoh.
Docker untuk membangun dan mengirim image container Anda.
Google Cloud project
dengan
penagihan diaktifkan
jika Anda menggunakan Google Cloud.
Project memungkinkan Anda mengumpulkan semua resource terkait untuk sebuah aplikasi di satu tempat, serta mengelola API, mengaktifkan layanan, menambahkan dan menghapus kolaborator, serta mengelola izin untuk resource. Google CloudGoogle Cloud
Atau, Anda dapat menginstal plugin langsung dari IDE:
Luncurkan IDE Anda.
Buka marketplace plugin IDE Anda:
Untuk Windows, buka File > Settings > Plugins.
Untuk macOS, buka IntelliJ IDEA > Preferences > Plugins.
Masukkan Google Cloud Code di kolom penelusuran, lalu instal
plugin Cloud Code.
Jika diminta, mulai ulang IDE untuk mengaktifkan plugin.
Untuk menghindari konflik jika Anda menggunakan Android Studio sebagai IDE, nonaktifkan plugin Google Cloud Tools for Android Studio setelah menginstal Cloud Code. Plugin Google Cloud Tools for Android Studio
akan segera dihentikan dan akan dihapus sepenuhnya dalam versi Android Studio mendatang.
Dependensi terkelola
Secara default, Cloud Code menginstal beberapa dependensi command line yang diperlukan secara otomatis, seperti:
kubectl untuk
menggunakan cluster Kubernetes dan mengelola deployment Kubernetes.
skaffold untuk mendukung
pengembangan berkelanjutan di cluster Kubernetes, pembuatan dan
pemberian tag image yang cerdas, serta berbagai jenis build dan deployment yang didukung.
gcloud CLI untuk mendukung pengelolaan
resource di Google Cloud.
Versi dependensi kustom
Untuk menggunakan versi dependensi kustom, batalkan keikutsertaan pengelolaan dependensi sebagai
berikut:
Tentukan setelan Cloud Code yang relevan di IDE Anda dengan membuka
File > Settings > Tools > Cloud Code > Dependencies atau,
untuk Mac OS X, IntelliJ IDEA > Preferences > Tools >
Cloud Code > Dependencies, dan mengonfigurasi bagian Deployment Tools.
Jika verifikasi gagal, salah satu pesan berikut akan muncul di output command line Anda:
Zip archive is not signed by provided certificate authority.
Provided zip archive is not signed.
Signature of zip archive is invalid.
Jika Anda tidak melihat pesan di output command line, berarti verifikasi berhasil.
Mendapatkan dukungan
Untuk mengirimkan masukan atau melaporkan masalah di IDE IntelliJ, buka
Tools > Cloud Code > Help / About > Submit
feedback or report an issue untuk melaporkan masalah di GitHub.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)."]]