Supported languages for Amazon Q Developer in the IDE - Amazon Q Developer

Supported languages for Amazon Q Developer in the IDE

Language support for inline suggestions

Amazon Q supports inline code suggestions for multiple programming languages. The accuracy and quality of the code generation for a programming language depends on the size and quality of the training data.

In terms of the quality of the training data, the programming languages with the most support are:

  • Java

  • Python

  • JavaScript

  • TypeScript

  • C#

  • Go

  • PHP

  • Rust

  • Kotlin

  • SQL

  • C++

  • C

The Infrastructure as Code (IaC) languages with the most support are:

  • JSON (AWS CloudFormation)

  • YAML (AWS CloudFormation)

  • HCL (Terraform)

  • CDK (Typescript, Python)

Amazon Q also supports code generation for:

  • Ruby

  • Shell

  • Scala

Language support for Code Transformation

The Amazon Q Developer Agent for code transformation supports upgrading code from Java 8 or Java 11 to Java 17.

Language support for security scans

Amazon Q security scans supports the following language versions:

  • Java ‐ Java 17 and earlier

  • JavaScript ‐ ECMAScript 2021 and earlier

  • Python ‐ Python 3.11 and earlier, within the Python 3 series

  • C# ‐ All versions (.Net 6.0 and later recommended)

  • TypeScript ‐ All versions

  • Ruby ‐ Ruby 2.7 and 3.2

  • Go ‐ Go 1.18

  • C ‐ C11 and earlier

  • C++ ‐ C++17 and earlier

  • PHP ‐ PHP 8.2 and earlier

  • Infrastructure as Code (IaC) languages

    • AWS CloudFormation ‐ 2010-09-09

    • Terraform ‐ 1.6.2 and earlier

    • AWS CDK ‐ TypeScript and Python

Automatic code fixes are available for scans in the following languages and versions:

  • Java ‐ Java 17 and earlier

  • JavaScript ‐ ECMAScript 2021 and earlier

  • Python ‐ Python 3.11 and earlier, within the Python 3 series

  • C# ‐ All versions (.Net 6.0 and later recommended)

  • TypeScript ‐ All versions

  • Infrastructure as Code (IaC) languages

    • AWS CloudFormation ‐ 2010-09-09

    • Terraform ‐ 1.6.2 and earlier

    • AWS CDK ‐ TypeScript and Python