Open bradenbiz opened 2 years 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!
Either we have default widths, or the editor can remember the last width used.
@ZackTherrien Yes, but the point of my suggestions is that setting the default width of a view and remembering the last width of a view are the same thing.
Oh man, the number of times that I resize the SVN or extensions sidebar! Yes please :)
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Related Stack Overflow questions:
Hello all, Kindly let me know if this feature is developed. I am looking foward to config a hot key to access and resize the side panel in vsc so eagerly. I have to search for that little mouse pointer to navigate around just to resize.
for the love of all that is holy please add this, its been years
Yes, we need this. How on earth do we still have to resize the sidebar each time the view is switched between Debug/Explorer/Chat/whatever?
Yes, we want this.
Note: The same(?) request was closed as out-of-scope in 2016: #12446, which had a duplicate, #15832
The comment mentioned 6-12 month roadmap. So hopefully this has a chance of getting some attention.
Every single time switching between Explorer and Debugger I have to resize. I really hope this gets some attention in the near future.
++++ disappointed that we are all required to waste time resizing, especially with the copilot chat default location being in the sidebar.
You really want a different size for that compared to a file tree...
Been waiting for this for years, I hate having to expand a bunch of tabs everytime I switch any views whatsoever.
This is ridiculous, especially since there's Copilot living in there as well. I can't believe nobody in MS has this issue. How do we get someone to make it happen? Like tag @Microsoft or @vscodeteam or something, lol
We definitely need this. I keep coming back here to check if it has been finally resolved. It's extremely annoying to shrink the sidebar every time when opening a project, switching screens, etc.
Super useful feature. Especially if it will work inabtrusively, by simply restoring the last set width for each sidebar panel. I hope it gets more attention from developers.
Just had exactly this issue with extension view vs explorer view. The former is better useable when wider, e.g. using auto-width when double clicking the sash, while the latter requires less space, also using auto-width. Could really use this feature.
@totkeks slight tangent but addressed this pain point for me - vscode finally added a secondary sidebar, maybe moving extension mode to that would help you out?
+1 on ticket though, I'd love to pin my sidebar widths
@totkeks slight tangent but addressed this pain point for me - vscode finally added a secondary sidebar, maybe moving extension mode to that would help you out?
Thanks for the hint. It might work as a workaround for me, though I'm currently using Copilot Chat in the secondary sidebar and plan to keep it there, once I upgrade from 16:9 to 21:9 resolution, as this would allow me to easily fit primary sidebar with explorer or git or debugger, two editor windows with the terminal below them, and the secondary bar on the right side.
So, for me the view-specific widths would still be more helpful. Then I can just go to the view I want, e.g. Extensions or Debugger, this will resize the editor/terminal area (I guess?), and when I jump back to file explorer everything should be as it was before.
I work in a team of 11 frontend developers, and all of them are on their knees asking you to implement memorising or manually setting a fixed sidebar width !
Still waiting for this!
Still waiting VS Code...
same, still waiting. please add this feature
This has been a nightmare when switching screens using different resolutions for 2 years now, could we please have an update? Having a setting for specifying a fixed sidebar width doesn't sound like a super complicated thing to implement while nearly 200 people have thumbed up the issue. It'd be very nice to have some updates on why it isn't there just yet and how we could help it moving forward. Thanks for your understanding 🙏
When VSCode working with a notebook and an external monitor, it's a hell. Because I put VSCode windows in the external monitor, but when the monitor is unplugged, they will go back to the screen of notebook, every time the external monitor is plugged in or unplugged, the width of sidebar is gone... and this will be happened everyday.
yea. upvote this for sure.
not a great solution, and definitely would prefer a persistent sidebar width for each view, but i found unassigned commands:
workbench.action.increaseViewSize
and workbench.action.decreaseViewSize
atleast i don't have to go for the mouse and the command works with both the primary and secondary sidebars, but it is still annoying
{
"key": "shift+cmd+\\",
"command": "workbench.action.increaseViewSize",
"when": "sideBarVisible || auxiliaryBarVisible"
},
{
"key": "shift+cmd+/",
"command": "workbench.action.decreaseViewSize",
"when": "sideBarVisible || auxiliaryBarVisible"
},
{
"key": "cmd+b",
"command": "workbench.action.toggleAuxiliaryBar",
"when": "auxiliaryBarVisible"
},
i'm driving a ZSA voyager so my / and \ are more conveniently located, but the third one to toggle the auxiliary bar closed is pretty clutch, it saves having to remember a different keybinding
+1 on this one.
It is extremely annoying to stretch the sidebar (where the folder tree is) manually to an adequate width every time I open another project in a new window via "Open recent".
Not only should it open fullscreen right away, like the current project is, but also the sizing of panels should be the same as well.
Like, what the hell is this?
@ilyakonrad I think this setting would be a good fit for your case: "window.newWindowDimensions": "maximized"
. This annoys me too, and I just found a solution to this problem in the documentation
@mrivanandreev Thanks a lot! Works like a charm!
In Zed, we have:
"centered_layout": {
"left_padding": 0.25,
"right_padding": 0.25
},
Accepting a ratio as the arg is also a good choice.
+1 up for this request. Now, with AI on the sidebar this feature has become even more crucial
Summary
It'd be awesome if each Activity Bar View(ie. "File Explorer", "Search", "Source Control", "Extensions")'s Sidebar has its own unique width, that can be adjusted:
Reasoning
When switching between the different Views in the Activity Bar, there are different Sidebar widths that are more conducive to productively using each View (a value, which, will vary per user's preferences and/or per workspace's details). For example, personally for my workspace, the "Source Control" View needs more space than the "File Explorer" View does. So, when I switch between the two, I have to adjust the Sidebar width manually (via the sash) every time if I want to maximize screen space with the "File Explorer" View or efficiently use the wider "Source Control" View.
Current Behavior
Desired Behavior
Potential (example) Settings
General
"workbench.sidebar.defaultWidth" = 400
[default: {whateverVSCodeCurrentlyUses}] (the default width of every View's Sidebar that does not have a custom value set to it)"workbench.sidebar.useViewSpecificSidebarWidths" = true
[default: false] (make each View's Sidebar have its own unique width)"workbench.sidebar.autoAssignViewDefaultWidths" = true
[default: false] (assign the defaultWidth setting of a View every time there is a manual change via the sash to a View's Sidebar width) (requiresworkbench.sidebar.useViewSpecificSidebarWidths
=true
)View-Specific Sidebar Default Widths
(require
workbench.sidebar.useViewSpecificSidebarWidths
=true
)"workbench.sidebar.explorer.defaultWidth" = 500
[default:workbench.sidebar.defaultWidth
] (the default width of the "File Explorer" View's Sidebar)"workbench.sidebar.scm.defaultWidth" = 600
[default:workbench.sidebar.defaultWidth
] (the default width of the "Source Control" View's Sidebar)"workbench.sidebar.search.defaultWidth" = 900
[default:workbench.sidebar.defaultWidth
] (the default width of the "Search" View's Sidebar)"workbench.sidebar.extensions.defaultWidth" = 550
[default:workbench.sidebar.defaultWidth
] (the default width of the "Extensions" View's Sidebar)"workbench.sidebar.gitlens.defaultWidth" = 870
[default:workbench.sidebar.defaultWidth
] (the default width of the "GitLens" View's Sidebar)"workbench.sidebar.{anyActivityBarView}.defaultWidth" = 700
[default:workbench.sidebar.defaultWidth
] (the default width of the "{anyActivityBarView}" View's Sidebar)