-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Jupyter Notebooks native support through latest Python VS Code extension #16818
Comments
I was working on upgrading the Python plugin today (it's almost a year out of date) as part of #16723. Thanks for doing some more investigation, once I get the Python extension upgraded (there are some bugs at the moment) it will be quite helpful. |
Just wanted to note, we might be missing some plugin api: eclipse-theia/theia#3186 (comment) for the newest version of the python plugin. There seems to be a few other Jupyter issues on the theia repo as well: https://github.com/eclipse-theia/theia/issues?q=is%3Aissue+is%3Aopen+Jupyter |
Yes, jupyter issues aside the latest python extension also complains about Python not being installed, even though it's present in the container and running python code still works. Lots of weirdness going on there. |
It looks like a known issue microsoft/vscode-python#11870 |
The missing parts of upstream Theia are tracked here: |
Editors Team will work on adding CustomEditor API support (eclipse-theia/theia#6636) |
Several updates:
So, we will postpone work on CustomEditor Plugin API and start investigating why new FS Plugin API fixes Jupyter Notebooks support in vanilla Theia but not in Che Theia. |
After adapting Che Theia to the latest Theia FS Plugin API eclipse-che/che-theia#823 there's some progress with the Jupyter Notebooks support 🎉 It looks like working well when the Python VS Code extension is running in the Theia container But it doesn't when it's running in a separate sidecar. I think it requires adapting the WebView API to work remotely #16870 |
I'm converting it into an epic since multiple steps are required. |
After examination of the Python extension's sources, I've noticed some interesting details regarding the Plug-in FS API usage. When I run the extension in the Che-Theia container, it's able to get the required files and renders the Notebooks correctly. But when I run the extension in a separate sidecar, So, the next step here is to adapt |
We've finished the adaptation of |
Release notes: https://issues.redhat.com/browse/CRW-1877 |
Is your enhancement related to a problem? Please describe.
Latest python extension includes jupyter support. I have tried it out but loading a jupyter notebook failed.
To try it out on che.osio -->
Describe the solution you'd like
This is the devfile I have been using:
vscode python meta.yaml
Describe alternatives you've considered
I have also tried to add python in che-theia container:
But it didn't help
Sub-tasks
vscode.workspace.fs
API fix #7269: complete support vscode.workspace.fs API eclipse-theia/theia#7908vscode.workspace.fs
Plug-in API to Che-Theia's remote plugin system Provide sidecar filesystem access for VS Code extensions #19110The text was updated successfully, but these errors were encountered: