# GitHub语言支持

功能支持的 GitHub 编程语言概述。

<!-- If you make changes to this article, also update any feature-level articles to reflect the same changes in language support. -->

## 关于支持的语言

大多数 GitHub 功能都起作用，无论代码编写的语言如何。 可以根据GitHub已知的任何语言搜索代码或启用语法高亮显示。 欲了解更多信息，请参阅 \[AUTOTITLE]（/search-github/github-code-search/understanding-github-code-search-syntax#language-qualifier） 或 [创建和突显代码块](/zh/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting)。

某些 GitHub 产品具有目前仅支持一部分编程语言的功能。

GitHub 功能的核心语言包括 C、C++、C#、Go、Java、JavaScript、Kotlin、PHP、Python、Ruby、Rust、Scala 和 TypeScript。 对于支持包管理器的功能，当前支持的包管理器及其相关语言包含在表中。

某些功能支持其他语言或包管理器。 如果想要了解某个功能是否支持另一种语言或请求支持语言，请访问 [GitHub 社区讨论](https://github.com/orgs/community/discussions)。

<!-- Source for the following tables lives in data/tables/supported-code-languages.yml -->

## 在 GitHub.com 和 GitHub Enterprise Cloud 中支持的核心语言

|语言 | |：----|

> \[!NOTE]
>
> ```
>           语言支持 GitHub Copilot 因该语言的训练数据的量和多样性而异。
> ```

Gradle 对依赖关系图的支持仅限于上传通过 Dependabot alerts 使用 依赖项提交 API 获取的数据。

[^1]: PHP and Scala are supported for code scanning by third-party actions, but not by CodeQL.