支持的语言、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 可为以下基础设施即代码接口提供帮助:
后续步骤
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):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,["# Supported languages, IDEs, and interfaces\n\nThis document describes the languages, IDEs, and code infrastructure interfaces\nthat Gemini Code Assist supports.\n\nSupported languages for prompts\n-------------------------------\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-------------------------\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--------------\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----------------------------------------\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\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)."]]