Amazon CodeWhisperer

AI-powered coding assistant providing code recommendations and improving developer productivity through natural language comments and prior code analysis.

About Amazon CodeWhisperer

Amazon CodeWhisperer is a powerful code recommendation tool designed to support developers in accelerating their application development. Powered by machine learning, the tool generates entire functions and logical code blocks, providing developers recommendations to focus on core aspects of application development. The tool's natural language processing ability enables it to recommend unit test codes based on the implementation code. CodeWhisperer provides real-time code recommendations for Java, Python, and JavaScript projects, and includes code recommendations for several popular AWS APIs. Developers can generate code to upload files to Amazon S3 and even convert data from JSON to XML format, saving time and enhancing efficiency.

TLDR

Amazon CodeWhisperer is a code recommendation tool powered by machine learning that supports developers in accelerating their application development process. CodeWhisperer generates entire functions and code blocks, offering developers customized, real-time code recommendations for Java, Python, and JavaScript projects, and includes code recommendations for several popular AWS APIs. Its machine learning capabilities enable CodeWhisperer to recommend unit test codes based on the implementation code, maximizing productivity and efficiency. The tool integrates seamlessly with various integrated development environments such as JetBrains, Visual Studio Code, AWS Cloud9, and the AWS Lambda console. Amazon CodeWhisperer is a valuable tool for all developers seeking to improve their productivity and efficiency while building secure, syntactically correct applications in a responsible manner.

Company Overview

Amazon CodeWhisperer is an intelligent code recommendation tool designed to assist developers in accelerating application development. With its machine learning capabilities, CodeWhisperer generates entire functions and logical code blocks, allowing developers to focus on the core aspect of application development. The tool is equipped with natural language processing functionality that allows it to recommend unit test code based on the implementation code. CodeWhisperer offers customized, real-time code recommendations for Java, Python, and JavaScript projects without having developers leave their integrated development environment (IDE).

The tool offers code recommendations for AWS APIs for the most popular services, including Amazon EC2, AWS Lambda, and Amazon S3. These recommendations are available for both frontend and backend development, with CodeWhisperer generating code to build and train ML models, as well as render objects in the UI using React. With CodeWhisperer, developers can save time and effort by generating code to upload files to Amazon S3 and even convert data from JSON to XML format.

The example provided shows how CodeWhisperer generates code to delete all files and objects in a given S3 bucket, render CSV text to an HTML DOM Table object and use AWS APIs to upload files to Amazon S3. The tool can be integrated with the AWS Toolkit for JetBrains, VS Code, and AWS Cloud9.

Overall, Amazon CodeWhisperer enables developers to responsibly use AI to create secure and syntactically correct applications at a faster pace, making it an essential tool for all developers who seek to increase their efficiency and productivity.

Features

Machine Learning-Powered Code Recommendations

Accelerate Development of Various Applications

Amazon CodeWhisperer is designed to improve developer productivity by providing machine learning-powered code recommendations. It is capable of accelerating the development of C#, Java, JavaScript, Python, and TypeScript applications.

Integrates with Multiple Integrated Development Environments

The service integrates with multiple integrated development environments (IDEs), including JetBrains (IntelliJ IDEA, PyCharm, WebStorm, and Rider), Visual Studio Code, AWS Cloud9, and the AWS Lambda console, allowing developers to use their preferred IDE.

Generates Entire Functions and Logical Blocks of Code

Developers can write code faster with Amazon CodeWhisperer as it generates entire functions and logical blocks of code. These code snippets often consist of more than 10-15 lines of code, helping developers save time and effort.

Code Recommendations for AWS APIs

Provides Code Recommendations for Popular AWS Services

CodeWhisperer makes it easier for developers to use AWS services by providing code recommendations for AWS APIs across the most popular services, including Amazon Elastic Compute Cloud (EC2), AWS Lambda, and Amazon Simple Storage Service (S3).

Generates Code Based on Developer Intent and Patterns

With CodeWhisperer, developers can write code more efficiently as the service generates code based on their intent and matches their patterns and style. The service understands comments written in natural language, making it easy for developers to write code that meets best practices.

Provides Security Scans to Detect Vulnerabilities

CodeWhisperer helps developers build applications responsibly by providing security scans to detect vulnerabilities in Java, JavaScript, and Python projects. The service analyzes existing code in the IDE, identifies hard-to-find bugs with high accuracy, and provides intelligent suggestions on how to remediate them.

Responsible Use of AI and ML Technologies

Filters Out Biased and Unfair Code Recommendations

To ensure responsible use of artificial intelligence (AI) and ML technologies, CodeWhisperer helps developers avoid bias by filtering out code recommendations that might be considered biased and unfair.

Trained on Various Data Sources

The service is trained on various data sources, including Amazon.com and open-source code. CodeWhisperer generates code similar to how a developer would write code, matching the developer's patterns and style.

Provides Reference Tracker

The reference tracker detects whether a code recommendation might be similar to particular CodeWhisperer training data and can provide references for the code. Developers can then more easily find and review that reference code and how it is used in the context of another project.

Additional Features

Complete Comment Recommendations

As developers type, CodeWhisperer provides recommendations to complete the comment itself. Developers have the option to accept the top recommendation, view more recommendations, or continue writing their own code.

Helps Developers Build Applications Responsibly

CodeWhisperer provides developers with intelligent suggestions on how to remediate vulnerabilities in their projects. The service's security scans detect vulnerabilities in Java, JavaScript, and Python projects with high accuracy.

Easily Access the AWS Free Tier

