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...
See non-Jedi/eglot-jl#4 for further updates.
After further consideration, what y'all are doing probably does work. Please ignore.
I didn't realize that Julia allowed vendoring packages within a project.
Even though you include all the LanguageServer.jl packages as submodules, there's nothing causing them to be used. Just doing
--project=
will still cause the versions from the normal depot at.julia/packages
to be used. I'm investigating how the vs-code extension vendors dependencies for https://github.com/non-Jedi/eglot-jl/issues/4 and will report back with the proper way of doing this.