1
0
mirror of synced 2025-12-26 14:02:45 -05:00
Files
docs/data/reusables/code-scanning/codeql-language-identifiers-table.md
Ben Ahmady 0466c51c41 Updates language identifiers and adds relevant notes (#42953)
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-10-03 10:02:11 +00:00

1.3 KiB

{% ifversion codeql-language-identifiers-311 %}

Language Identifier Optional alternative identifiers (if any)
C/C++ c-cpp c or cpp
C# csharp
Go go
Java/Kotlin java-kotlin java or kotlin
JavaScript/TypeScript javascript-typescript javascript or typescript
Python python
Ruby ruby
{%- ifversion codeql-swift-beta %}
Swift swift
{%- endif %}

{% note %}

Note: If you specify one of the alternative identifiers, this is equivalent to using the standard language identifier. For example, specifying javascript instead of javascript-typescript will not exclude analysis of TypeScript code. You can do this in an advanced setup workflow with the --paths-ignore option. For more information, see "AUTOTITLE."

{% endnote %}

{% else %}

Language Identifier
C/C++ cpp
C# csharp
Go go
Java{% ifversion codeql-kotlin-beta %}/Kotlin{% endif %} java
JavaScript/TypeScript javascript
Python python
Ruby ruby
{%- ifversion codeql-swift-beta %}
Swift swift
{%- endif %}

{% endif %}