Bug identified: copying some text from an open file to composer window does not work.
Steps to reproduce: open some file (such as a python file), select any arbitrary piece spanning more than one line, then try to paste that into a composer window.
Expected behavior: the selected text is pasted into composer text area
Actual behavior: nothing happens (no text is pasted)
This bug only happens if you select more than one line in a file. If your selection begins and ends in the same line, it is successfully copied and pasted over to composer.
If you copy a multiline snippet from an editor window and paste it on the chat (the one that shows up when you press CMD+OPT+B on macOS), that snippet is not directly pasted into the text area but added as a piece of context to your prompt.
If you copy a single-line snippet, the reverse happens: it is directly pasted into the text area, instead of a piece of context.
So this feature works normally on the chat component, but it is not properly (if at all) implemented on the composer component.
I personally would like the copy and paste to just work as expected (directly into text area). This bothers me the most when I want to have some prompt presets, or if I want to type a longer instruction without risking mis-pressing enter before I’m done writing.
But I get where this “context-pasting” feature is coming from. It’s cool.
Suggestion: Ctrl+V does “context-pasting”, Ctrl+Shift+V does regular direct pasting,
Due to this bug, I need to use both cursor and another text editor just for that.