microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
328 stars 31 forks source link

The code action UI covers code and interferes with editing #807

Open sean-mcmanus opened 8 months ago

sean-mcmanus commented 8 months ago

Steps to Reproduce:

  1. Create a new test.cpp file and enter code "int ii;"

int ii;


3. Try to double click on "int" to change it to something else like "double".

Bug: The code action for Copilot is blocking my ability to select "int".

<img width="236" alt="image" src="https://github.com/microsoft/vscode-copilot-release/assets/19859882/16a68d77-5fc3-4e93-8475-238eace4438e">

Expected: Can you do something to make it not render over the code I want to edit? I couldn't figure out a good way to get it to move out of the way.

UPDATE: I figured out a workaround -- moving the keyboard cursor to that line (2) causes the icon to move. With my repro, my cursor was on line 3.
AngeloAmadei commented 6 months ago

The extension opens a handy chat if you click the extension chat icon on the left panel, and also gives the opportunity to open an inline chat by pressing Ctrl+I. All of this is great, just a single click or two keys combo to access the chat. Now, showing inside the editor a moving plus signs icon every time the cursor is in an empty line, overlapping with the beginning of any line of code above it, is very distracting to me, kind of unnecessary, and not even aligned with the demo video the extension shows in vscode. I would loved to have an option to turn that off