Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>codewhispererNew to Visual Studio Code? Get it now.
codewhisperer

codewhisperer

Abhik Ghosh

|
1,408 installs
| (0) | Free
Helps you to understand foreign code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodeWhisperer - AI Code Assistant VS Code Extension

Welcome to CodeWhisperer, a VS Code extension that helps you understand your code by generating AI-powered commentary in a friendly, concise manner. CodeWhisperer utilizes GPT-4 to analyze your code and provide insightful explanations in the form of comments, making it easier to understand and explain your code!

Features

  • AI-Powered Code Explanations: Automatically generates human-readable commentary for your code.
  • Multi-Language Support: Works with multiple languages such as JavaScript, TypeScript, Python, Java, C++, and more!
  • Comment Formatting: Commentary is inserted as language-specific comments in your code (e.g., // for C/C++/JavaScript, # for Python).
  • Seamless Integration: Simply run the extension, and it will analyze your code and add the commentary.

Installation

  1. Open Visual Studio Code.
  2. Navigate to the Extensions tab on the left-hand side (or press Ctrl+Shift+X).
  3. Search for CodeWhisperer and click Install.
  4. Alternatively, you can install the extension directly from the marketplace via this link.

How to Use

Activate CodeWhisperer:

  1. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
  2. Type codeWhisperer explain and select the command.

Select Code:

  • You can either select a portion of the code you want to annotate, or leave it unselected to annotate the entire file.

AI Commentary:

  • Once you run the command, the extension will analyze your code and insert the AI-generated commentary directly into the code as comments.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft