有没有办法让Visual Studio代码的窗口滚动条变宽?我发现与其他应用程序相比,它们太瘦了几个像素,而且我的鼠标经常错过我想要点击的确切位置。
发布于 2019-01-28 03:24:34
@andr它只适用于垂直的全套
,"editor.scrollbar.verticalScrollbarSize": 10
,"editor.scrollbar.horizontal": "visible"
,"editor.scrollbar.horizontalScrollbarSize": 15,和使用特别有意义的extension的workaround,用于选项卡组滚动条
(要在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;
}
*/发布于 2019-08-29 16:44:09
您需要编辑文件%APPDATA%\Code\User\settings.json并添加
,"editor.scrollbar.verticalScrollbarSize": 15
,"editor.scrollbar.horizontalScrollbarSize": 15发布于 2020-08-19 19:29:18
从VS代码1.48.0开始,settings.json中的以下代码行帮助我放大了水平滚动条:
"workbench.editor.titleScrollbarSizing": "large"https://stackoverflow.com/questions/50106972
复制相似问题