Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save width of Explorer column (sidebar) in Workspace #75017

Open
DanaMW opened this issue Jun 6, 2019 · 8 comments
Open

Save width of Explorer column (sidebar) in Workspace #75017

DanaMW opened this issue Jun 6, 2019 · 8 comments
Assignees
Labels
feature-request Request for new features or functionality layout General VS Code workbench layout issues
Milestone

Comments

@DanaMW
Copy link

DanaMW commented Jun 6, 2019

When I open a one of my workspaces it consists of all short (few letters) filenames and then another I open has some very long filenames. Is there a way currently to save the positioning of that column? I switch back and forth all day.
If not I thought that (simple sounding) idea might be considered to be added to saved settings for the saved workspace.
Thanks for listening and your consideration and or help.
Note: I tried to find a setting or reference but seem unable. Please forgive me if I missed it.

@egamma egamma added the info-needed Issue requires more information from poster label Jun 7, 2019
@egamma
Copy link
Member

egamma commented Jun 7, 2019

@DanaMW can you please illustrate your problem with some screenshots?

@DanaMW
Copy link
Author

DanaMW commented Jun 7, 2019

The first WorkSpace is thinner due to short filenames...
2019-06-07
Then i have to resize for another saved Workspace...
2019-06-07 (1)
And having to resize all day for more editor area as I switch back and forth. A LOT.
So to be clear, If there is not a way to save that column (of the list of Directories and files in the explorer) width I was inquiring about a possible option to add saving the width of that column in the saved Workspace.
Thanks for asking.

@egamma egamma self-assigned this Jun 11, 2019
@egamma egamma removed the info-needed Issue requires more information from poster label Jul 30, 2019
@egamma egamma assigned sbatten and unassigned egamma Jul 30, 2019
@sbatten sbatten added feature-request Request for new features or functionality layout General VS Code workbench layout issues labels Jul 30, 2019
@sbatten sbatten added this to the Backlog milestone Jul 30, 2019
@zisis912
Copy link

This is annoying me as well, if anyone knows of an extension to temporarily do this let me know.

@aaronransley
Copy link

aaronransley commented Apr 5, 2022

Adding two related issues (#15832, #12446) that seems to have a similar spirit to this request: offer some form of persistence to the width of the sidebar.

Here is a bit of a distilled vision, which I hope helps to centralize desires around this feature.

  • The widths of each "viewlet" or "sidebar panel" (i.e. Panel):
    • Are saved separately from one-another.
    • Are persisted either globally, or at the workspace level.
      • Where Panel widths are persisted would ideally be configurable (e.g. via Settings system or the Editor Layout system).
    • Are automatically saved when a user drags the appropriate divider on UI.
      • Alternatively, per Settings toggle, Panel widths are instead read-only, and modified explicitly via Settings system.
    • Are restored upon window / workspace initialization, or perhaps tied to an explicit "Restore Sidebar Panel Widths" command.

Would love to hear others' opinions on this proposed functionality. I do not have an entirely holistic view of the UI systems in VS Code, so it may make more sense to expand the Editor Layout system to achieve many of these goals.

@just7mile
Copy link

Any news?

Unfortunately, the above-mentioned issues (#15832, #12446) are already closed without any solutions.

@lauaall
Copy link

lauaall commented Oct 31, 2022

There should be an option where it automatically makes the sidebar as long as the longest file name so that all the file names are readable up to a certain width.
Like this
Before:
image
After:
image

@starball5
Copy link

starball5 commented Nov 5, 2023

Related on Stack Overflow: How can I make VS Code remember the sidebar width on a per-workspace basis?, which is also related to #158603.

@lauaall
Copy link

lauaall commented Nov 6, 2023

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality layout General VS Code workbench layout issues
Projects
None yet
Development

No branches or pull requests

8 participants