Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@terreng
Copy link
Contributor

@terreng terreng commented Apr 10, 2025

Closes #246160

Adds a new option, workbench.editor.titleScrollbarVisibility, to control the visibility of the scrollbars used for tabs and breadcrumbs in the editor title area. Possible options are auto, visible, and hidden.

This option mirrors the behavior of an existing option, editor.scrollbar.horizontal.

How to test:

  • Use all default options.
  • Open many tabs in the editor until a scrollbar appears. Alternatively, shrink the width of the window.
  • Open a file that creates a long breadcrumb that requires scrolling. See the example file below.
  • Observe that by default, the scrollbars appear only when you hover.
  • Change the new workbench.editor.titleScrollbarVisibility option to visible or hidden and test the behavior.
File that creates a long breadcrumb for testing

You must save it as a file and open it in order for the breadcrumbs to appear. Place your cursor in the middle of the inner function in order for the breadcrumbs to appear.

example.js

function superDuperLongOuterFunctionNameToMakeTheBreadcrumbHaveToScroll() {
  function superLongInnerFunctionNameToMakeTheBreadcrumbHaveToScroll() {
  	
  }
}

Screen recording that demonstrates the new option:

Screen.Recording.2025-04-09.at.7.00.33.PM.mov

@terreng
Copy link
Contributor Author

terreng commented Apr 10, 2025

@microsoft-github-policy-service agree

@Yoyokrazy Yoyokrazy assigned benibenj and unassigned DonJayamanne Apr 10, 2025
@benibenj benibenj added this to the May 2025 milestone Apr 11, 2025
@benibenj benibenj modified the milestones: May 2025, June 2025 Jun 2, 2025
@benibenj benibenj modified the milestones: June 2025, Backlog Jul 1, 2025
@terreng
Copy link
Contributor Author

terreng commented Jul 1, 2025

🥺👉👈

@benibenj benibenj enabled auto-merge (squash) August 8, 2025 10:44
@benibenj benibenj modified the milestones: Backlog, August 2025 Aug 8, 2025
@benibenj benibenj merged commit 5ce780c into microsoft:main Aug 8, 2025
17 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New option to control title scrollbar visibility

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.