Automatic scoll down on document refresh (VS Code)

Viewed 7047

Since VS Code can auto-refresh a document when it is changed from outside, I would like to scroll down to the last line automatically. I'm sure this feature worked on previous versions but now I found no entry in settings to enable it.

It is helpful in order to monitor a log file while been write.

Is there any way to enable this feature?

3 Answers

You could use the keybinding to scroll to the bottom of the file:

{
  "command": "workbench.action.terminal.scrollToBottom",
  "key": "ctrl+end",
  "when": "terminalFocus"
}

CTRL-End

I don't see any other way to have the scrolling be automatic when a file refreshes.

Related