# Is it possible to start VS code with Julia repl running?

**URL:** <https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389>\
**Category:** VS Code\
**Created:** [August 22, 2020, 10:23pm UTC](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389 "2020-08-22T22:23:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [August 22, 2020, 10:23pm UTC](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389/1 "2020-08-22T22:23:16Z")

</div>

As it says in the subject line.

---

<div class="post-metadata">

**Author:** ![mthelm85](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mthelm85/32/224164_2.png) [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Post date:** [August 23, 2020, 12:56am UTC](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389/2 "2020-08-23T00:56:50Z")

</div>

I searched for this before and didn’t figure it out. What I want is when I open a directory that contains a .jl file, it should launch the Julia REPL and then do Pkg.activate(“.”) (which I guess I could just put in my startup.jl).

---

<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:** [August 23, 2020, 1:04am UTC](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389/3 "2020-08-23T01:04:04Z")

</div>

No, but that is a good idea to have an option, I think! Want to open an issue?

If there is a `Manifest.toml` (and a `Project.toml`) in the root of the folder that you open with VS Code, it should automatically activate that already.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [August 23, 2020, 1:06am UTC](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389/4 "2020-08-23T01:06:08Z")

</div>

> [@davidanthoff](#):
>
> If there is a `Manifest.toml` (and a `Project.toml` ) in the root of the folder that you open with VS Code, it should automatically activate that already.

> <https://github.com/julia-vscode/julia-vscode/issues/1622>
>
> When there is a Manifest.toml (and a Project.toml) in the root of the folder tha…t you open with VS Code, it should automatically fire up the REPL, activate and instantiate the project. At least it should be an option.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [August 23, 2020, 4:28pm UTC](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389/5 "2020-08-23T16:28:34Z")

</div>

Portable Julia with portable preconfigured VS Code: [Portable Julia - #8 by PetrKryslUCSD](https://discourse.julialang.org/t/portable-julia/45339/8)

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [August 23, 2020, 7:20pm UTC](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389/6 "2020-08-23T19:20:58Z")

</div>

A simple bit of code in the startup file will do the trick as far as automatically activating and instantiating the opened folder. [https://github.com/julia-vscode/julia-vscode/issues/1622](https://github.com/julia-vscode/julia-vscode/issues/1622)
