{% 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 %}