zed icon indicating copy to clipboard operation
zed copied to clipboard

Add vertical tabs option in left sidebar (similar to "open editors" in VS Code)

Open diocletiann opened this issue 3 years ago • 9 comments

Check for existing issues

  • [X] Completed

Is your feature request related to a problem?

N/A

Describe the solution you'd like

Add an option for a vertical tabs pane above the project pane. The project tree view doesn't need the entire height of the window (often noise or empty space) and disabling the horizontal tab bar will reclaim ~2 rows in the editor pane.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

diocletiann avatar Aug 20 '22 14:08 diocletiann

For me personally having a list of all of the open tabs (all of the open files) does not have to be in the left side bar....

It could be displayed similar to the way the command palette is displayed and then you would go ahead and select the file you want to come into focus to work on.

stormasm avatar Sep 19 '22 19:09 stormasm

For me personally having a list of all of the open tabs (all of the open files) does not have to be in the left side bar....

It could be displayed similar to the way the command palette is displayed and then you would go ahead and select the file you want to come into focus to work on.

Hey @stormasm, does this user suggest a workflow that would work for what you are describing here?

  • https://github.com/zed-industries/feedback/issues/351

JosephTLyons avatar Sep 19 '22 19:09 JosephTLyons

For me personally having a list of all of the open tabs (all of the open files) does not have to be in the left side bar....

It could be displayed similar to the way the command palette is displayed and then you would go ahead and select the file you want to come into focus to work on.

This would work equally well for me, most of the time I don't even show the sidebar in IntelliJ. As long as I can hide the mostly empty tab bar and use that space for code, while still getting some visual feedback when switching buffers, I'm happy.

Another option that I would appreciate would be combining the title bar and the tab bar.

diocletiann avatar Sep 19 '22 19:09 diocletiann

@JosephTLyons the problem with the file finder approach for solving this particular problem is that you have to know in advance what you are looking for ---- because until you start typing something the file finder is blank (correct ?).

The file finder starts out when you hit Cmd P with nothing in it...

Sometimes I just want to see all of the files I have open when there are too many tabs so I can start deleting the tabs I no longer want...

And / or I want to see what I was working on yesterday or earlier in the day and seeing the list of files / tabs helps me remember...

stormasm avatar Sep 19 '22 20:09 stormasm

@JosephTLyons the problem with the file finder approach for solving this particular problem is that you have to know in advance what you are looking for ---- because until you start typing something the file finder is blank (correct ?).

The file finder starts out when you hit Cmd P with nothing in it...

Sometimes I just want to see all of the files I have open when there are too many tabs so I can start deleting the tabs I no longer want...

And / or I want to see what I was working on yesterday or earlier in the day and seeing the list of files / tabs helps me remember...

ah yes, what about if the file finder worked more like VS Code, where in its default state (after being launched) it showed opened files at the top of the list? Just spitballing some ideas here.

JosephTLyons avatar Sep 19 '22 21:09 JosephTLyons

Then that would be fine IMHO 👍

stormasm avatar Sep 19 '22 23:09 stormasm

image this is how Lapce does it when you have split panes

diocletiann avatar Sep 19 '22 23:09 diocletiann

VSCode's similar "Open Editors" section has a "Save all" button. It's a lifesaver, especially with projects where multiple files saved in sequence trigger rebuilds and rebuild-cancellations, or in the worst case, multiple full rebuilds.

Would be great if Zed also had a "Save all" button, and I felt this was the most suitable issue to bring this up.

arggh avatar Apr 17 '24 18:04 arggh

There is this concept:

https://github.com/zed-industries/zed/blob/main/assets/keymaps/default-macos.json#L455

      "cmd-alt-s": "workspace::SaveAll",

stormasm avatar Apr 17 '24 19:04 stormasm