Description
Originally filed here microsoft/vscode-jupyter#12843
Problem:
- Notebook kernel pre-load scripts are now defined statically via the package.json contribution
notebookPreload
- However VS Code throws a 401 error when loading resources from within the Jupyter extension,
If however we have a dummy script file (in the Jupyter extension directory) that is defined as a rendererScripts
in the createNotebookController
VS Code API , then all resources from Jupyter extension directory are loaded
I.e. using the above API in some way registers the Juptyer extension directory as a supported root
for scripts, and using the static contribution ntoebookPreload
does not.