VSCode:永久开启自动滚动 [英] VSCode: Turn auto scrolling permanently ON
问题描述
在 Visual Studio Code 中,有没有办法强制永久启用输出面板的自动滚动选项?目前,我每次构建项目时都必须单击锁定按钮以禁用滚动锁定,或者最好说启用自动滚动功能,这太烦人了.
In Visual Studio Code, is there any way to force the auto-scrolling option of the Output panel permanently enabled? At the moment I have to click on the lock button every time I build my project to disable the scroll lock or better to say enable the auto-scrolling feature and this is so annoying.
我查看了设置,但在那里找不到任何相关参数.
I took a look at the settings but couldn't find any relevant parameter there.
有什么想法吗?
推荐答案
最近的更新之一中包含了关闭智能滚动功能的选项(可能在 2020 年 3 月的更新中,我没有在更改日志),查看更多:issue #69480
An option to turn off the smart scroll feature was included in one of the recent updates (probably in the March 2020 update, I didn't find it in the changelog), see more: issue #69480
从那时起,我就能够保存"滚动状态,试试这个:
Since then, I've been able to "save" the scroll state, try this:
- 转到文件>首选项设置(或 Ctrl + ,)
- 在功能>输出,禁用智能滚动选项(或搜索output.smartScroll.enabled)
- Go to File > Preferences > Settings (or Ctrl + ,)
- In Features > Output, disable Smart Scroll option (or search output.smartScroll.enabled)
使用 VSCode 1.45.1 版和 CodeRunner 0.10.0 测试
Tested with VSCode version 1.45.1 and CodeRunner 0.10.0
希望这对你有用!
这篇关于VSCode:永久开启自动滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!