# VS Code JuliaSyntax Error from Startup.jl

**URL:** https://discourse.julialang.org/t/vs-code-juliasyntax-error-from-startup-jl/86166
**Category:** VS Code
**Tags:** startup
**Created:** [August 23, 2022, 1:01am UTC](https://discourse.julialang.org/t/vs-code-juliasyntax-error-from-startup-jl/86166 "2022-08-23T01:01:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nosewitz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nosewitz/32/39014_2.png) [@nosewitz](https://discourse.julialang.org/u/nosewitz)
#### Post date: [August 23, 2022, 1:01am UTC](https://discourse.julialang.org/t/vs-code-juliasyntax-error-from-startup-jl/86166/1 "2022-08-23T01:01:57Z")

</div>

After messing about with my startup.jl file, running a Julia session in VS code threw the error pictured below I tested this and it’s caused by enable\_in\_core!(). This behavior is **strictly** in VSC and not the REPL, since I can start it up and it has no issues with the startup file.

startup.jl

```julia
using Term
using JET
using JuliaSyntax
using OhMyREPL

JuliaSyntax.enable_in_core!() # <---

```

Error:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/3/b/3b4d7593549429279c5c9955fe80a70ab5aaa807.png)

Is there a way to avoid this? I’m not experienced enough to parse through the terminalserver.jl file where the error is thrown from so I’d appreciate any help! Apologies if I missed any information since this is my first time posting here. 🙂

Julia version: 1.8.0  
JuliaSyntax: 0.1.0

Platform: Windows 10
