this post was submitted on 16 Sep 2023
12 points (100.0% liked)

VS Code

757 readers
2 users here now

founded 1 year ago
MODERATORS
 

I was just thinking that sometimes I avoid breaking functions in a file into multiple modules because I don't want to deal with the hassle of switching files. One way to remove that hassle would be to have a way to view all the files in a folder in a single tab with each file appended to the list, so I could scroll through or search all of them in the same tab.

Does VS Code already have an extension like this? If not, is the VS Code extension system flexible enough to implement this feature?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

Just asking because I don’t think I am grasping what you mean - how would you picture this new tab view? How would it differ from the file explorer tree view in vscode as it currently exists?

edit. I think I got it actually - fileA fileB fileC are all split but in one folder. You can then open all 3 in a single tab as if they’re one file?

[–] [email protected] 3 points 1 year ago

I'm imagining the different files in one scrollable view, so once you scroll past one file the next file will be right under it. Basically as if all the files were appended together to one file virtually, but still editable as separate files.