Posted On: Jun 23, 2022
Amazon CodeWhisperer is a machine learning (ML)–powered service that helps improve developer productivity by generating code recommendations based on developers’ comments in natural language and their code in the integrated development environment (IDE). During preview, CodeWhisperer is available for Java, JavaScript, and Python programming languages. The service integrates with multiple IDEs, including JetBrains (IntelliJ, PyCharm, and WebStorm), Visual Studio Code, AWS Cloud9, and the AWS Lambda console.
When writing code, developers must keep up with multiple programming languages, frameworks, software libraries, and popular cloud services. However, they can accelerate the development process with CodeWhisperer by simply writing a comment in their IDE’s code editor. CodeWhisperer automatically analyzes the comment, determines which cloud services and public libraries are best suited for the specified task, and recommends a code snippet directly in the source code editor. CodeWhisperer code recommendations are based on ML models trained on various data sources, including Amazon and open-source code. Developers can accept the top recommendation, view more recommendations, or continue writing their own code.
CodeWhisperer provides security scans (for Java and Python) to help developers detect vulnerabilities in their projects and build applications responsibly. The service also includes a reference tracker that detects whether a code recommendation might be similar to particular training data. Developers can then easily find and review the code example and decide whether to use the code in their project. Additionally, CodeWhisperer empowers developers to avoid bias by removing code recommendations that might be considered biased and unfair.
During the preview period, developers can use CodeWhisperer at no cost. To join the waitlist to access CodeWhisperer, visit the sign-up page. For more information about the service, visit the Amazon CodeWhisperer webpage.