Skip to content

LanguageServer hangs with code-insiders #1490

@lyon-fnal

Description

@lyon-fnal

I’m using Julia 1.4.2 with VSCode Insiders and the Julia Insiders extension v0.17.5 on a Mac with Catalina.

Ever since extension v0.17, the LanguageServer hangs. I’m in a directory with empty Project.toml and Manifest.toml files (though I get a similar hang in an environment with dependencies - just takes longer to get to the hang). I can see the julia process that runs the LanguageServer. It runs for about 18 seconds and then never takes more CPU time. The “Starting Julia Language Server” in the VSCode status bar never changes. IntelliSense and Julia help do not work in the editor.

Here’s what I see in the Output window …

[ Info: Starting the Julia Language Server
[ Info: Symbol server store is at '/Users/lyon/Library/Application Support/Code - Insiders/User/globalStorage/julialang.language-julia-insider/symbolstorev2'.
[ Info: Received new data from Julia Symbol Server.

If I quit VSCode, the Julia Language Server process persists, never taking more CPU time. I have to manually kill the process.

Is this a known problem? Is there a way to debug this? It’s really frustrating to lose the ability to edit Julia code effectively (note that I’ve tried the regular Julia extension - which today is at the same version as the insiders - and I have the same problem).

Thanks for any help/advice! – Adam

[Note that I originally posted this to https://discourse.julialang.org/t/how-to-debug-languageserver-in-vscode-problems/43104 ]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions