我正在 VSC 中工作并编写 Nodejs,我在长终端输出中遇到滚动问题,如果我使用滑块,在终端右侧滚动滑块会走太多行太快,所以,问题是,我们是否有集成终端中的平滑滚动选项可以轻松地用箭头逐行读取输出,或者我们必须使用另一个外部终端?
谢谢。
在 v1.71 中,平滑滚动将得到改进,请参阅发行说明:终端平滑滚动.
终端现在支持平滑滚动,这将产生动画效果
短时间滚动以帮助您在滚动后确定方向,
就像编辑器和列表中也提供的功能一样。到
启用它设置:
json "terminal.integrated.smoothScrolling": true
在 vscode v1.42(2020 年 2 月初)中,两个与终端相关的新命令鼠标滚轮将介绍滚动灵敏度:
滚动灵敏度
终端的滚动灵敏度现在可以独立配置
使用新设置的编辑器terminal.integrated.mouseWheelScrollSensitivity
and
terminal.integrated.fastScrollSensitivity
.
See https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_42.md#scrolling-sensitivity
感谢@Sean 和@user9811991 在评论中指出该设置是一个乘数。我的终端通常一次滚动三行,为了让它只滚动一行,我必须设置terminal.integrated.mouseWheelScrollSensitivity
to 0.08
.
Also see Scrolling the terminal line by line from the keyboard for a keyboard command that scrolls the terminal by one line: workbench.action.terminal.scrollUp
Ctrl-Alt-PageUp
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)