Posted On: Jun 23, 2022
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.