Amazon CodeWhisperer allows developers to easily access the AWS Free Tier. This allows them to explore the various AWS services and experiment with CodeWhisperer's code recommendations without incurring any charges.

Integrations

Amazon CodeWhisperer is designed to improve developer productivity by providing machine learning (ML)–powered code recommendations to accelerate the development process of various applications including, C#, Java, JavaScript, Python, and TypeScript. The tool offers a wide range of integrations with multiple integrated development environments (IDEs) such as JetBrains (IntelliJ IDEA, PyCharm, WebStorm, and Rider), Visual Studio Code, AWS Cloud9, and the AWS Lambda console. Amazon CodeWhisperer helps developers write code faster by generating entire functions and logical blocks of code, which consists of more than 10-15 lines of code. This makes it easier for developers to use AWS services by providing code recommendations for AWS APIs across the most popular services, including Amazon Elastic Compute Cloud (EC2), AWS Lambda, and Amazon Simple Storage Service (S3).

JetonBrains

Amazon CodeWhisperer integrates with JetBrains integrated development evironments (IDEs) such as IntelliJ IDEA, PyCharm, WebStorm, and Rider, to offer developers a smoother integration with multiple tools that can assist their development process. JetBrains IDEs users can easily install Amazon CodeWhisperer and start writing code with ease as they have access to machine learning-powered code completions, code recommendations, and more. Amazon CodeWhisperer provides intelligent recommendations for entire functions, logical blocks of code, and AWS API nuances, allowing developers to focus on the problem at hand, ultimately improving developer productivity.

Visual Studio Code

Amazon CodeWhisperer provides seamless integration for users of Microsoft Visual Studio Code. Once installed, the tool provides developers with machine learning-powered code assisting capabilities, such as smart auto-completion, code snippet suggestions, and intelligent code recommendations for entire functions and logical blocks of code. With Amazon CodeWhisperer, developers can focus solely on developing and writing code, which ultimately improves development time and enables developers to work with ease seamlessly.

AWS Cloud9

Amazon CodeWhisperer can be integrated into AWS Cloud9 to offer a productive development environment to users. Once integrated, developers can effortlessly write code in the IDE with the help of Amazon CodeWhisperer's code recommendations, API nuances, and security scans to detect vulnerabilities in Java, JavaScript, and Python projects. Integrated with Amazon Cloud9, Amazon CodeWisperer enables developers to build applications rigorously and rapidly.

AWS Lambda Console

Amazon CodeWhisperer can be integrated into the AWS Lambda console. By doing so, developers can access machine learning-powered code-completion, code recommendations, and write entire functions with ease. Amazon CodeWhisperer provides code recommendations for AWS APIs across some of the most popular services, including Amazon Elastic Compute Cloud (EC2), AWS Lambda, and Amazon Simple Storage Service (S3). This integration enables developers to develop and deploy applications quickly and efficiently.

FAQ

What is Amazon CodeWhisperer?

Amazon CodeWhisperer is a ML-powered service designed to improve developer productivity that offers code recommendations based on developers' previous code and comments. Developers can write a description of a specific task in plain English, and the tool automatically selects the best cloud services and public libraries to accomplish the task and provides a code snippet directly in the IDE. CodeWhisperer is integrated with JetBrains, Visual Studio Code, AWS Cloud9, or the AWS Lambda console IDEs and supports C#, Java, JavaScript, Python, and TypeScript.

Why should I use CodeWhisperer?

Developers perform better when they receive recommendations powered by ML, and that's exactly what CodeWhisperer offers. With CodeWhisperer, developers can reduce their total development effort, allowing for more time to write creative code that sets them apart from their peers. This service can also help those developers without extensive cloud experience understand which cloud services and libraries are best suited for their projects a useful and time-saving service that can offer valuable support and potential savings of time and resources.

How does CodeWhisperer work?

CodeWhisperer works by analyzing comments, code, and the cursor location in the source code file, combined with an understanding of the best integration of cloud services and public libraries that are best suited for the task, to automatically generate context-specific code recommendations in your existing code. Powered by ML models trained on various data sources, including Amazon and open-source code, the provided code recommendations enable developers to accept, decline, or browse more alternatives by engaging its integration with JetBrains, Visual Studio Code, AWS Cloud9, or the AWS Lambda console.

Which programming languages and IDEs does CodeWhisperer support?

CodeWhisperer provides code recommendations in the AWS IDE Toolkit, which enables integration with multiple IDEs, including JetBrains, Visual Studio Code, AWS Cloud9, or the AWS Lambda console. At present, CodeWhisperer only supports C#, Java, JavaScript, Python, and TypeScript.

What contextual information does CodeWhisperer use to provide recommendations?

To provide effective recommendations, CodeWhisperer utilizes contextual information such as existing code, comments in English, and the cursor position in the source code file. The tool also analyzes other project files and applies its ML models to provide suitable recommendations based on the available information.

How can I get started with CodeWhisperer?

You can begin using CodeWhisperer by downloading the AWS IDE Toolkit extension, enabling CodeWhisperer, and then beginning to write code, or immediately comment-based coding to get the ball rolling.

Amazon CodeWhisperer
Alternatives

Company Results

Generate human-sounding voices in over 25 languages for speech-enabled applications like RSS feeds, websites, and videos with real-time streaming capabilities and custom voice options.

AI-powered coding platform with intelligent suggestions and tools that enhance proficiency while securing data privacy.

A developer tool boosting productivity through automated debugging, code generation and centralized knowledge sharing.

AI code assistant providing real-time feedback, identifying inefficiencies, and locating errors for improved code quality.