Voiced by Amazon Polly |
Exploring AWS CodeWhisperer Features
Amazon CodeWhisperer is an AI generative tool which provides recommendations to developers to develop their software application. This service helps developers by improving their productivity by providing code recommendations based on the comments and the prior code developed by the developers. By using CodeWhisperer developers can simply write a comment “Upload the files to S3” CodeWhisperer will provide the code recommendations based on the comments provided by the developers by automatically determining the cloud services and the required libraries that are best suited for the given requirement and provides the generated code snippet directly on the IDEs. CodeWhisperer automatically generates code suggestion on the IDE based on the Existing code and the comment written by the developers. The recommendation provided by the CodeWhisperer can vary in size and scope based on the single line comment to fully formed function.
Freedom Month Sale — Upgrade Your Skills, Save Big!
- Up to 80% OFF AWS Courses
- Up to 30% OFF Microsoft Certs
Actions to Get Code Recommendation
Developer can get the code recommendation by performing below actions:
- To manually trigger CodeWhisperer: MacOS: Option + C and Windows: Alt + C
- To accept the recommendation: Tab
- To go to the Next recommendation: Down Arrow
- To go back to the Previous recommendation: Up Arrow
- To Reject the recommendation: Esc.
CodeWhisperer can generate code in 15 programming languages, such as Java, JavaScript, Typescript, Python, C#, Ruby, Go, PHP, C++, C, Shell, Scala, Rust, SQL and Kotlin. The quality and the accuracy of the code depends on the size and the quality of the training data.
Developers can use CodeWhisperer in IDEs like Visual Studio Code, JetBrains, Amazon Sagemaker Studio, Jupyterlab, AWS Cloud9, AWS Lambda and AWS Glue Studio.
AWS CodeWhisperer can protect your code from security vulnerability by scanning your code to highlight and define security issues. Run Security Scan will help you to perform security scans on currently active files, its dependent files from the project in the IDE editors. Once the security scan is complete the security issues are highlighted in the problems panel on visual studio code. The security scan in the CodeWhisperer is integrated with Amazon CodeGuru Service which does filtering before scanning the code, it also filters unsupported languages, test codes which includes open-source code
Two- tiers of CodeWhisperer
- Individual Tiers:
This is a free tier which can be used by individual developers to develop the application software. Developers need to sign-up and sign-in to the builder ID to use CodeWhisperer in IDE which will provide the code recommendations within a minute.
- Professional Tiers:
The Professional tiers provides the administrative capability to the organization to provide their developers with access to the CodeWhisperer. CodeWhisperer provides the organizational license management to centrally manage the accessibility of the Codewhisperer by the developers. Organizations can also set the service policies at the organizational level accessibility of the CodeWhisperer service. Each developer in the professional tier will be changed $19 per month and the organizations are billed based on the maximum number of users using CodeWhisperer features.
Steps to enable CodeWhisperer in Visual Studio Code (VSC)
- Install VSC IDE/Update the VSC IDE
- Install AWS Toolkit for VSC
- Configure the AWS Credentials to AWS CLI to enable access to AWS resources.
- Select AWS Toolset panel from VSC, under AWS Developer tool, under CodeWhisperer, Select Start
- From the Dropdown menu, select Use a personal email to sign-up and sign-in with AWS Builder ID
- Authenticate and Authorize the Builder ID to enable Code Whisperer on VSC IDE
- Once CodeWhipserer is enabled, start writing the comments to get the code recommendations.
References
Freedom Month Sale — Discounts That Set You Free!
- Up to 80% OFF AWS Courses
- Up to 30% OFF Microsoft Certs
About CloudThat
CloudThat is an award-winning company and the first in India to offer cloud training and consulting services worldwide. As a Microsoft Solutions Partner, AWS Advanced Tier Training Partner, and Google Cloud Platform Partner, CloudThat has empowered over 850,000 professionals through 600+ cloud certifications winning global recognition for its training excellence including 20 MCT Trainers in Microsoft’s Global Top 100 and an impressive 12 awards in the last 8 years. CloudThat specializes in Cloud Migration, Data Platforms, DevOps, IoT, and cutting-edge technologies like Gen AI & AI/ML. It has delivered over 500 consulting projects for 250+ organizations in 30+ countries as it continues to empower professionals and enterprises to thrive in the digital-first world.
FAQs
1. How does Code Whisperer protect the content when transmitted?
ANS: – The content in Code Whisperer is transmitted using TLS protocol to ensure there is secure communication between IDE and Code Whisperer service.
2. Who owns the code that is generated by Code Whisperer?
ANS: – Just like you own the IDE, the code that you write including the code suggestions provided by the Code Whisperer is also owned by you.
3. Is it possible to turn off auto suggestion provided by Code Whisperer?
ANS: – Yes, you can pause auto suggestions that Code Whisperer provides. To trigger Code Whisperer, use Option+C in Mac OS and Alt+C in windows.

WRITTEN BY Sindhu Priya M
Comments