# Lsp-julia in Emacs not finding environment folder

**URL:** <https://discourse.julialang.org/t/lsp-julia-in-emacs-not-finding-environment-folder/39582>\
**Category:** Tooling\
**Tags:** question, emacs\
**Created:** [May 16, 2020, 1:35pm UTC](https://discourse.julialang.org/t/lsp-julia-in-emacs-not-finding-environment-folder/39582 "2020-05-16T13:35:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![donk\_fish](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/donk_fish/32/14775_2.png) [@donk\_fish](https://discourse.julialang.org/u/donk_fish)\
**Post date:** [May 16, 2020, 1:35pm UTC](https://discourse.julialang.org/t/lsp-julia-in-emacs-not-finding-environment-folder/39582/1 "2020-05-16T13:35:49Z")

</div>

Hi. I’m trying to configure lsp-julia in Emacs.

Supposedly, one has to set the correct value of the variable `lsp-julia-default-environment`. An example value of this is `~/.julia/environments/v1.0`

However, I don’t have any environment folder in my `.julia`. I guess I can make one, but does anyone then know what to put in `v1.0` to get this working?

---

<div class="post-metadata">

**Author:** ![donk\_fish](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/donk_fish/32/14775_2.png) [@donk\_fish](https://discourse.julialang.org/u/donk_fish)\
**Post date:** [May 16, 2020, 2:46pm UTC](https://discourse.julialang.org/t/lsp-julia-in-emacs-not-finding-environment-folder/39582/2 "2020-05-16T14:46:23Z")

</div>

I think it’s just to make an empty file. At least that seems to work.

Sometimes what seem like a silly thing to try turns out quite successful!

---

<div class="post-metadata">

**Author:** ![leethargo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leethargo/32/6004_2.png) [@leethargo](https://discourse.julialang.org/u/leethargo)\
**Post date:** [May 16, 2020, 3:27pm UTC](https://discourse.julialang.org/t/lsp-julia-in-emacs-not-finding-environment-folder/39582/3 "2020-05-16T15:27:54Z")

</div>

I think, once you add any packages, that folder will be created, together with files `Project.toml` and `Manifest.toml`.

---

<div class="post-metadata">

**Author:** ![donk\_fish](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/donk_fish/32/14775_2.png) [@donk\_fish](https://discourse.julialang.org/u/donk_fish)\
**Post date:** [May 16, 2020, 3:43pm UTC](https://discourse.julialang.org/t/lsp-julia-in-emacs-not-finding-environment-folder/39582/4 "2020-05-16T15:43:27Z")

</div>

You are absolutely right! I did try to get this to work on a freshly installed computer. Turns out it’s supposed to be a directory with the files you mentioned, which presumably holds information on what to complete etc for the lsp.

Thanks a lot for that!
