您可以在 支援的 IDE (例如 VS Code、JetBrains IDE 或 Android Studio) 中使用 Gemini Code Assist,取得 許多熱門語言的 AI 程式碼編寫輔助功能。您可以在編寫程式碼時取得程式碼補全建議、根據註解生成完整函式或程式碼區塊、產生單元測試,以及取得程式碼偵錯、解讀和記錄方面的協助。
Gemini for Google Cloud 產品仍處於早期技術階段,因此可能會生成看似合理卻與事實不符的輸出內容。使用 Gemini for Google Cloud products 的輸出內容前,請先確認內容是否屬實。詳情請參閱「Gemini for Google Cloud 和負責任的 AI 技術」。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-22 (世界標準時間)。"],[[["\u003cp\u003eGemini Code Assist offers AI-powered assistance for building, deploying, and operating applications throughout the software development lifecycle, available in both Standard and Enterprise editions.\u003c/p\u003e\n"],["\u003cp\u003eNew customers without a prior Gemini Code Assist subscription can receive credits equivalent to up to 50 free licenses for the first month.\u003c/p\u003e\n"],["\u003cp\u003eGemini Code Assist can be used in various IDEs, including VS Code, JetBrains IDEs, Cloud Workstations, and Cloud Shell Editor, offering features such as code completion, code generation, unit test creation, and debugging help.\u003c/p\u003e\n"],["\u003cp\u003eGemini Code Assist provides contextualized responses and source citations, and it also supports features like IP indemnification, VPC-SC, Private Google Access, and customized code suggestions.\u003c/p\u003e\n"],["\u003cp\u003eGemini Code Assist extends beyond coding assistance, with features in Apigee, Application Integration, BigQuery, Colab Enterprise, Databases, and Firebase, enhancing API development, integration, data analytics, notebook coding, database management, and application development, respectively.\u003c/p\u003e\n"]]],[],null,["# Gemini Code Assist Standard and Enterprise overview\n\nGemini Code Assist Standard and Enterprise, which are products in the\n[Gemini for Google Cloud](/gemini/docs/overview) portfolio, offer\nAI-powered assistance to help your development team build, deploy, and operate\napplications throughout the software development lifecycle. Note that these\nproducts are separate from\n[Gemini Code Assist for individuals](https://codeassist.google).\n\nYou can use Gemini Code Assist in\n\n[supported IDEs](/gemini/docs/codeassist/supported-languages#supported_ides),\nsuch as VS Code, JetBrains IDEs, or Android Studio, for AI-powered\ncoding assistance in\n\n[many popular languages](/gemini/docs/codeassist/supported-languages).\nYou can get code completions as you write your code, generate full\nfunctions or code blocks from comments, generate unit tests, and get help with\ndebugging, understanding, and documenting your code.\n\nGemini Code Assist provides contextualized responses to your\nprompts, including\n\n[source citations](/gemini/docs/discover/works#how-when-gemini-cites-sources)\nregarding which documentation and code samples\nGemini Code Assist used to generate its responses.\n\n[Learn how and when\nGemini for Google Cloud uses your data](/gemini/docs/discover/data-governance).\n\n\nAs an early-stage technology, Gemini for Google Cloud products can\ngenerate output that seems plausible but is factually incorrect. We recommend that you validate\nall output from Gemini for Google Cloud products before you use it. For more\ninformation, see\n[Gemini for Google Cloud and responsible AI](/gemini/docs/discover/responsible-ai).\n\nGemini Code Assist provides citation information when it\ndirectly quotes at length from another source, such as existing open source code.\nFor more information, see\n\n[How and when Gemini cites sources](/gemini/docs/discover/works#how-when-gemini-cites-sources).\n\n\nGemini Code Assist Standard and Enterprise editions overview\n------------------------------------------------------------\n\nThe following section compares the Gemini Code Assist Standard\nand Enterprise editions.\n\nThe Standard edition offers AI coding assistance, with enterprise-grade\nsecurity, for building and running applications. The Enterprise edition offers\nall of the [supported features](#supported-features) in the Standard edition,\nbut you can also customize it based on your private source code repositories,\nand it's integrated with additional Google Cloud services for building\napplications across a broader tech stack.\n\nThe following table helps you to decide which edition aligns best with your\norganization's development goals by highlighting the intended audience and the\nbenefits for each edition:\n\nFor a comparison of each edition's features, see\n[Supported features](#supported-features).\n\nSupported features for Gemini Code Assist Standard and Enterprise\n-----------------------------------------------------------------\n\nThe following sections show the types of generative AI assistance that are\navailable in Gemini Code Assist Standard and Enterprise.\n\n### Code assistance and chat\n\nThe following table shows the types of generative AI assistance that are\navailable in\n\n[supported IDEs](/gemini/docs/codeassist/supported-languages#supported_ides):\n\n\n### Additional features outside the IDE\n\nThe following sections detail additional features available with the\nGemini Code Assist Standard and Enterprise editions that go beyond\nassistance in your IDE.\n\n#### Gemini Cloud Assist\n\nThe following table shows the types of generative AI assistance in\n[Gemini Cloud Assist](https://cloud.google.com/gemini/docs/cloud-assist/overview)\nin the Google Cloud console:\n\n#### Gemini in Apigee\n\nThe following table shows the types of generative AI assistance with API\ndevelopment in [Apigee](https://cloud.google.com/apigee/docs) (IDE and the\nGoogle Cloud console):\n\n#### Gemini in Application Integration\n\nThe following table shows the types of generative AI assistance in\n[Application Integration](https://cloud.google.com/application-integration/docs/overview)\nin the Google Cloud console:\n\n#### Gemini in BigQuery features with Gemini Code Assist\n\nThe following table shows the types of generative AI assistance for BigQuery\nin [BigQuery Studio](https://cloud.google.com/bigquery/docs/query-overview#bigquery-studio):\n\n#### Gemini in Colab Enterprise\n\nThe following table shows the types of generative AI assistance for code in\n[Colab Enterprise](https://cloud.google.com/colab/docs/introduction):\n\n#### Gemini in databases\n\nThe following table shows the types of generative AI assistance for coding in\ndatabases:\n\n#### Gemini in Firebase\n\nThe following table shows the types of generative AI assistance for application\ndevelopment provided by\n[Gemini in Firebase](https://firebase.google.com/docs/gemini-in-firebase):\n\nSet up Gemini Code Assist\n-------------------------\n\nFor detailed setup steps, see\n[Set up Gemini Code Assist](/gemini/docs/discover/set-up-gemini).\n\nInteract with Gemini Code Assist in your IDE\n--------------------------------------------\n\nAfter you\n[set up Gemini Code Assist Standard or Enterprise for a Google Cloud project](/gemini/docs/discover/set-up-gemini),\nand install the Gemini Code Assist extension in your IDE\n([VS Code](https://marketplace.visualstudio.com/items?itemName=GoogleCloudTools.cloudcode)\nor [supported JetBrains IDE](https://plugins.jetbrains.com/plugin/24198-gemini-code-assist)),\nyou can ask for assistance in the following ways:\n\n- Receive code completions or generate code directly in the code editor.\n\n-\n Click spark **Gemini** in the IDE to\n display the conversational assistant. You can ask questions or select code in\n your editor and enter prompts such as the following:\n\n - `Write unit tests for my code.`\n - `Help me debug my code.`\n - `Make my code more readable.`\n\nFor more information, see\n\n[Use Gemini Code Assist in your IDE](/gemini/docs/codeassist/use-in-ide).\n\n\nWhat's next\n-----------\n\n- Learn how to [use Gemini Code Assist in your IDE](/gemini/docs/codeassist/use-in-ide).\n- Learn [how Gemini for Google Cloud uses your data](/gemini/docs/discover/data-governance).\n- Learn about [Gemini Code Assist pricing](/products/gemini/pricing).\n- Learn about the [security, privacy, and compliance of\n Gemini Code Assist](/gemini/docs/codeassist/security-privacy-compliance)."]]