Julia in VSCode not working properly on WSL

I have been using Julia with wsl and vscode. I didn’t have much problems, though it was a little bit slow when running. After I had several issues with errors with the LS and others, I finally made it work, but it still is slow and more so, and now the terminal only shows the results, but no longer shows the commands it is running. Also, but that is a detail, once a line has an error, it remains marked as red even if I run it again and correct the error:

Well, in your scenario there are many layers of abstraction. Do thinks work if you:

  • install Julia 1.10 using juliaup (1.11. still has a few more issues than 1.10)
  • launch a bash terminal in VSCode
  • launch Julia from the bash terminal by typing julia or julia --project

?

I am working with juliaup, I added the lts and put it as the julia extension executable path, From the terminal in VScode I can run julia normally and use the REPL, but I would like to have normal functionallity when standing on a code line and ctrl+enter and have a response, or execute the whole file. Just normal stuff. Also, I am not able to make it show any plots:

n

Not even in the extension window does it show any result of the plot

Feel free to create a bug report: GitHub · Where software is built

The other question is, why are you using WSL in the first place? On Windows VSCode and Julia work together well, if you install Git for Windows first. It also provides a bash shell which can be used within VSCode to give you some Linux feeling.