visual-studio-code - 设置滚动行数

标签 visual-studio-code

在 Visual Studio Code 中,如何在滚动鼠标时调整可滚动行?

它滚动 8 行,但我希望它只滚动 3 行。

最佳答案

您应该能够使用此设置进行调整:

// A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll 
   events
"editor.mouseWheelScrollSensitivity": 1

例如作为乘数将其设置为 2 ,您将使滚动翻倍。
但老实说,我不知道你是否可以使用小数。因此,例如放置 0.5默认情况下,您应该能够拥有一半的滚动条。

我希望它有帮助

关于visual-studio-code - 设置滚动行数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45615529/

相关文章:

pythonVSCode、venv 和 pylint

json - Windows 终端 - 在保存时缩小我的配置是什么?

python - 安装了 PyTorch 但 VS code 不会导入 torch

python - Visual Studio Code 终端不激活 Conda 环境

visual-studio-code - 如何为依赖于其他扩展的 vscode 扩展运行集成测试

python - 如何在 VS 代码 Debug模式下设置断点和命令行参数?

python - pylint 和 autoep8 无法安装

c++ - VSCode运行c++代码时没有这样的文件或目录

typescript - Visual Studio Code 未编译所有 *.ts 文件

jquery - ReferenceError: 调试时 $ 未定义