Closed gjsjohnmurray closed 9 months ago
If #523 happens I could investigate and maybe offer a PR. Any news on that?
@alefragnani any thoughts about this bug and/or my offer to investigate / fix it once you make all the source public?
Hi @gjsjohnmurray ,
First of all, sorry for the late reply.
As we discussed, I'll take a look on memfs support ultil the weekend, and let you know.
BTW, based on the log you provided, you are using the desktop version of VS Code, right? No Codespaces, vscode.dev or similar.
Hope this helps
you are using the desktop version of VS Code, right?
Right. Thanks for planning to investigate.
The same error was raised here https://github.com/microsoft/vscode/issues/172788, an fixed with https://github.com/microsoft/vscode/pull/172848.
This happens because MemFS workspace has its path
as a single slash too. And it failed while derivating a new Uri
here.
return workspaceFolder.uri.with({
path: `${prefix}/${file.path}`
});
But, it looks promissing...
@alefragnani thanks for doing this. Please let me know when there's a VSIX containing the fix, as I am keen to test whether or not Bookmarks now works properly with the FSP of the popular (>50K downloads) extension I help maintain.
Hi @gjsjohnmurray,
I just released v13.4.2, which incorporates the fix. Please let me know if it also works on your InterSystems ObjectScript extension.
@alefragnani yes, it now works with that extension. Thanks for the fix.
That's great to hear. Thanks for the feedback 👍
Environment/version
Steps to reproduce
jrieken.vscode-memfs
extension, which is a packaged version of https://github.com/microsoft/vscode-extension-samples/tree/main/fsprovider-sampleMemFS: Setup Workspace
thenMemFS: Create Files
:bug: See this is the Extension Host channel of the Output tab on Panel:
I would also like to use your Bookmarks extension with files served by the FileSystemProvider in intersystems-community.vscode-objectscript, which I help maintain. It doesn't work properly there either. I can set a bookmark in a file, and the bookmark appears in the gutter, but the file node in the Bookmarks Explorer tree shows no descendants.
I'm hoping that if you fix the above error when handling a file from
jrieken.vscode-memfs
you might also see the "no descendants" issue and be able to fix it too.