Could we put focus on the next message textarea instead of being in the one it started replying to?

I hope this makes sense! Consider this scenario: you’re chatting, it suggests a code change. You go to the editor making the change. You run your code, get a new error for example. You select the error from the terminal and click ”Add to chat”.

Since I ran the code based on its suggestion the circumstances changed. The error message may be the same, but the context is different since the code is different.

So I expect to attach the new error to my new message so that GPT knows the context of how we got to this error, based on its previous suggestion. My expectation is not to edit my previous query.

However what happens now is that when you focus on the editor and attach something from the Terminal or the Editor, it attaches the code to the old message.

Always consider the new message textarea a priority, not the previous one.

I mean I don’t know maybe a lot of people polish the query instead of having a conversation (wonder what’s the point, you still spend your tokens, maybe just keeping the convo clean?). But for me, if I wanted to edit the initial request, I’d explicitly go there.

Another annoying thing arises from that is that you need to highlight the error text again, since you click on the new textarea.

Even though the text itself stays highlighted, the “Add to Chat” floating button disappears and only reappears as you highlight the text again!

See what I mean: CleanShot 2023-12-04 at 15.02.45 · CleanShot Cloud.

You can use this keybinding aichat.insertselectionintofollowup to do that:


But I also think that this should be the default behavior and the other should be the additional shortcut.

1 Like

That’s handy, good to know! Thanks.

Hoping it will be indeed the other way around, a shortcut for the previous message, just like you said.