有没有办法让Visual Studio Code的窗口滚动条更宽?我发现与其他应用程序相比,它们的几个像素太瘦,我的鼠标经常错过了我想要点击的精确位置。
@andr它仅适用于垂直,完整的设置
,"editor.scrollbar.verticalScrollbarSize": 10
,"editor.scrollbar.horizontal": "visible"
,"editor.scrollbar.horizontalScrollbarSize": 15
和workaround使用特别有意义的extension,用于标签组滚动条
(要在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;
}
*/
感谢Dai的链接。未记录的属性editor.scrollbar.verticalScrollbarSize
为代码窗口处理此问题。它不会影响文件资源管理器上的滚动条,但现在可以。