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

Supported languages for Amazon Q Developer in the IDE

Amazon Q Developer provides support for a wide range of programming languages across its various features and capabilities. This page outlines the languages and versions supported for inline code suggestions, code transformation, security scans, and automatic code fixes.

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:

  • C

  • C++

  • C#

  • Dart

  • Go

  • Java

  • JavaScript

  • Kotlin

  • Lua

  • PHP

  • PowerShell

  • Python

  • R

  • Rust

  • SQL

  • Swift

  • SystemVerilog

  • TypeScript

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

  • JSON

  • YAML

  • 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

  • Kotlin ‐ Kotlin 2.0.0 and earlier

  • Scala ‐ Scala 3.2.2 and earlier

  • JSX ‐ React 17 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