GitHub language support

An overview of the programming languages supported by GitHub features.

About supported languages

Most GitHub features work regardless of which languages your code is written in. You can search for code or enable syntax highlighting based on any language known to GitHub. For more information, see "Searching code" or "Creating and highlighting code blocks."

Some GitHub products have features that are currently only supported for a subset of programming languages.

Core languages supported by GitHub features

Core languages for GitHub features include C, C++, C#, Go, Java, JavaScript, PHP, Python, Ruby, Scala, and TypeScript. For features that support package managers, the currently supported package managers are included in the table with their relevant languages.

Some features are supported for additional languages or package managers. If you want to know whether another language is supported for a feature or to request support for a language, visit the Community Forum.

| Language | 代码扫描 | GitHub Actions | GitHub Packages | | :-- | :-: | :-: | :-: | | C || | | | | | C++ || | | | | | C# || | | |
dotnet CLI | | Go || | | | | | Java || | | |
Maven, Gradle | | JavaScript || | | |
npm | | PHP || 1 | | | | | Python || | | | | | Ruby || 1 | | |
RubyGems | | Scala || 1 | | | | | TypeScript || | | |
npm |

[1] These languages are supported for 代码扫描 by third-party actions.

此文档对您有帮助吗?隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。