Adding the following code to the file startup.jl in ~/.julia/config makes it possible to plot in a separate window with PyPlot from the build-in repl:
atreplinit() do REPL
@async begin
sleep(0.1)
try
@eval Base.Multimedia.popdisplay()
catch err
warn("Could not pop the multimedia display.")
end
end
end
Iāve be been an atom user for a while now but want to try vscode. (Primarily because if the excellent latex-Workshop.)
At first glance I am missing In vscode-Code Julia the possibility to evaluate into a module. My understanding is that it always evaluated into the REPL? Is the wirkflow then simply based inn Revise?
We did have an option to eval into a module at some point. I think that should still work? There should be a command to change the module of the REPL, I thinkā¦
Eval-in-module was removed in favour of using Revise for the last release. Given time constraints it seems sensible to use a well engineered and maintained package than our own (rather hacky) approach (though the two approaches may not provide exactly the same functionality).
My use case: Julia on WSL + VS Code on Windows
It seems julia.executablePath could not be set.
I was wondering if you provide additional way to point to the julia executable wsl julia.
Thanks!
p.s. my current workaround setting is as follows.
However I was wondering if julia.executable be provided beside julia.executablePath. That is, instead of specify the path is it possible to specify the command?
I have only used Juno so far. Now, I downloaded VS Code + the Julia extension. It looks beautiful. Great work! I open a jl file, select the lines to be run and then press CTRL + Enter. As a result, the selected lines are copied to the REPL and after that they are executed. Is this the way the VS Code works or it is just a bug? Personally, I donāt find useful to have the code copied to the REPL. I think that would be a problem if the code is long. Is there any other way to run the jl file without the selected lines being copied to the REPL? I am thinking about something like the run file arrow of Juno.
@ZacLN Thanks. Yes, that is was I found in many blogs. However, in the VS Code I have all F5 combinations go to the debug modes. Then, the command palette opens asking for āSelect Environment.ā I donāt understand how to follow from there.
Question: is it possible to enable Unicode character completion of LaTeX commands in markdown files? (It works in .jl files, just not in the .md context)
[This might be unrelated to the Julia extension, Iām not sure, but it would be great if it could be generalised a bit to help with markdown completion too]