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

**URL:** <https://discourse.julialang.org/t/how-to-hack-vs-code-language-server-doesnt-find-my-own-packages/19305>\
**Category:** VS Code\
**Created:** [January 5, 2019, 4:26pm UTC](https://discourse.julialang.org/t/how-to-hack-vs-code-language-server-doesnt-find-my-own-packages/19305 "2019-01-05T16:26:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 5, 2019, 4:26pm UTC](https://discourse.julialang.org/t/how-to-hack-vs-code-language-server-doesnt-find-my-own-packages/19305/1 "2019-01-05T16:26:46Z")

</div>

I am still fighting with the following issue:  
[https://github.com/JuliaEditorSupport/julia-vscode/issues/307](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.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 5, 2019, 7:51pm UTC](https://discourse.julialang.org/t/how-to-hack-vs-code-language-server-doesnt-find-my-own-packages/19305/2 "2019-01-05T19:51:53Z")

</div>

The languageserver is using the following packages:

```julia
CSTParser DocumentFormat JSON LanguageServer StaticLint SymbolServer Tokenize URIParser

```

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

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [January 5, 2019, 10:48pm UTC](https://discourse.julialang.org/t/how-to-hack-vs-code-language-server-doesnt-find-my-own-packages/19305/3 "2019-01-05T22:48:00Z")

</div>

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…
