How to execute Julia code in VS code editor with Julia Language Support plugin?

In VS code,

with the Julia Language Support plugin installed,

with Julia installed on my macOS,


% which julia
/Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia


 When trying to run (Shift-Enter, or RUN icon) Julia in VS code I got this error:



command 'language-julia.executableCodeBlockOrSelectionAndMove' not found



Solution

  • I reinstalled the VS code plugin
  • I rechecked the PATH (see above)
  • I CLOSED and RE-OPENED the VS code
And voila, it works. Not very scientific, but I am happy. 









References







No comments:

Post a Comment