rust-analyzer icon indicating copy to clipboard operation
rust-analyzer copied to clipboard

Extension doesn't work from within WSL2

Open ChaseLewis opened this issue 5 months ago • 5 comments

2024-09-25 03:40:38.040 [error] Bootstrap error Error: `config.server.path` or `config.serverPath` has been set explicitly.            Consider removing this config or making a valid server binary available at that path.
	at Yy (/root/.vscode-server/extensions/rust-lang.rust-analyzer-0.3.2121-linux-x64/out/main.js:343:3365)
	at async Na.getOrCreateClient (/root/.vscode-server/extensions/rust-lang.rust-analyzer-0.3.2121-linux-x64/out/main.js:357:2689)
	at async Na.start (/root/.vscode-server/extensions/rust-lang.rust-analyzer-0.3.2121-linux-x64/out/main.js:357:3952)
	at async /root/.vscode-server/extensions/rust-lang.rust-analyzer-0.3.2121-linux-x64/out/main.js:378:174
	at async h (/root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/out/vs/workbench/api/node/extensionHostProcess.js:161:210546)

When installing within a remote server inside WSL2 the extension fails to work after you restart the window for some reason. Not sure how to resolve this error.

rust-analyzer v0.3.2121

ChaseLewis avatar Sep 25 '24 03:09 ChaseLewis