The American tech giant Amazon announced the launch of CodeWhisperer at its re: Mars conference on June 23 CodeWhisperer is an AI pair programming tool akin to GitHub’s Copilot that can autocomplete entire functions based on just a comment or a few keystrokes. This tool is the latest addition to the growing field of AI code completion solutions. The business used its codebase, billions of lines of open-source code made available to the public, publicly accessible documentation, and publicly accessible code on public forums to train the system, which at the moment supports Java, JavaScript, and Python.
According to an Amazon Web Services (AWS) blog post attributed to Jeff Barr, chief evangelist of AWS: “Trained on billions of lines of code and powered by machine learning, CodeWhisperer has the same goal. Whether you are a student, a new developer, or an experienced professional, CodeWhisperer will help you to be more
productive.”
“We are launching in preview form with support for multiple IDEs and languages,” the blog post stated. So, this implies that developers can utilize it straight away inside their favorite IDEs. An IDE, or Integrated Development Environment, allows programmers to simplify the process of building a computer program.
The post further noted that “the preview supports code written in Python, Java, and JavaScript, using VS Code, IntelliJ IDEA, PyCharm, WebStorm, and AWS Cloud9. Support for the AWS Lambda Console is in the works and should be ready very soon”.
However, Amazon noted that the algorithm continuously analyses the code and comments and even takes into consideration the programmer’s personal coding preferences and variable names. It will then generate its own unique code snippets using this contextual information and the location of the cursor.