microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 293 forks source link

Support non-python Kernels in the new Native Notebooks #1198

Closed Matelasse closed 3 years ago

Matelasse commented 4 years ago

I have installed the evcxr kernel and it shows up and works just fine in both Jupyter and JupyterLab. The kernel doesn't appear in Native Notebooks though.

claudiaregio commented 4 years ago

@Matelasse could you provide a screenshot of what it looks like in Jupyter/Jupyter Lab?

The kernel picker for native notebooks has moved to the lower right hand corner in the blue status bar. I'm not sure if there is a reason as to why that kernel would not show up there but could you check?

Matelasse commented 4 years ago

@claudiaregio jupyter lab: https://i.imgur.com/2k8bNEJ.png https://i.imgur.com/wsJjqQH.png vscode: https://i.imgur.com/0bbo8WC.png

Matelasse commented 4 years ago

@DonJayamanne do native notebooks support nonpython kernelspecs yet or is this a feature request?

DonJayamanne commented 4 years ago

@Matelasse Thanks for filing this issue. We are actively working on Native Notebooks. It is still in preview and a lot is yet to be completed in this space. I've removed the enhancement label as this is an item that must & will be done (as its something that is supported in the older form of the notebook). I'm renaming this issue to track support for running all kernels other than python in native notebooks.

Matelasse commented 4 years ago

@DonJayamanne Was this resolved by https://github.com/microsoft/vscode-python/pull/13786 ? If so, this issue can now be closed

DonJayamanne commented 4 years ago

Was this resolved by microsoft/vscode-python#13786 ? If so, this issue can now be closed

That didn't. That merely adds support for syntax highlighting in cells for other languages.

Matelasse commented 4 years ago

@DonJayamanne quite a while has passed since this issue was opened. is there any progress here? any estimates for delivery?

greazer commented 4 years ago

Hi @Matelasse, sorry for the perceived delay, but rest assured we are making progress along the lines of filling out our support for native notebooks in VS Code, including the ability to see and run non-python kernels. I know this for a fact because I have personally demo'd running a Julia kernel and a C# kernel in internal meetings. Rust is on our short list of languages to provide support for, but I haven't tried it myself yet.

The situation right at the moment is that there's a lot of churn happening in the APIs and implementation as we work out he kinks, so from day to day the Insiders build of VS Code and the Python extension (produced by different repos and collaborating Microsoft teams) don't always match or have bugs, not only with non-python kernel behavior, but also with other functionality. It is very much a work-in-progress, but it is starting to converge.

Sorry I can't be more specific about a timeline, but keep checking. We appreciate any and all feedback!

DonJayamanne commented 3 years ago

Closing as this has been completed.