languageserver icon indicating copy to clipboard operation
languageserver copied to clipboard

languageserver is opening a new port every new VSCode instance

Open lgn-almeida opened this issue 5 months ago • 0 comments

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?

lgn-almeida avatar Jun 09 '25 17:06 lgn-almeida