# Julia vscode stop working when there are many source file and include statements

**URL:** <https://discourse.julialang.org/t/julia-vscode-stop-working-when-there-are-many-source-file-and-include-statements/36724>\
**Category:** VS Code\
**Created:** [March 30, 2020, 9:06am UTC](https://discourse.julialang.org/t/julia-vscode-stop-working-when-there-are-many-source-file-and-include-statements/36724 "2020-03-30T09:06:57Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Patrick\_Chow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/patrick_chow/32/10550_2.png) [@Patrick\_Chow](https://discourse.julialang.org/u/Patrick_Chow)\
**Post date:** [March 31, 2020, 5:44am UTC](https://discourse.julialang.org/t/julia-vscode-stop-working-when-there-are-many-source-file-and-include-statements/36724/8 "2020-03-31T05:44:46Z")

</div>

Hi David,

So after investigation I found that if I have included any file more than once, the language server will just stuck (but there is no cyclic include there). I have now change to include all the file in my main file only, and everything just works.

Before (stuck)

```julia
Main.jl
include("File1.jl")
include("File2.jl")

File1.jl
include("File2.jl")

File2.jl
...

```

Now (not stuck)

```julia
Main.jl
include("File1.jl")
include("File2.jl")

File1.jl
...

File2.jl
...

```

---

_[View the full topic](https://discourse.julialang.org/t/julia-vscode-stop-working-when-there-are-many-source-file-and-include-statements/36724)._
