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.51k stars 436 forks source link

amazonq: "Explain selected code" doesn’t show what file/selected code we’re talking about #5536

Open tverney opened 2 months ago

tverney commented 2 months ago

Problem

image

I can select explain without any code selection. It explains, but don't say what is explaining (it assumes the active file).

Steps to reproduce the issue

  1. Open file
  2. Right click and select explain code
  3. It add an empty explain message to the prompt

Expected behavior

System details (run AWS: About and/or Amazon Q: About)