Extension to view all files from a folder in a single tab?

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?

davenull,

I can’t help but would like to add that this seems like a really really cool idea. It could even be extended to support CTRL+F to search between all the open files, there’s a lot of cool possibilites. Just throwing this out here in case it doesn’t exist and someone feels motivated to make it.

towerful,

Yeh, this actually seems like a uniquely awesome way to view a folder.
Would need to have obvious file break markers. And I dunno if it would make other tooling do too much (like, it’s supposed to work on 1 maybe 2 visible files at a time. Showing 10 at once might make it lag to hell.)

breadsmasher,
@breadsmasher@lemmy.world avatar

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?

etler,

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • vscode@programming.dev
  • kavyap
  • thenastyranch
  • cubers
  • ethstaker
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • GTA5RPClips
  • JUstTest
  • khanakhh
  • normalnudes
  • osvaldo12
  • cisconetworking
  • provamag3
  • Durango
  • tacticalgear
  • modclub
  • Leos
  • megavids
  • tester
  • anitta
  • lostlight
  • All magazines