Language and IDE support in Amazon CodeWhisperer - CodeWhisperer

Language and IDE support in Amazon CodeWhisperer

Language support in Amazon CodeWhisperer

CodeWhisperer supports code generation for 15 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#

CodeWhisperer also supports code generation for:

  • Ruby

  • Go

  • PHP

  • C++

  • C

  • Shell

  • Scala

  • Rust

  • Kotlin

  • SQL

IDEs supported by Amazon CodeWhisperer

CodeWhisperer can be used in the following interactive development environments (IDEs).

Amazon Sagemaker Studio

Amazon Sagemaker Studio is a web-based IDE designed for machine learning workflows with AWS.

Python is the only language that CodeWhisperer supports with SageMaker.

JupyterLab

JupyterLab is an open-source, web-based IDE that provides an interactive environment for working with notebooks, code, and data.

Python is the only language that CodeWhisperer supports with JupyterLab.

Visual Studio Code

Visual Studio Code is a free, extensible code editor, created by Microsoft. Most of the source code for VS Code is available on GitHub under the MIT License, which puts limited restriction on reuse.

CodeWhisperer runs in VS Code through the AWS Toolkit, which runs as a VS Code extension.

VS Code is expected to support all programming languages that CodeWhisperer supports. In some cases, it may be necessary to install a VS Code extension related to the language that you are expecting to use.

Learn more:

JetBrains

JetBrains is a software company that makes multiple IDEs.

CodeWhisperer supports all JetBrains IDEs, with the exception of JetBrains Gateway.

In the context of CodeWhisperer, all JetBrains IDEs are expected to behave the same way. Therefore, this guide does not make a distinction between the different types of JetBrains IDE. We use the name JetBrains to mean whichever supported JetBrains IDE that you happen to be using.

CodeWhisperer runs in JetBrains through the AWS Toolkit, which runs as a JetBrains extension.

The JetBrains IDEs that CodeWhisperer supports include, but are not limited to, the following:

  • Clion (for C & C++ development)

  • GoLand (for Go development)

  • IntelliJ (for Java development)

  • WebStorm (for Node.js development)

  • Rider (for .NET development)

  • PhpStorm (for PHP development)

  • PyCharm (for Python development)

  • RubyMine (for Ruby development)

  • DataGrip (for SQL development)

Learn more:

AWS Cloud9

AWS Cloud9 is an IDE that AWS offers as a service. You use it inside your web browser.

CodeWhisperer runs inside AWS Cloud9. You need an AWS account.

Learn more:

AWS Lambda

Lambda is a compute service that lets you run code without provisioning or managing servers. You need an AWS account to use it, and you use it inside the AWS console. You pay for the compute time that you consume.

You organize your code into Lambda functions. You can use CodeWhisperer to help you write those functions.

Learn more:

AWS Glue Studio

AWS Glue Studio is a graphical interface that makes it easy to create, run, and monitor extract, transform, and load (ETL) jobs.

You can use CodeWhisperer to help you write ETL scripts in AWS Glue Studio Notebook.

Learn more: