vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Inline chat does not reveal my prompt in multi-turn discussion

Open bpasero opened this issue 7 months ago • 2 comments

Image

The condition under which this happens is that the inline editor itself has a scrollbar, in that case my request and the response is no longer revealed.

bpasero avatar May 20 '25 14:05 bpasero

This is from https://github.com/microsoft/vscode/blob/278c883f086663a4b28ca53df38ad7547f65d880/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.ts#L151-L157

You've initially filtered out those items, so when we try to reveal them in https://github.com/microsoft/vscode/blob/278c883f086663a4b28ca53df38ad7547f65d880/src/vs/workbench/contrib/chat/browser/chatWidget.ts#L576, they don't exist, then later they are not filtered out anymore but nothing tries to scroll to them at that point

roblourens avatar May 21 '25 00:05 roblourens

I guess this means scrollToEnd is wrong because it should be picking the last visible element.

I'd really like to have sticky scroll built into the list itself because I've rewritten it a couple times and it's a massive pain to get right, and it breaks sometimes in chat today. Even just scrollToEnd is hard to get right as we see here.

roblourens avatar May 21 '25 00:05 roblourens

I think this is obsolete with V2.

bpasero avatar Nov 03 '25 19:11 bpasero