This extension provides auto scroll to the end of files when files have been changes outside of vs code. Something can be helpful in watching log files.
In the .log
file this extension is enabled and in other files, you need press F1
and type Enable Auto Scroll
command to enable it.
In the status bar, you can activate or deactivate auto scrolling. it always shows you end of the file.
For better log viewing you can install
https://marketplace.visualstudio.com/items?itemName=emilast.LogFileHighlighter
AutoScroll extension supports the following configuration:
- autoEnableForLogs: Automatically enable the auto scroll for files with
log
language. It is disabled by default. - keepLastLineInCenter: Keep the last line in the center of the screen. By default, it is disabled, and the last line will be kept at the end of the editor.
This extension contributes the following settings:
autoScroll.enable
: enable this extensionautoScroll.disable
: disable this extensionautoScroll.toggle
: toggle enable/disable
- Add option for auto enabling auto scroll for log files
- Fix auto scroll after opening documents without checking the autoscroll state
- Refactor the project
- Add option for scroll all opened files and change default behavior
- Add setting for change last line position on scrolling
- Fix Active pane autoscrolled, not the pane that changed by @sperry94.
- Fix not scrolling to end of file right after open it
- auto scroll to end of file when it changes outside of vs code