I have Julia 1.4.1 and 1.5.0 beta installed.
paul@extra:~/apps$ dir
julia-1.4.1 julia-1.5.0-beta1
1.5 beta is on my path:
paul@extra:~$ echo $PATH
/opt/ros/melodic/bin:/home/paul/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/paul/apps/julia-1.5.0-beta1/bin
and works fine from terminal. VS Code was using Julia 1.4 as it was the first one installed, but I wanted to switch to 1.5.0. I changed settings to:
{
"julia.enableTelemetry": true,
"python.pythonPath": "/usr/bin/python3",
"editor.minimap.enabled": false,
"breadcrumbs.enabled": false,
"explorer.confirmDelete": false,
"julia.executablePath": "/home/paul/apps/julia-1.5.0-beta1/bin",
"julia.enableCrashReporter": false
}
and language server couldn’t start. I tried:
"julia.executablePath": "/home/paul/apps/julia-1.4.1/bin",
with the same result. I tried a few shorter or longer path versions, restarting VS Code after each change and no cigar. I removed julia.executablePath
parameter and automagically my Julia version in VS Code is 1.5.0-beta1` now. How did that happen?
Perhaps, it has something to do with only one /home/paul/.julia
directory used by both versions?