How to hack VS Code (Language server doesn't find my own packages)

I am still fighting with the following issue:
https://github.com/JuliaEditorSupport/julia-vscode/issues/307

I had a hack that worked with the vs code for Julia 0.6, but it doesn’t work any more.

Any idea in which file I can add my own package load path such that the
language server can find it?

Modifying main.jl in ~/.vscode/extensions/julialang.language-julia-0.11.1/scripts/languageserver is not logger sufficient.

The languageserver is using the following packages:

CSTParser  DocumentFormat  JSON  LanguageServer  StaticLint  SymbolServer  Tokenize  URIParser

Perhaps I must modify one of them. But which one?

That is going to be tricky to hack for now… On the flipside, it might be easier to fix properly. We now start an extra julia process where we load packages, and if we were passing LOAD_PATH through to that process, it should just work.

Having said that, we first need to get proper environment support working with this new architecture. Not trivial at all, unfortunately… I now fully understand what I need to do to get it working, but it is a pretty involved bit of code, unfortunately…