Closed zhouxs1023 closed 1 year ago
Even though it is called "path" the value is passed to where
on Windows
so we have to provide a non-absolute path resolvable by where
my solution was to have ~/bin
in my PATH already, and then:
> mklink C:\users\%USERNAME%\bin\win-nightly-rust-analyzer.exe C:\Users\%USERNAME%\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\bin\rust-analyzer.exe
symbolic link created for ....
> where win-nightly-rust-analyzer.exe
C:\Users\%USERNAME%\bin\win-nightly-rust-analyzer.exe
then put win-nightly-rust-analyzer.exe
as the "Server path" in the plugin settings for now
Cat Stevens, Thanks you very much, The problem has already been solved.
os: windows 10 RA path C:\Users\Administrator.vscode\extensions\rust-lang.rust-analyzer-0.3.1435-win32-x64\server\rust-analyzer.exe
lapce rust plugin server path set as below:
open rust project turn error as below: