Chat copy issues
- VS Code Version: 1.82.2
- OS Version: Linux Ubuntu 22.04
- Logs: [don't know how to get these]
Steps to Reproduce:
-
Start a Copilot chat
-
Ask it anything. Ex: "What's an int?"
-
In its response, select a few words --> right click your selection --> the two options are "Copy" and "Copy All", as shown here:
-
Choose "Copy", it should copy only the selection. Paste it into a text editor and you'll see it copied everything, though, which is the bug. When I paste, I get this:
GitHub Copilot: In programming,
intis short for integer, which is a data type used to represent whole numbers (positive, negative, or zero) that do not have a fractional component. In most programming languages,intis a primitive data type, meaning it is built into the language and can be used without any additional setup.It should have just copied the selected part.
facing this for last 3 4 days
The context menu acts on the row, not the selection. The following things should work
- If there's a selection, the keybinding or the context menu action copies the selection
- If there's no selection, the keybinding or the context menu action copies the focused row
I got the issue as well. It's worth mentioning that Ctrl-C works on the selected text.