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.
-
6You might want to watch this: https://github.com/Microsoft/vscode/issues/30191 – Dai Apr 30 '18 at 19:31
-
4See https://stackoverflow.com/a/68233096/836330 for an update on `editor.scrollbar.verticalScrollbarSize` setting in vscode v1.58. – Mark Jul 03 '21 at 03:57
7 Answers
I am using Visual Studio Code 1.58.2 on Windows 10 OS.
- Open the menu: File -> Preferences -> Settings.
- A Settings tab will be open. In the search box, type in title scrollbar sizing.
- Change the dropdown list value from default to large.
- Close Settings tab.
- DONE! Congratulations.
If you want to test it, open multiple files and you will see the horizontal scrollbar at the top is wider and easier to pick by the mouse pointer.

- 643
- 5
- 17
@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
(to insert in 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;
}
*/

- 313
- 2
- 10
-
note: latest VSC above didnt work. specifically this part: .monaco-workbench>.part.editor didnt' work, needed a slight modification: .monaco-workbench .part.editor – armyofda12mnkeys Jan 04 '20 at 18:57
-
@armyofda12mnkeys , `.monaco-workbench .part.editor` and removing all `>` still doesn't work – ilias Jan 04 '20 at 22:15
As of VS Code 1.48.0, the following line in settings.json helped me to make horizontal scrollbar larger:
"workbench.editor.titleScrollbarSizing": "large"

- 111
- 1
- 3
You need to edit the file %APPDATA%\Code\User\settings.json and add
,"editor.scrollbar.verticalScrollbarSize": 15
,"editor.scrollbar.horizontalScrollbarSize": 15

- 677
- 8
- 5
-
1And ignore the "Unknown Configuration Setting" that VS Code throws at you, it works regardless. – svenema May 12 '21 at 19:01
Since VSCode's June 2021 release (version 1.58) the scrollbar can be edited directly in the settings (get there faster by pressing ctr+,) and searching for editor.scrollbar
. You can change the vertical scrollbar's size there.

- 61
- 6
-
Thank you! I don't know why this one isn't set to this size by default to match the others. – Case Silva Sep 10 '21 at 13:43
Thanks to Dai for the link. The undocumented property editor.scrollbar.verticalScrollbarSize
handles this for the code windows. It doesn't affect the scrollbars on the file explorer, but that's OK for now.

- 1,043
- 4
- 13
- 15
You can also have the open tabs wrap and not scroll:
"workbench.editor.wrapTabs": true

- 41
- 3