-
Notifications
You must be signed in to change notification settings - Fork 293
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
Multi Language Support in Interactive Window (Julia, Rust, CSharp, etc) #273
Comments
This sounds great! R and Julia extensions include heuristics to determine what a 'block' of code is. For example, Ctrl-Enter on the first line of a It's pretty much what I was talking about here, although I was only thinking about Python at that time: https://github.com/microsoft/vscode-python/issues/14192 |
@andycraig
This is something we are planning on doing, see here https://github.com/microsoft/vscode-python/issues/14398 |
@DonJayamanne Great to hear! I will follow progress on that issue. |
This seems really existing. Since the notebook UI already supports other jupyter kernels. Does this "multi languages" means supporting any kernels listed in jupyer? |
Yes, that's the plan. |
@DonJayamanne I'm really looking forward to this! It's gotta be a game changer! |
@davidanthoff is this something Julia users would be interested in. FYI here we're using the Julia kernel (Jupyter kernel) and getting most of the stuff working. |
So I'm a bit worried that we might be adding too many different ways to execute code from .jl files with this :) The Julia extension has a pretty comprehensive story for running code that sits in .jl files, including cell support (but with a different cell marker, I think), inline viewing of results inside .jl files etc. I think one major issue would be that if a user has both the Julia and Jupyter extension installed at the same time, it becomes very unclear where code would execute from a .jl file, right? So my gut feeling right now is that it would make more sense to just generally say that the Julia extension handles everything around .jl files. Curios what @pfitzseb and @ZacLN think about this? |
Is there a timeline for this feature? I would really like to use a Node.js/JavaScript capable kernel with vscode-jupyter, it would be massively useful. OK, discovered for myself, couldn't find it in the documentation which is why I thought you couldn't do it. You need to have VSCode insiders for this to work it seems.
Then restart VScode. Then you have access to 2 new kernels for js and ts. Trying that on the current live version of vscode failed. |
Would be "massively useful" for my workflow as well. Could you please give us an update? |
Which language? |
@DonJayamanne R, Julia, Stata. This is the kernel I use most recently: https://github.com/kylebarron/stata_kernel/ |
@DonJayamanne This feature is still happening, right? |
Thanks for expressing the interest in this feature, we haven't prioritized this feature. |
😭 |
Just sending some ❤️ to this feature request... |
Is there any update on that ? I would be cool to have js kernel support for vscode jupyter |
@davidanthoff , It would be great to have this in Julia. |
For JavaScript on nodejs, I used IJavascript. |
This would be fantastic, a game changer for VScode. For Julia, for example, I see that we can choose the Interactive Window kernel, but I cannot find an option to send the code from the editor to be evaluated in the Interactive Window. Is there a way to do that? |
@GitHunter0 - it is possible to enable the It's not officially supported and we don't have a way to support code cells in other editors at this point, but I'd be curious what you think if you try that out. What are you looking for from the interactive window that the Julia REPL doesn't provide? Just the richer outputs? |
Hey @amunger , sorry for the delay. Thank you, your shortcut workaround is a nice trick.
In this case right now just the richer outputs, but having the Interactive Window as the 'universal' VScode REPL will be a really good move. |
Well the idea is to use the .jl notebook |
@amunger ,
I find the Interactive Window experience to be better than the Julia extension. I wish the Julia Extension embrace this way of defining how cell code behave. |
Seems to be requested in https://www.reddit.com/r/Julia/comments/11djt48 as well. |
I would be great to support Julia. |
Workflow
# %%
Technical details
(super easy changes to implement this feature)
Support Features
Possible MVP
Screenshots of prototype with it working in Julia, Rust, CSharp, fsharp
The text was updated successfully, but these errors were encountered: