-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web: contributed fs provider delayed and missing right after startup #11
Comments
microsoft/vscode#122004 may be relayted. |
At first I had thought maybe the extension activation is to blame here: it is probably dangerous that both extensions activate at the same time and the one depends on the other. What happens if your extension is activated first and then the one providing the file system? Anyhow, from the console messages it seems the order is correct so you maybe lucky in this case. The error in the console also confirms that: it is not an error indicating that we are missing a file system provider, but we literally seem to fail to find the file: When I debug this further, I see that we actually correctly use the Printing the error from that call I see:
Which makes me believe it is a problem with your extension. From the workbench point of view, everything seems to be working OK. |
Thanks @bpasero, you are absolutely right. Sorry I didn't figure that out myself. |
npm i
&&npm run run-in-browser
vscode-test-web://mount/
.vscode-test-web
is a file system provider contributed by an extension that is part of the test-web runner: https://github.com/microsoft/vscode-test-web/tree/main/fs-provider*
vscode-test-web://mount/extension.ts
🐛 -> no editor opens
Looks like the registration of the fs provider is delayed.
The text was updated successfully, but these errors were encountered: