Vscode tab completion suddenly broken

I’ve been using vscode with Julia for a while now. All of a sudden, tab completion for symbols like \approx stopped working, but it still works for function names and such.

Similar posts on this forum have not solved the problem (ctrl space doesn’t show the missing symbols; waiting doesn’t help).

My guess is that this is related to the error message The Julia Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.

Jula v1.6.0, vscode 1.57.1, Ubuntu, all packages up to date, relevant part of config:

{
    "window.autoDetectColorScheme": true,
    "security.workspace.trust.enabled": false,
    "yaml.schemas": {
        "file:///home/joris/.vscode/extensions/atlassian.atlascode-2.9.1/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml"
    },
    "redhat.telemetry.enabled": false,
    "terminal.integrated.commandsToSkipShell": [
        "language-julia.interrupt"
    ],
    "latex-workshop.view.pdf.viewer": "tab",
    "editor.wordWrap": "on",
    "julia.enableTelemetry": true,
    "workbench.colorTheme": "Default Light+",
    "[julia]": {
    

    "editor.tabCompletion": "on",
        "editor.quickSuggestions": true,
        "editor.wordSeparators": "`~#$%^&*()-=+[{]}\\|;:'\",.<>/?"
    },
    "files.associations": {
        "*.jl": "julia"
    },
    "julia.execution.codeInREPL": true,
    "julia.focusPlotNavigator": true
}

Any recommendations?

I

  1. purged and reinstalled vscode to no avail;

  2. reinstalled julia to no avail;

  3. purged julia, reinstalled, and only added packages that I know I need now.

After 3 the language server works again.

If anyone has any idea what could have caused this then I would love to know.

there is an open issue about this:

1 Like

Thanks @amrods . I’d seen that thread. In my case the tab completion failure was caused by the breakdown of the Julia Language Server, but I have no idea what caused that.