How To Use Amazon CodeWhisperer with VS Code- Free alternative to GitHub Copilot

Amazon CodeWhisperer is an artificial intelligence tool that helps to generate and suggest code. Github copilot pricing for individuals is 10$ per month whereas the Amazon CodeWhisperer is completely free. In this article, we will discuss Amazon CodeWhisperer and how to use it with VSCode.

The main focus of Amazon code whisperer is

Build applications faster and more securely with your AI coding companion

– Amazon CodeWhisperer

Some key features of CodeWhisperer are :

  • Free for individuals
  • Unlimited code suggestions
  • Reference tracking
  • 50 security scanning( per user,per month)

Supported IDEs

Amazon code Whisperer currently supports the following IDEs:

Supported Programming Languages

Aws Code Whisperer supports 15 programming languages. As per its documentation, the quality of 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

Using Amazon CodeWhisperer with VS Code

Let’s dive into AWS CodeWhisperer action. Open VS Code and extension panel and search for the AWS tool kit.

Next, install the AWS Toolkit. After the installation click the AWS icon on the left side, and click start we can use a mail ID to start the account.

Next, click the first option “Use a personal email to sign up and sign in with AWS Builder ID”. It will open another dialog as shown below, click copy code and proceed.

It will open up the browser give the mail ID and paste the code it will complete the signup and AWS builder connect process. Now we can use it.

Ensure that the check mark is visible for AWSBuilder and CodeWhisperer as shown below.

Now we are ready to use AWS CodeWhisperer with VS Code.

Conclusion

In conclusion, it is easier to install and use AWS CodeWhisperer with VS Code. Read about the comparison of VS Code and VS Codium.