支援的語言、IDE 和介面
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本文說明 Gemini Code Assist 支援的語言、IDE 和程式碼基礎架構介面。
提示支援的語言
Gemini Code Assist 支援下列語言:
- 阿拉伯文 (ar)
- 孟加拉文 (bn)
- 保加利亞文 (bg)
- 簡體中文和繁體中文 (zh)
- 克羅埃西亞文 (hr)
- 捷克文 (cs)
- 丹麥文 (da)
- 荷蘭文 (nl)
- 英文 (en)
- 愛沙尼亞文 (et)
- 芬蘭文 (fi)
- 法文 (fr)
- 德文 (de)
- 希臘文 (el)
- 希伯來文 (he)
- 印度文 (hi)
- 匈牙利文 (hu)
- 印尼文 (id)
- 義大利文 (it)
- 日文 (ja)
- 韓文 (ko)
- 拉脫維亞文 (lv)
- 立陶宛文 (lt)
- 挪威文 (no)
- 波蘭文 (pl)
- 葡萄牙文 (pt)
- 羅馬尼亞文 (ro)
- 俄文 (ru)
- 塞爾維亞文 (sr)
- 斯洛伐克文 (sk)
- 斯洛維尼亞文 (sl)
- 西班牙文 (es)
- 斯瓦希里文 (sw)
- 瑞典文 (sv)
- 泰文 (th)
- 土耳其文 (tr)
- 烏克蘭文 (uk)
- 越南文 (vi)
已驗證的程式語言
Gemini for Google Cloud 使用的 Gemini 大型語言模型 (LLM),是以公有領域中大量的程式碼範例訓練而成。因此,LLM 通常能夠理解並輔助多種程式設計語言。不過,由於語言數量眾多,我們對輔助品質的測試會因程式設計語言而異。因此,Google 選擇了部分程式設計語言,以驗證輔助和回覆的品質。
雖然 Gemini Code Assist 可協助處理各種程式設計語言,但 Google 已驗證下列程式設計語言:
支援的 IDE
下列 IDE 預設提供 Gemini Code Assist:
下列 IDE 支援 Gemini Code Assist 擴充功能:
支援的程式碼基礎架構介面
Gemini Code Assist 可協助使用下列程式碼即基礎架構介面:
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eGemini Code Assist supports prompts in 37 different languages, facilitating a wide range of user interactions.\u003c/p\u003e\n"],["\u003cp\u003eWhile capable of understanding numerous coding languages, Gemini Code Assist has verified its assistance quality in 22 specific coding languages, such as Python, Java, and C++.\u003c/p\u003e\n"],["\u003cp\u003eGemini Code Assist is readily available within Cloud Shell and Cloud Workstations, and also extends its support to VS Code and various JetBrains IDEs.\u003c/p\u003e\n"],["\u003cp\u003eThe code assistant also supports assistance with infrastructure as code interfaces, including Google Cloud CLI and Kubernetes Resource Model (KRM).\u003c/p\u003e\n"]]],[],null,["This document describes the languages, IDEs, and code infrastructure interfaces\nthat Gemini Code Assist supports.\n\nSupported languages for prompts\n\nGemini Code Assist supports the following languages:\n\n- Arabic (ar)\n- Bengali (bn)\n- Bulgarian (bg)\n- Chinese simplified and traditional (zh)\n- Croatian (hr)\n- Czech (cs)\n- Danish (da)\n- Dutch (nl)\n- English (en)\n- Estonian (et)\n- Finnish (fi)\n- French (fr)\n- German (de)\n- Greek (el)\n- Hebrew (he)\n- Hindi (hi)\n- Hungarian (hu)\n- Indonesian (id)\n- Italian (it)\n- Japanese (ja)\n- Korean (ko)\n- Latvian (lv)\n- Lithuanian (lt)\n- Norwegian (no)\n- Polish (pl)\n- Portuguese (pt)\n- Romanian (ro)\n- Russian (ru)\n- Serbian (sr)\n- Slovak (sk)\n- Slovenian (sl)\n- Spanish (es)\n- Swahili (sw)\n- Swedish (sv)\n- Thai (th)\n- Turkish (tr)\n- Ukrainian (uk)\n- Vietnamese (vi)\n\nVerified coding languages\n\nThe Gemini large language models (LLMs) that are used by\nGemini for Google Cloud are trained on a vast set of coding\nexamples within the public domain. Therefore, LLMs are often able to understand\nand provide assistance on a wide variety of coding languages. However, due to\nthe large number of languages, the testing of the quality of the assistance varies\nby coding language. Therefore, Google chose a subset of coding languages to\nverify the quality of assistance and responses.\n\nAlthough Gemini Code Assist can offer assistance on a wide\nvariety of coding languages, Google has *verified* the following coding\nlanguages:\n\n- [Bash](https://www.gnu.org/software/bash/)\n- [C](https://www.open-std.org/JTC1/SC22/WG14/www/standards)\n- [C++](https://isocpp.org/)\n- [C#](https://learn.microsoft.com/en-us/dotnet/csharp/)\n- [Dart](https://dart.dev/)\n- [Go](https://go.dev/)\n- [GoogleSQL](/bigquery/docs/introduction-sql)\n- [Java](https://docs.oracle.com/javase/8/docs/technotes/guides/language/index.html)\n- [JavaScript](https://www.javascript.com/)\n- [Kotlin](https://kotlinlang.org/)\n- [Lua](https://www.lua.org/)\n- [MATLAB](https://www.mathworks.com/products/matlab.html)\n- [PHP](https://www.php.net/)\n- [Python](https://www.python.org/)\n- [R](https://www.r-project.org/)\n- [Ruby](https://www.ruby-lang.org/en/)\n- [Rust](https://www.rust-lang.org/)\n- [Scala](https://www.scala-lang.org/)\n- [SQL](https://blog.ansi.org/sql-standard-iso-iec-9075-2023-ansi-x3-135/)\n- [Swift](https://developer.apple.com/swift/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [YAML](https://yaml.org/)\n\nSupported IDEs\n\nGemini Code Assist is available by default in the following IDEs:\n\n- [Cloud Shell](https://cloud.google.com/shell)\n- [Cloud Workstations](https://cloud.google.com/workstations)\n- [Android Studio](https://developer.android.com/studio/gemini/overview)\n\nThe Gemini Code Assist extension is supported in the following\nIDEs:\n\n- [VS Code](https://code.visualstudio.com/)\n- JetBrains IDEs:\n - [CLion](https://www.jetbrains.com/clion/)\n - [DataGrip](https://www.jetbrains.com/datagrip/)\n - [GoLand](https://www.jetbrains.com/go/)\n - [IntelliJ IDEA Community, Educational, and Ultimate](https://www.jetbrains.com/idea/download/)\n - [PhpStorm](https://www.jetbrains.com/phpstorm/)\n - [PyCharm Community and Professional](https://www.jetbrains.com/pycharm/)\n - [Rider](https://www.jetbrains.com/rider/)\n - [RubyMine](https://www.jetbrains.com/ruby/)\n - [WebStorm](https://www.jetbrains.com/webstorm/)\n\nSupported code infrastructure interfaces\n\nGemini Code Assist can offer assistance with the following\ninfrastructure as code interfaces:\n\n- [Gemini CLI](https://github.com/google-gemini/gemini-cli)\n\n\u003c!-- --\u003e\n\n- [Google Cloud CLI](https://cloud.google.com/cli)\n\n\u003c!-- --\u003e\n\n- [Kubernetes Resource Model (KRM)](https://github.com/kubernetes/design-proposals-archive/blob/main/architecture/resource-management.md)\n\nWhat's next\n\n- Learn how to [set up Gemini Code Assist](/gemini-code-assist/docs/set-up-gemini) at no cost, or if you prefer to get started with Gemini Code Assist Standard or Enterprise, see [Set up Gemini Code Assist (Standard and Enterprise)](/gemini-code-assist/docs/set-up-gemini-standard-enterprise).\n- Learn [how Gemini for Google Cloud uses your data](/gemini-code-assist/docs/data-governance).\n- Learn more about [Google Cloud compliance](https://cloud.google.com/compliance)."]]