yioneko / vtsls

LSP wrapper for typescript extension of vscode
Other
374 stars 6 forks source link

Unneeded popup when using custom node version #174

Closed kuba-gaj closed 2 weeks ago

kuba-gaj commented 2 weeks ago

I started using custom node version with pointer expression enabled as vtsls was crushing with OOM in our monorepo, as described here: https://github.com/yioneko/vtsls/issues/136

It worked but now when the servers starts I see this popup: image

It looks like it's not blocking and vtsls initializes anyway and I don't think it matters what I select. Is it possible to not display it?

yioneko commented 2 weeks ago

You'll see the prompt if you set the custom node path by option typescript.tsserver.nodePath, and to suppress the prompt needs another patch to the vscode extension.

For now, if you are using nvim, you can set the node path by overriding the cmd of vtsls to /path/to/node /path/to/vtsls_bin --stdio, and the prompt will disappear if typescript.tsserver.nodePath is unset.

kuba-gaj commented 2 weeks ago

That worked, thank you