Broken terminal/language server

Good day all,

Today I was greeted with a crashing VScode language server for Julia on my Windows PC, resulting in no code highlighting/help and not being able to run code in the VScode REPL. I can tell you, this is rather annoying to code with.

I get the following error:

ERROR: LoadError: syntax: invalid character ā€œā€ near column 1
[1] top-level scope
@ c:\Users\user.vscode\extensions\julialang.language-julia-1.5.11\scripts\terminalserver\terminalserver.jl:1
in expression starting at c:\Users\user.vscode\extensions\julialang.language-julia-1.5.11\scripts\terminalserver\terminalserver.jl:1

It seems VScode and the Julia extension had an update yesterday, which resulted in this mess. Does anyone know if this is a bug in the VScode extension or if this might have to do with my setup? Where should I start debugging this?

Thank you in advance.

Seems likely that the extension got corrupted somehow (during download, installation, or even later). Iā€™d recommend deleting and re-adding it.

1 Like

And that seems to fix it. Thanks!