Enable focusing tabs by mouse scrolling on the tab row #8161

Open
opened 2026-01-31 01:22:21 +00:00 by claunia · 3 comments
Owner

Originally created by @zadjii-msft on GitHub (May 15, 2020).

https://code.visualstudio.com/updates/v1_45#_switch-tabs-using-mouse-wheel

When you use the mouse wheel to scroll over editor tabs, you currently cannot switch tabs, only reveal tabs that are out of view. Now with a new setting workbench.editor.scrollToSwitchTabs, you can change the behavior to switch the active editor tab.

Below when the cursor focus in the editor tab region, if the user scrolls their mouse wheel, the active editor changes.

Note: You can also press and hold the Shift key while scrolling to get the opposite behavior (for example, you can switch editor tabs even when the scrollToSwitchTabs setting is off).

This seemed like a cool idea, so I figured I'd add it here.

Originally created by @zadjii-msft on GitHub (May 15, 2020). https://code.visualstudio.com/updates/v1_45#_switch-tabs-using-mouse-wheel > When you use the mouse wheel to scroll over editor tabs, you currently cannot switch tabs, only reveal tabs that are out of view. Now with a new setting `workbench.editor.scrollToSwitchTabs`, you can change the behavior to switch the active editor tab. > > Below when the cursor focus in the editor tab region, if the user scrolls their mouse wheel, the active editor changes. > > Note: You can also press and hold the Shift key while scrolling to get the opposite behavior (for example, you can switch editor tabs even when the `scrollToSwitchTabs` setting is off). This seemed like a cool idea, so I figured I'd add it here.
claunia added the Help WantedIssue-TaskProduct-TerminalArea-UserInterface labels 2026-01-31 01:22:22 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (May 16, 2020):

Hey, I like that.

@DHowett-MSFT commented on GitHub (May 16, 2020): Hey, I like that.
Author
Owner

@surya-prakash-susarla commented on GitHub (May 20, 2020):

Can I try to take this up ?

@surya-prakash-susarla commented on GitHub (May 20, 2020): Can I try to take this up ?
Author
Owner

@DHowett commented on GitHub (May 20, 2020):

Sure!

@DHowett commented on GitHub (May 20, 2020): Sure! * It needs to be an option! * if there are chances necessary to the TabView code they may make good feature suggestions at [the microsoft-ui-xaml repository](https://github.com/microsoft/microsoft-ui-xaml)!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8161