Home > Software engineering >  How do I make the output window's content always scroll to the bottom?
How do I make the output window's content always scroll to the bottom?

Time:10-15

I came from PyCharm, and starting in VSCode, when I print a lot of content in the output window in VSCode, the output window will stay from the output of the last executed content, and I need to scroll all the way down to see the last part of the new output content.

Is there a way I can set it up so the output window will automatically go to the bottom of the output content? I have googled and searched stackoverflow, without any luck.

Here is some visual to show what I mean

enter image description here

I need to manually scroll down to see the last content

enter image description here

CodePudding user response:

Two things to try:

  • In your second screenshot, there is a padlock in the top right of your output window. That enables/disables auto scrolling. You currently have is disabled. Try enabling it.
  • There is a setting called output.smartScroll - I wonder if disabling that might achieve what you want (if you are clicking in the output box at least).
  • Related