Hello, I installed julia with juliaup from the windows store (win 11), then installed Julia 1.8.2. Everything works fine in the Julia shell. I installed the vscode julia extension.
I was trying to use the VS Code REPL feature but it takes ~1/2 min to start each time getting stuck in the LanguageServer startup.
Activating project at `c:\Users\aless\.vscode\extensions\julialang.language-julia-1.38.2\scripts\environments\languageserver\v1.8`
[ Info: Starting the Julia Language Server
[ Info: Symbol server store is at 'c:\Users\aless\AppData\Roaming\Code\User\globalStorage\julialang.language-julia\symbolstorev5'.
[ Info: Starting LS at 1668364752
[ Info: Received new data from Julia Symbol Server.
The Starting LS at 1668364752 takes the most time.
I don’t have any package yet, everything is clean. Another thing is that VS Code opens the REPL immediately, if I do ctrl+enter on the lines they are not sent to the REPL until the server has started.
After the REPL is activated everything is fast.
Thank you in advance!
hey,
in the terminal pane there is also an “output” section with a drop down menu, where you can pick Julia Language Server and see related info.
Have you checked there, to see if anything suspicious comes up?
also for me, the language server starts right after opening VSCode, does it not do this in your instance?
(if I have Julia files in the current workspace, I think)
That output is the output I get from the Julia Language server on VSCode.
The problem is that ctrl+enter does not send the code to the REPL if the language server hasn’t started yet. That makes starting to work on a project very slow.
Yeah, the language server starts immediately after opening vscode with a julia file open.
Has this issue only started after upgrading to 1.8.2, or with a newer version of the VS code extension. Do you remember the language server loading much faster before? What sort of system are you running?
The language server is quite slow to start for me (~10-20 seconds for me), so I’m not too surprised at the 30 second load time for you.
It takes about 1 min, much more (~3 min) if I have some packages installed (they download cache every single time the server starts).
But the problem is that I cannot do anything in the meantime, ctrl+enter does not send anything in the repl and I cannot use latex syntax (like \alpha + tab).