-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Notebook: hardcoded file assumptions #107438
Comments
Just to clarify: currently on |
I use |
Ok, let's reopen this issue to make sure we do the right fix, you bring up a good question and looking at your changes I am not entirely sure they are correct. Trying to recap:
I suggest that you give your changes a try from the Since I am not an expert in the |
I checked
note that it's |
Ping |
I think not from my end, looks like what I mentioned in #107438 (comment) has been addressed. If notebooks work fine when |
Closing this based on comments I believe we also plan on removing the loader: #121245 |
The context is: #107437 and the deprecation of
getPathFromAmdModule
I notice that
src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.ts
makes assumptions about usingfile
protocol:vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.ts
Line 557 in ddc98c3
and a deprecated
getPathFromAmdModule
use:vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.ts
Line 358 in ddc98c3
The new methods are
FileAccess.asFileUri
andFileAccess.asBrowserUri
. It would be great if notebooks could adopt this accordingly.The text was updated successfully, but these errors were encountered: