Enable focusing tabs by mouse scrolling on the tab row
#5.924 geöffnet am 15. Mai 2020
Repository-Metriken
- Stars
- (35.764 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)
Beschreibung
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
scrollToSwitchTabssetting is off).
This seemed like a cool idea, so I figured I'd add it here.