Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode的rust-analyzer源码级编译安装 #150

Open
AlexiaChen opened this issue Mar 4, 2022 · 0 comments
Open

VSCode的rust-analyzer源码级编译安装 #150

AlexiaChen opened this issue Mar 4, 2022 · 0 comments
Labels
rust Rust programming language 工具 使用,配置,学习笔记等

Comments

@AlexiaChen
Copy link
Owner

AlexiaChen commented Mar 4, 2022

用这个可以自动切换镜像源,一行命令就可以 https://github.com/wtklbm/crm

cargo install crm
crm best

源码编译安装RA:

$ git clone https://github.com/rust-analyzer/rust-analyzer.git && cd rust-analyzer
$ cargo xtask install # Both server and code plugin
$ cargo xtask install --server # If you’re not using Code, you can compile and install only the LSP server:

这篇文章有修改,因为RA的repo已经移动到官方维护了。所以可能安装VSCode的插件就自带了,因为我新装的WSL2没有安装RA,直接下载RA的VSCode扩展就可以用了,然后用起来更舒服了。

References:

@AlexiaChen AlexiaChen added 工具 使用,配置,学习笔记等 rust Rust programming language labels Mar 4, 2022
@AlexiaChen AlexiaChen changed the title VSCode的rust-analyzer插件自动安装RA binary失败的问题 VSCode的rust-analyzery源码级编译安装 May 21, 2022
@AlexiaChen AlexiaChen changed the title VSCode的rust-analyzery源码级编译安装 VSCode的rust-analyzer源码级编译安装 May 21, 2022
@AlexiaChen AlexiaChen reopened this Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Rust programming language 工具 使用,配置,学习笔记等
Projects
None yet
Development

No branches or pull requests

1 participant