Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# ---------------------------------------------------------------
# To update the sha:
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
FROM ghcr.io/github/gh-base-image/gh-base-noble:20251008-224804-g33b3d6bf5 AS base
FROM ghcr.io/github/gh-base-image/gh-base-noble:20251009-110343-g5a525d4e1 AS base

# Install curl for Node install and determining the early access branch
# Install git for cloning docs-early-access & translations repos
Expand Down
1 change: 1 addition & 0 deletions content/copilot/reference/allowlist-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ If your company employs security measures like a firewall or proxy server, you s
| `https://api.github.com/user` | User Management |
| `https://api.github.com/copilot_internal/*` | User Management |
| `https://copilot-telemetry.githubusercontent.com/telemetry` | Telemetry |
| `https://collector.github.com/*` | Analytics telemetry |
| `https://default.exp-tas.com` | Telemetry |
| `https://copilot-proxy.githubusercontent.com` | API service for {% data variables.product.prodname_copilot_short %} suggestions |
| `https://origin-tracker.githubusercontent.com` | API service for {% data variables.product.prodname_copilot_short %} suggestions |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,37 @@ Most {% data variables.product.prodname_dotcom %} features work regardless of wh

Some {% data variables.product.prodname_dotcom %} products have features that are currently only supported for a subset of programming languages.

## Core languages supported by {% data variables.product.prodname_dotcom %} features

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, Rust, 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 %}
<!-- Source for the following tables lives in data/tables/supported-code-languages.yml -->

{% ifversion fpt or ghec %}

## Core languages supported in {% data variables.product.prodname_dotcom_the_website %} and {% data variables.product.prodname_ghe_cloud %}

| Language{%- for featureEntry in tables.supported-code-languages.features %}{%- assign featureKey = featureEntry[0] %}{%- assign featureData = featureEntry[1] %}{%- if featureData.fptAndGhec %} | [{{ featureData.name }}]({{ featureData.link }}){%- endif %}{%- endfor %} |
|:----{%- for featureEntry in tables.supported-code-languages.features %}{%- assign featureData = featureEntry[1] %}{%- if featureData.fptAndGhec %}|:----:{%- endif %}{%- endfor %}|
{%- for languageEntry in tables.supported-code-languages.languages %}
{%- assign language = languageEntry[0] %}
{%- assign languageData = languageEntry[1] %}
| {{ language }}{%- for featureEntry in tables.supported-code-languages.features -%}{%- assign featureKey = featureEntry[0] -%}{%- assign featureData = featureEntry[1] -%}{%- if featureData.fptAndGhec -%}{%- assign supportLevel = languageData[featureKey] %} | {%- case supportLevel -%}{%- when "supported" %}✓{%- when "not-supported" %}✗{%- else %}{{ supportLevel }}{%- endcase -%}{%- endif -%}{%- endfor %} |
{%- endfor %}
{% endif %}

{% ifversion ghes %}

## Core languages supported in {% data variables.product.prodname_ghe_server %}

| Language{%- for featureEntry in tables.supported-code-languages.features %}{%- assign featureKey = featureEntry[0] %}{%- assign featureData = featureEntry[1] %}{%- if featureData.ghes %} | [{{ featureData.name }}]({{ featureData.link }}){%- endif %}{%- endfor %} |
|:----{%- for featureEntry in tables.supported-code-languages.features %}{%- assign featureData = featureEntry[1] %}{%- if featureData.ghes %}|:----:{%- endif %}{%- endfor %}|
{%- for languageEntry in tables.supported-code-languages.languages %}
{%- assign language = languageEntry[0] %}
{%- assign languageData = languageEntry[1] %}
| {{ language }}{%- for featureEntry in tables.supported-code-languages.features -%}{%- assign featureKey = featureEntry[0] -%}{%- assign featureData = featureEntry[1] -%}{%- if featureData.ghes -%}{%- assign supportLevel = languageData[featureKey] %} | {%- case supportLevel -%}{%- when "supported" %}✓{%- when "not-supported" %}✗{%- else %}{{ supportLevel }}{%- endcase -%}{%- endif -%}{%- endfor %} |
{%- endfor %}
{% endif %}

