title | intro | versions | topics | redirect_from | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GitHub language support |
An overview of the programming languages supported by {% data variables.product.prodname_dotcom %} features. |
|
|
|
Most {% data variables.product.prodname_dotcom %} 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 {% data variables.product.prodname_dotcom %}. For more information, see "[AUTOTITLE]{% ifversion code-search-upgrade %}(/search-github/github-code-search/understanding-github-code-search-syntax#language-qualifier){% else %}(/search-github/searching-on-github/searching-code#search-by-language){% endif %}" or "AUTOTITLE."
Some {% data variables.product.prodname_dotcom %} products have features that are currently only supported for a subset of programming languages.
Core languages for {% data variables.product.prodname_dotcom %} features include C, C++, C#, Go, Java, JavaScript,{% ifversion kotlin-supported-language %} Kotlin,{% endif %} PHP, Python, Ruby,{% ifversion dependabot-updates-cargo-private-registry-support %} Rust,{% endif %} 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 {% data variables.contact.community_support_forum %}.
{% data reusables.supported-languages.products-table-header %} {% data reusables.supported-languages.C %} {% data reusables.supported-languages.Cpp %} {% data reusables.supported-languages.Cs %} {% data reusables.supported-languages.go %} {% data reusables.supported-languages.java %} {% data reusables.supported-languages.javascript %} {% data reusables.supported-languages.kotlin %} {% data reusables.supported-languages.php %} {% data reusables.supported-languages.python %} {% data reusables.supported-languages.ruby %} {% data reusables.supported-languages.rust %} {% data reusables.supported-languages.scala %} {% data reusables.supported-languages.swift %} {% data reusables.supported-languages.typescript %}
Note
{% ifversion fpt or ghec %}> * The language support for {% data variables.product.prodname_copilot %} varies depending on the volume and diversity of training data for that language.{% endif %}
- The support of Gradle for the dependency graph and {% data variables.product.prodname_dependabot_alerts %} is limited to the upload of data obtained using the {% data variables.dependency-submission-api.name %}.
- PHP, Rust, and Scala are supported for {% data variables.product.prodname_code_scanning %} by third-party actions.