microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.59k stars 29.03k forks source link

Add toggle setting to keep pinned tab when enabling 'Scrolling To Switch Tabs' #230288

Open vuon9 opened 2 weeks ago

vuon9 commented 2 weeks ago

I would like to ask for an option related to the following setting. Enabling the new setting option should prevent pinned tabs from scrolling along with other unpinned tabs.

It is inconvenient and frustrating to have to scroll back to find the pinned tabs, especially when I need to switch frequently between two main tabs.

Related setting: image

The current behavior is that pinned tabs will move along with other tabs when scrolling. image

benibenj commented 2 weeks ago

Have you tried the workbench.editor.pinnedTabsOnSeparateRow setting? It will make sure you always see your pinned tabs

vuon9 commented 2 weeks ago

Thank you @benibenj, I gave it a try and it can be helpful on occasion.

But, it would be great if VSCode could also have the option to display pinned tabs on the same row, since I don't always have a large monitor available, using workbench.editor.pinnedTabsOnSeparateRow is good but also takes me so much space.

vs-code-engineering[bot] commented 2 weeks ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!