> [!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 %}
Expand Down
145 changes: 145 additions & 0 deletions data/tables/supported-code-languages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
# Rendering code lives in content/get-started/learning-about-github/github-language-support.md

# Features configuration - simplified structure
features:
copilot:
name: 'GitHub Copilot'
link: '/copilot/about-github-copilot/what-is-github-copilot'
fptAndGhec: true
ghes: false
codeNavigation:
name: 'Code navigation'
link: '/repositories/working-with-files/using-files/navigating-code-on-github'
fptAndGhec: true
ghes: false
codeScanning:
name: 'Code scanning'
link: '/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning'
fptAndGhec: true
ghes: true
depGraph:
name: 'Dependency graph, Dependabot alerts'
link: '/code-security/supply-chain-security/understanding-your-software-supply-chain/dependency-graph-supported-package-ecosystems#supported-package-ecosystems'
fptAndGhec: true
ghes: true
depUpdates:
name: 'Dependabot version updates, Dependabot security updates'
link: '/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates#supported-repositories-and-ecosystems'
fptAndGhec: true
ghes: true
actions:
name: 'GitHub Actions'
link: '/actions/automating-builds-and-tests/about-continuous-integration#supported-languages'
fptAndGhec: true
ghes: true
packages:
name: 'GitHub Packages'
link: '/packages/learn-github-packages/introduction-to-github-packages#supported-clients-and-formats'
fptAndGhec: true
ghes: true

languages:
C:
copilot: 'supported'
codeNavigation: 'not-supported'
codeScanning: 'supported'
depGraph: 'not-supported'
depUpdates: 'not-supported'
actions: 'supported'
packages: 'not-supported'
C++:
copilot: 'supported'
codeNavigation: 'not-supported'
codeScanning: 'supported'
depGraph: 'not-supported'
depUpdates: 'not-supported'
actions: 'supported'
packages: 'not-supported'
C#:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'supported'
depGraph: '`dotnet` CLI'
depUpdates: '`dotnet` CLI'
actions: 'supported'
packages: '`dotnet` CLI'
Go:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'supported'
depGraph: 'Go modules'
depUpdates: 'Go modules'
actions: 'supported'
packages: 'not-supported'
Java:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'supported'
depGraph: 'Maven, Gradle'
depUpdates: 'Maven, Gradle'
actions: 'supported'
packages: 'Maven, Gradle'
JavaScript:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'supported'
depGraph: 'npm, Yarn'
depUpdates: 'npm'
actions: 'supported'
packages: 'npm'
Kotlin:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'supported'
depGraph: 'Maven, Gradle'
depUpdates: 'Maven, Gradle'
actions: 'supported'
packages: 'Maven, Gradle'
PHP:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'third-party [^1]'
depGraph: 'Composer'
depUpdates: 'Composer'
actions: 'supported'
packages: 'not-supported'
Python:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'supported'
depGraph: 'pip'
depUpdates: 'pip'
actions: 'supported'
packages: 'not-supported'
Ruby:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'supported'
depGraph: 'RubyGems'
depUpdates: 'RubyGems'
actions: 'supported'
packages: 'RubyGems'
Scala:
copilot: 'supported'
codeNavigation: 'not-supported'
codeScanning: 'third-party [^1]'
depGraph: 'Maven'
depUpdates: 'Maven, Gradle'
actions: 'supported'
packages: 'not-supported'
Swift:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'supported'
depGraph: 'supported'
depUpdates: 'supported'
actions: 'supported'
packages: 'Swift Package Manager'
TypeScript:
copilot: 'supported'
codeNavigation: 'supported'
codeScanning: 'supported'
depGraph: 'npm, Yarn'
depUpdates: 'npm'
actions: 'supported'
packages: 'npm'
2 changes: 2 additions & 0 deletions src/data-directory/lib/data-schemas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const dataSchemas: DataSchemas = {
'data/code-languages.yml': '@/data-directory/lib/data-schemas/code-languages',
'data/glossaries/candidates.yml': '@/data-directory/lib/data-schemas/glossaries-candidates.js',
'data/glossaries/external.yml': '@/data-directory/lib/data-schemas/glossaries-external.js',
'data/tables/supported-code-languages.yml':
'@/data-directory/lib/data-schemas/supported-code-languages.js',
}

export default dataSchemas
Loading
Loading