Add Output Panel Smart Scroll#49728
Conversation
…ked upon to place the primary cursor. Scrolling resumes when the cursor is placed at the end of the output again. Fixes microsoft#49110.
|
@dwilliamson thanks for this PR. So basically we have changed our default behavior from "always scroll" to "smart scroll" and we still have an option to "scroll lock". This makes sense to me. fyi @sandy081 |
|
Yes, I found that during testing. Because text is cleared between panel switches I couldn't see anywhere the last line position was preserved so just defaulted to going right to the end of the text. It will probably annoy me enough soon to start solving it. |
Hi @isidorn, this is a replacement PR for #49199 as I broke a few things in my original branch. It contains your suggested changes as everything could be achieved from within
outputServices.ts.Output panel stops scrolling when clicked upon to place the primary cursor. Scrolling resumes when the cursor is placed at the end of the output again.
Fixes #49110.