# REPL in VS Code does not start in the project's environment anymore

**URL:** <https://discourse.julialang.org/t/repl-in-vs-code-does-not-start-in-the-projects-environment-anymore/117627>\
**Category:** VS Code\
**Tags:** environment\
**Created:** [July 30, 2024, 9:08am UTC](https://discourse.julialang.org/t/repl-in-vs-code-does-not-start-in-the-projects-environment-anymore/117627 "2024-07-30T09:08:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![heliosdrm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heliosdrm/32/3851_2.png) [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Post date:** [July 30, 2024, 9:08am UTC](https://discourse.julialang.org/t/repl-in-vs-code-does-not-start-in-the-projects-environment-anymore/117627/1 "2024-07-30T09:08:00Z")

</div>

I’ve noticed this only recently, I don’t know the reason. Until now, when I started a Julia REPL (e.g. Alt+J, Alt+O) the active environment was the one selected by the extension (as seen in “Julia env” in the lower bar). Now it always starts in the default environment (e.g. `@v1.10.0`).

Has anyone else noticed this?

I’m running VS Code 1.91.1 with Julia extension v1.103.2 on Windows. The first lines of the Julia Language Server output are:

```julia
[ Info: Starting LS with Julia 1.10.0
  Activating project at `[path-edited]\.vscode\extensions\julialang.language-julia-1.103.2\scripts\environments\languageserver\v1.10`
[ Info: Starting the Julia Language Server
[Info: Symbol server store is at '[same-path-as-before]\AppData\Roaming\Code\User\globalStorage\julialang.language-julia\symbolstorev5'.
[ Info: Starting LS at 1722329173

```

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [July 30, 2024, 9:26am UTC](https://discourse.julialang.org/t/repl-in-vs-code-does-not-start-in-the-projects-environment-anymore/117627/2 "2024-07-30T09:26:43Z")

</div>

For me it has always started in the default environment.

---

<div class="post-metadata">

**Author:** ![ipozdeev-tw](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ipozdeev-tw/32/202641_2.png) [@ipozdeev-tw](https://discourse.julialang.org/u/ipozdeev-tw)\
**Post date:** [July 30, 2024, 11:11am UTC](https://discourse.julialang.org/t/repl-in-vs-code-does-not-start-in-the-projects-environment-anymore/117627/3 "2024-07-30T11:11:51Z")

</div>

same here

---

<div class="post-metadata">

**Author:** ![Donald](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Donald](https://discourse.julialang.org/u/Donald)\
**Post date:** [July 30, 2024, 11:12am UTC](https://discourse.julialang.org/t/repl-in-vs-code-does-not-start-in-the-projects-environment-anymore/117627/4 "2024-07-30T11:12:18Z")

</div>

Same for me on Linux

---

<div class="post-metadata">

**Author:** ![tt1234567](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Post date:** [July 30, 2024, 12:27pm UTC](https://discourse.julialang.org/t/repl-in-vs-code-does-not-start-in-the-projects-environment-anymore/117627/5 "2024-07-30T12:27:00Z")

</div>

Me too, as of today. Windows 11, VS Code 1.91.1, Julia extension 1.103.2, Julia 1.10.4.

---

<div class="post-metadata">

**Author:** ![DanielVandH](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/danielvandh/32/31134_2.png) [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Post date:** [July 30, 2024, 12:31pm UTC](https://discourse.julialang.org/t/repl-in-vs-code-does-not-start-in-the-projects-environment-anymore/117627/6 "2024-07-30T12:31:30Z")

</div>

This issue is known and, if you switch to the prerelease version of the extension, should be fixed. See e.g. [The environment is not set · Issue #3661 · julia-vscode/julia-vscode · GitHub](https://github.com/julia-vscode/julia-vscode/issues/3661)
