You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Debug console: be able to disable automatic scrolling to end #32632
For me, this is annoying since the errors I am most interested in are most likely at the beginning of the output. Means I have to scroll up manually every time.
Could we make this an option? (Auto-scroll on/off)
Reacted by Павел Богатырёв, Charl, 黯羽轻扬, Lars, Rob Ryan, Thomas Kaul, Max, Jean-Sébastien Tremblay and Pavel Paliashak
VS code supports "smart scroll", that means automatic scrolling only occurs if you are at the very end of the debug console. If you scroll at least one line up, automatic scrolling should stop (see this feature request #10486)
Isidor Nikolic (@isidorn) I could not find "smart scroll" in the doc. We should add this to the doc.
In addition we could introduce a button that shows the state of "smart scroll" and can be used to control the behaviour directly.
VS code supports "smart scroll", that means automatic scrolling only occurs if you are at the very end of the debug console. If you scroll at least one line up, automatic scrolling should stop (see this feature request #10486)
For me, this is not what happens. Every time I launch a task, the debug console is cleared, and it scrolls down to the bottom.
So, to make things clear: this is not dealing with a continuous debugging session, but more referring to the fact that "every time a task is launched, the debug console is cleared and gets scrolled all the way to the bottom unconditionally". Sorry for not being clear about that initially.
Smart scroll works to some extent in the "terminal" tab, until it must hit some buffer limitations of sort then you can't stop it to go to the bottom anymore (Linux)
"Smart scroll" actually works now in the debug console. Thus closing this
My program
setInterval(() => {
var count = Math.random() * 50;
var message = Date.now() + 'new log message: ';
for (var i = 0; i < count; i++) {
message += ' ' + Math.random();
}
console.log(message);
}, 200);
I have verified that when I am scrolled all the way to the end that the debug console will follow the latest output, however when I am scrolled not at the end that the output will be locked as expected.
Please note related issue that I am investingating #107704
Activity
weinand commentedon Aug 16, 2017
VS code supports "smart scroll", that means automatic scrolling only occurs if you are at the very end of the debug console. If you scroll at least one line up, automatic scrolling should stop (see this feature request #10486)
Isidor Nikolic (@isidorn) I could not find "smart scroll" in the doc. We should add this to the doc.
In addition we could introduce a button that shows the state of "smart scroll" and can be used to control the behaviour directly.
perlun commentedon Aug 17, 2017
Thanks for the reply Andre Weinand (@weinand)!
For me, this is not what happens. Every time I launch a task, the debug console is cleared, and it scrolls down to the bottom.
So, to make things clear: this is not dealing with a continuous debugging session, but more referring to the fact that "every time a task is launched, the debug console is cleared and gets scrolled all the way to the bottom unconditionally". Sorry for not being clear about that initially.
isidorn commentedon Aug 28, 2017
Smart scroll is only supported for the output, not the debug console.
madchap commentedon Mar 13, 2020
Smart scroll works to some extent in the "terminal" tab, until it must hit some buffer limitations of sort then you can't stop it to go to the bottom anymore (Linux)
isidorn commentedon Nov 10, 2020
"Smart scroll" actually works now in the debug console. Thus closing this
My program
I have verified that when I am scrolled all the way to the end that the debug console will follow the latest output, however when I am scrolled not at the end that the output will be locked as expected.
Please note related issue that I am investingating #107704