feat: add configurable sidebar font sizes #2626
Open
+104
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Summary
This patch adds user-configurable font size settings for both primary and secondary sidebars, addressing long-standing accessibility requests.
New Settings
workbench.sideBar.fontSize: Controls the font size used for content inside the primary side bar (6-32px, default 13px)workbench.secondarySideBar.fontSize: Controls the font size used for content inside the secondary side bar (6-32px, default 13px)Demo
Implementation
--vscode-workbench-sidebar-font-sizeand--vscode-workbench-secondary-sidebar-font-size)Files Modified (via patch)
src/vs/workbench/browser/workbench.contribution.ts— Configuration schemasrc/vs/workbench/browser/parts/sidebar/sidebarPart.ts— Primary sidebar logicsrc/vs/workbench/browser/parts/sidebar/media/sidebarpart.css— Primary sidebar stylingsrc/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.ts— Secondary sidebar logicsrc/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css— Secondary sidebar stylingMotivation
Users frequently request enlarged sidebar content for better readability. Prior solutions were limited to zooming the entire interface or manual CSS editing. This change exposes configuration directly in Settings, supporting accessibility workflows.
Background
This is based on microsoft/vscode#270851, which was rejected by Microsoft with the comment "In this area we do not accept PRs, thanks" despite receiving 18 positive reactions and significant community support.
Since VSCodium is more community-driven, this feature could benefit users who need this accessibility improvement.
Testing
The original PR author tested with:
npm run compileexecuted successfully