Vscode-code-runner: [Feature request] Is it possible to make the output scroll to the bottom after execution?

Created on 19 Aug 2018  ·  3Comments  ·  Source: formulahendry/vscode-code-runner

Right now after the code of selection has been executed, the output is appended to the output panel. But the scrollbar of the output panel is still there without any change. Is it possible to scroll the output panel to the bottom of it after code execution? Thanks.

bug upstream

Most helpful comment

There is a button with the lock symbol called 'Toggle Output Scroll Lock' that is supposedly meant to handle this feature but it doesn't work for me as well. Not sure if this is a feature request or bug. +1

All 3 comments

+1

There is a button with the lock symbol called 'Toggle Output Scroll Lock' that is supposedly meant to handle this feature but it doesn't work for me as well. Not sure if this is a feature request or bug. +1

If you are under "runInTerminal", you can add a macros that execute "workbench.action.terminal.scrollToBottom" before "code-runner.run", then assign a shortcuts to it.

Was this page helpful?
3 / 5 - 1 ratings