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.

已提問 1 年前檢視次數 2978 次
2 個答案
3
已接受的答案

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
已回答 1 年前
profile picture
專家
已審閱 25 天前
  • 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
專家
已回答 1 年前
  • I updated my question to more clearly articulate that I do not want to disable the extension, just code whisperer.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南