microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.49k stars 29.38k forks source link

Ability to open files in a single tab one after another #231799

Open awerlogus opened 4 weeks ago

awerlogus commented 4 weeks ago

Hello there! My project consists of many small files and it's becoming quite difficult to manage this codebase with the default approach of "one file per editor tab". About 85% of my vertical screen space is left empty and unused. While there is already a feature to search for files within a tab, which allows me to view multiple files at once using 'search \n hack', it's currently not possible to edit these files from this view. Image

I believe it would be very useful to allow people to open files one after another in a single tab for editing, similar to how the search view displays them. This would allow users to easily navigate through many files they are working on, as they would scroll through each file one after the other.

Thank you for your attention to this issue. I look forward to hearing back from you soon.

bpasero commented 4 weeks ago

/duplicate https://github.com/microsoft/vscode/issues/143024

vs-code-engineering[bot] commented 4 weeks ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

awerlogus commented 3 weeks ago

@bpasero Please reopen this issue as it is not a duplicate of https://github.com/microsoft/vscode/issues/143024. My proposal differs from that one. I do not want to see split views with independent scrolling. Instead, I would like to have the ability to view files one after another in the editor. When you open three files in the editor, the contents of the first file will appear at the top of the screen. As you scroll to the end of that file, the contents of the next file will start to appear. After the contents of the second file, you will see the contents of the third file, and so on. This is similar to how notebooks are displayed, as a long scrolling, but with file contents instead. Please look at the attached screenshot for a better understanding of what I mean.

bpasero commented 3 weeks ago

This could probably work if we had the multi-diff-editor for single files without diff.

//cc @benibenj @hediet

vs-code-engineering[bot] commented 3 weeks 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!