Because I’m a fool for platform independence I just tried the JuliaHub extension for vscode in WSL. I’m very much looking forward to using it.
The documentation says:
Also make sure that you’re connected to the right package server, with one of the following options:
- Set the Julia: Package Server setting to https://juliahub.com.
- Set the JULIA_PKG_SERVER environment variable to https://juliahub.com globally or in ~/.julia/config/startup.jl.*
Where do I set this? I think I eventually found THREE possible locations, none of which offered up any no-error response from the plugin. This is my favorite:
How does authentication get initiated?
Somewhere in the torrent of search results I saw that authentication happens once the
Package Server is set. Google search has very bad signal-to-noise sometimes.
P.S. I did try the environment variable
JULIA_PKG_SERVER within WSL to no effect. Starting vs-code from the command-line as
I also tried starting
Visual Studio Code from windows. . Both ways connected to WSL, found Julia, and allowed remote install of the
It seems that WSL adds extra tabs for configuration, which cover
JULIA_PKG_SERVER They don’t seem to work for me…
I use vs-code remotely quite a lot and have generally found it to be very solid.