aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.49k stars 418 forks source link

ignore/disable Amazon Q inline suggestions #4958

Open justinmk3 opened 5 months ago

justinmk3 commented 5 months ago

Discussed in https://github.com/aws/aws-toolkit-vscode/discussions/4957

Originally posted by **lorenzwalthert** May 8, 2024 I like that Amazon Q gives me hints how to improve my code. However, I'd like to deactivate these somehow, either inline, per file, per rule or globally. I could not find docs on this. Is there a way to do that currently? Putting `# noqa` on that line does not work. ![Screenshot 2024-05-08 at 13 53 50](https://github.com/aws/aws-toolkit-vscode/assets/10477073/d015d2b2-d79c-4ad5-b90e-47fb783a5c6d)
andrewyuq commented 4 months ago

Hi! Thanks for the feedback. Right now you can:

  1. Click on the Amazon Q status bar to open the quickpick menu.
  2. If the Auto-Scans line says RUNNING, click it once so that it shows PAUSED like below.
  3. Restart VSCode and these popups will go away after the restart.
Screenshot 2024-05-08 at 11 03 37 AM

Meanwhile we are working on a UX fix to make it less disruptive.