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 notebook %% syntax for more kernels #14735

Closed feribg closed 11 months ago

feribg commented 1 year ago

The %% file syntax is great for using VCS and notebooks, but it seems it support is very hardcoded to python in VSCode.

Here are some of the references I found: https://github.com/search?q=repo%3Amicrosoft%2Fvscode-jupyter%20%25%25&type=code

https://github.com/microsoft/vscode-jupyter/blob/39f766ec5e8e5b11c8916f3f090742389d870ce6/src/interactive-window/editor-integration/cellMatcher.ts#L24

This feature is even more useful to other kernels like evcxr ( which prompted this ticket): https://github.com/evcxr/evcxr/issues/342

Ideally I'd like to help adding Julia and Rust support (with rust and C++ being a bit more non trivial due to the different comment syntax and requirement for main function in executables, but solve-able with some conventions mentioned in the evcxr ticket). I have no idea bout the Vscode codebase and effort to get that done, can someone more experienced chime in.

vscodenpa commented 11 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

DonJayamanne commented 11 months ago

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/273