Using CodeWhisperer with Visual Studio - CodeWhisperer

CodeWhisperer's features are becoming a part of Amazon Q Developer. Learn more

Using CodeWhisperer with Visual Studio

The CodeWhisperer Visual Studio integration is in preview, and is subject to change.

This page descrbes how to set up and begin using CodeWhisperer with Visual Studio.

Note

The languages that CodeWhisperer supports with Visual Studio are: C, C++, and C#.

Note

The AWS Toolkit provides CodeWhisperer functionality through a standalone program called a language server. As you open a solution in Visual Studio, the Toolkit downloads and updates the language server in the background. The Toolkit then launches the language server as a separate process from Visual Studio. The language server is run with the same privilege level as Visual Studio, and is automatically closed when you close Visual Studio.

  1. Install Visual Studio 2022.

  2. Install the latest version of the AWS Toolkit for Visual Studio 2022.

  3. On the Toolkit Getting Started page, select CodeWhisperer.

    You can return to the Getting Started page at any time with Extensions -> AWS Toolkit -> Getting Started.

  4. Authenticate with either IAM Identity Center (for CodeWhisperer Professional) or AWS Builder ID (for CodeWhisperer Individual).

    Use CodeWhisperer for free at the individual tier by authenticating with AWS Builder ID. Alternatively, use the professional tier if your company has a license by authenticating with IAM Identity Center.

AWS Toolkit setup page with options for CodeWhisperer or AWS Explorer and authentication methods.