microsoft/Terminal

Enable focusing tabs by mouse scrolling on the tab row

Open

#5,924 建立於 2020年5月15日

在 GitHub 查看
 (3 留言) (2 反應) (0 負責人)C++ (3,212 fork)batch import
Area-UserInterfaceHelp WantedIssue-TaskProduct-Terminal

倉庫指標

Star
 (35,764 star)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

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.

貢獻者指南