Create a multibuffer from multiple files? #6615
Replies: 6 comments 8 replies
-
I'd also like a command to Running |
Beta Was this translation helpful? Give feedback.
-
These features sound awesome! |
Beta Was this translation helpful? Give feedback.
-
@JosephTLyons I've also been hoping https://github.com/zed-industries/community/issues/698 would get some attention at some point! @xpe I think a file based selection would quickly lead to a very cluttered multi-buffer. I'd like to use a command like On that note, Emacs has a feature called narrowing which allows to isolate a buffer to a specific number of lines and thereby limiting all editing operations to those lines only. This feature by itself would be a great addition to Zed but it could lead to an even more interesting usage of a multi-buffer view consisting of narrowed parts of different buffers. |
Beta Was this translation helpful? Give feedback.
-
This is something I've wanted from vscode for a long time, which has been more or less impossible to implement with just the extension API. Has anyone made progress on this type of feature? |
Beta Was this translation helpful? Give feedback.
-
Man I've been wanting something similar to this since I was a heavy Sublime Text 2 user. The sublime search buffer always made me feel like I should be able to do exactly what Zed offers with multibuffer editing. Then, VSCode's peek made me think about how it would feel if I could open a buffer for a single function and then open buffers for every function my current buffer references. That functionality is probably deeper than Zed's Core should handle since every language would be a little different (unless there's somehow an LSP call for getting the start and end of a function). But if Zed's plugin API made creating and manipulating multibuffers easy... Basically I've always wondered what it would be like to have a "focus mode" for individual functions and whatever they depend on. Maybe even the ability to save a named multibuffer with a list of functions used in a particular feature. |
Beta Was this translation helpful? Give feedback.
-
Thank you, @JosephTLyons for #23644! I have run into a number of occasions where I have wanted to do normal/single buffer search, but to see all of the matches opened in a multibuffer. I still want that, but I now have a pretty good intermediate workaround: start a buffer search, run/click "select all matches", run "open selections in multibuffer". Magic! If such a hypothetical "open all matches in multibuffer" feature were added to the buffer search, the only difference between what I mentioned about is that it would not "select all matches" first. Anyway, thank you! |
Beta Was this translation helpful? Give feedback.
-
I'd like to choose some files, smoosh them together in a multi-buffer, looking something like this:
Of course, having a nice visual horizontal separator would be nice.
Design Questions
Beta Was this translation helpful? Give feedback.
All reactions