How do I disable Code Whisperer in VS Code?

0

I have the AWS Toolkit v1.74.0 installed in VS Code, and it seems to have Code Whisperer enabled by default. I don't want to use it and would like to disable it entirely, but I can't find a way to do this without disabling the entire extension.

asked 10 months ago2667 views
2 Answers
3
Accepted Answer

Hi

You can either pause the code whisperer suggestions and re-enable it when required or completely sign out of code whisperer.

This can be done by going to the AWS Toolkit plugin and in the Developer Tools section either pausing the code whisperer suggestions or completely disconnecting from the service.

VSCode

profile picture
Bisina
answered 10 months ago
  • Thank you. According to my settings, it shouldn't be running (mine shows "Start") but I've been getting Code Whisperer errors so I'm guessing it's a bug with the extension.

  • With CodeWhisperer disabled I still get the error: "command 'aws.codeWhisperer.rejectCodeSuggestion' not found" Issue Opened here: https://github.com/aws/aws-toolkit-vscode/issues/3490

0

AWS Toolkit should be installed as a VScode extension, so I think disabling the extension will stop CodeWhisperer.
You can disable it using the method described in this document.
https://code.visualstudio.com/docs/editor/extension-marketplace#_manage-extensions

Disable an extension If you don't want to permanently remove an extension, you can instead temporarily disable the extension by clicking the gear button at the right of an extension entry. You can disable an extension globally or just for your current Workspace. You will be prompted to reload VS Code after you disable an extension.

If you want to quickly disable all installed extensions, there is a Disable All Installed Extensions command in the Command Palette and More Actions (...) dropdown menu.

Extensions remain disabled for all VS Code sessions until you re-enable them

profile picture
EXPERT
answered 10 months ago
  • I updated my question to more clearly articulate that I do not want to disable the extension, just code whisperer.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions