Skip to content

languageserver is opening a new port every new VSCode instance #691

@lgn-almeida

Description

@lgn-almeida

Hi,

I installed the R extension in VS Code. I noticed that after a while, I had dozens of ports in my ports tab. Only one is actually active, but I noticed that every time I run "code ." in my WSL/Ubuntu terminal, a new port is created. I nailed it down to languageserver, as it only happens if there is an .R file in the folder being opened in VS Code, and new ports are not created if I disable languageserver in the settings ("r.lsp.enabled": false).

Is it possible to tell the languageserver to stick to one port only? Or is this a problem of my VS Code config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions