Support for custom File Systems of VSCode
See original GitHub issueIt seems that the data preview currently does not support custom file systems created for VSCode using the (https://code.visualstudio.com/api/extension-guides/virtual-documents, https://github.com/microsoft/vscode-extension-samples/blob/main/fsprovider-sample/README.md)
So I have a custom file system and a file stored on it (e.g. foo://myfolder/myfile.csv
). Everything works fine in VSCode itself (opening it from explorer, previewing, etc.) but the extensions does not seem to be able to load that file complaining about that /myfolder/myfile.csv
does not exists
Is this supposed to work? if not, any plans to add this feature?
thanks in advance, -gerhard
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
File System API | Visual Studio Code Extension API
The text document content provider API allows you to create readonly documents in Visual Studio Code from arbitrary sources. You can find a...
Read more >How to work with FileSystemProvider file systems in Visual ...
First, they create a new class called MemFS , which implements vscode. ... which means that file system provider will be used whenever...
Read more >Add custom file types in Visual Studio Code
Create a new file type in your ServiceNow instance and inherit it from the application file. · Add custom columns of the type...
Read more >vscode.workspace.findFiles doesn't search in user ...
you'll never get files located in custom file system (if they are not on the local disk). And in case of MemFS you'll...
Read more >vscode.FileSystem - Haxe externs for Visual Studio Code
The scheme of the filesystem, for example file or git . Returns: true if the file system supports writing, false if it does...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
so the use-case is very similar to what was already discussed in in #298 - it would also be my long-time goal to have everything run also as a web-extension. However, custom file system can also be very beneficial in desktop mode.
So in our extension for Databricks (a big data processing engine in the cloud) the results are stored in Databricks` internal file system called DBFS. I created a custom file system which allows me to “mount” the DBFS into the VSCode explorer https://raw.githubusercontent.com/paiqo/Databricks-VSCode/master/images/FileSystemIntegration.jpg
You would usually do some processing of data on Databricks and view the result files (usually CSV, Parquet, etc.) with a proper data viewer like yours. It would really come in handy to inspect the files from within VSCode directly as accessing them otherwise can be cumbersome
I am also currently in the progress of rewriting everything to
workspace.vs
as I think it is definitely the way to go for the future and it is actually super powerful!@gbrueckl I have not decided on that part yet, but if you want to try the latest version of perspective viewer with large csv data files for now, that’s the extension you should try.
I will be adding other Pro sponsors only features to that extension in the months to come. Data preview updates are on hold till I get better sense of how that new viewer is shaping up with embedded analytics db for large data files, streaming data, etc.