Closed non-Jedi closed 4 years ago
The appropriate code from the vs-code extension is here:
Basically you run the main julia instance with the JULIA_DEPOT_PATH
environment variable set and then pass as an argument what you want the depot path to look like in the view of the symbol server.
Still unclear where the depot is filled...
Ah. There's some sort of magic where julia looks to the projects root dir to use packages found there.
Since environments get stacked, the current approach of trying to call
using LanguageServer
and then instantiating project upon failure doesn't reliably show whether the correct version is installed. Could just be the version installed in default environment instead.