如何在 Visual Studio Code 中使滚动条变宽? [英] How to make scrollbars wider in Visual Studio Code?

查看:54
本文介绍了如何在 Visual Studio Code 中使滚动条变宽?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让 Visual Studio Code 的窗口滚动条变宽?我发现与其他应用程序相比,它们的像素太小了,而且我的鼠标经常错过我尝试点击的精确位置.

Is there a way to make Visual Studio Code's window scrollbars wider? I'm finding they're a few pixels too skinny compared to other apps and my mouse often misses the precise location that I'm trying to click.

推荐答案

@andr 仅适用于垂直,全套

@andr its only for vertical, the complete set

,"editor.scrollbar.verticalScrollbarSize": 10
,"editor.scrollbar.horizontal": "visible"
,"editor.scrollbar.horizontalScrollbarSize": 15

解决方法 使用非常有意义的 扩展,用于标签组滚动条

, and workaround using an exceptionally meaningful extension ,for tabs group scrollbar

(插入custom.css):

/*tab group scrollbar;*/
.monaco-workbench>.part.editor>.content .editor-group-container>.title.tabs>.tabs-and-actions-container>.monaco-scrollable-element .scrollbar,
.monaco-workbench>.part.editor>.content .editor-group-container>.title.tabs>.tabs-and-actions-container>.monaco-scrollable-element .scrollbar .slider {
    height: 20px !important;
}

/*scrollbars;
.monaco-workbench>.part.editor>.content .editor-group-container>.editor-container .monaco-scrollable-element .scrollbar
, .monaco-workbench>.part.editor>.content .editor-group-container>.editor-container .monaco-scrollable-element .scrollbar .slider {
    height: 20px !important;
}
*/

这篇关于如何在 Visual Studio Code 中使滚动条变宽?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