Introduction
In this article, you will learn how to configure Amazon CodeWhisperer in Visual Studio 2022 using individual tiers.
Prerequisites
- Sign in with AWS Builder ID
Tools
- Visual Studio 2022
Steps Involved
Perform the following steps to configure and use Amazon CodeWhisperer in Visual Studio 2022.
Open Visual Studio 2022
Click the Extensions tab → Manage Extensions.
![Manage extension]()
Search for AWS Toolkit, select AWS Toolkit for Visual Studio 2022, and click Download. Click Close.
![AWS Toolkit]()
Close the Visual Studio. Visual Studio installer will pop up. Click Modify and wait for a few minutes to install the AWS Toolkit extension.
![AWS Toolkit extension]()
Once installed, click Close.
![Visual Studio installer]()
Create or open a project and click on any class file. In the bottom toolbar, click the CodeWhisperer icon and then click Sign-in.
![Sign in]()
Log in with the AWS Builder ID.
![Log in AWS Builder ID]()
Once logged in, click the Amazon CodeWhisperer icon in the toolbar to view all the options available.
![Amazon CodeWhispherer icon]()
Write any comment as shown below, and suggestions will be provided by CodeWhisperer.
![CodeWhispherer class]()
Summary
This article describes how to configure and use Amazon CodeWhisperer in Visual Studio.