microsoft / vscode

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

Support FilesDirectories for file systems #101135

Open kevinslin opened 4 years ago

kevinslin commented 4 years ago

Applications like Notion support "files as directories" - this is to say, you can create a file that has content but also has children. I'm currently working on an extension for VSCode with "files as directories" functionality but I'm not able to integrate this natively with the FileSystemProvider because Directory and File are distinct and non-overlapping types. This means that neither the file explorer or the breadcrumb are able to support my usecase.

A possible implementation:

isidorn commented 4 years ago

Forwarding to @jrieken because it is a FileSystemProvider feature request.