zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.72k stars 3.14k forks source link

Add pane-closing functionality #5182

Open JosephTLyons opened 2 years ago

JosephTLyons commented 2 years ago

Check for existing issues

Is your feature request related to a problem?

We currently have

These are operations that are performed on files. It would be great if we had the same functionality for panes

If we were to implement this, we might want to change the names of the first 2 commands to be more specific to files / tabs.

Something to consider is, how does this look on the UI? Is this something we surface to the user on the UI, or do we omit it to keep the UI from being too noisy, and only support triggering them from commands?

Describe the solution you'd like

Implement:

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

No response

failable commented 1 year ago

It would also be helpful to have commands like "Close other pane" that close the sibling pane without moving to that pane before closing.

ZelCloud commented 1 week ago

Close Active File should also have an option to Close Active File without Saving