Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>rust-analyzer(CN)New to Visual Studio Code? Get it now.
rust-analyzer(CN)

rust-analyzer(CN)

Preview

rustcc

|
16,343 installs
| (11) | Free
Rust-Analyzer中英双语版
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

rust-analyzer-cn

  • 基于官方版本(rust-analyzer)的复刻,增加了语法提示时标准库的中英双语显示。其它功能均一致。
  • !注意:当前版本支持Windows、UBuntu的x86_64环境、MacOS Arm64(M1、M2的芯片)。其它平台不支持。请勿下载。

安装建议

1、安装本插件前建议先移除或禁用官方VSCode中的Rust-Analyzer与Rust(旧版语法提示)插件(如果你有安装的话)。否则多个类似功能的插件将会造成冲突。

2、首次安装还需要下载RUST中文语言服务器, 与其它如GoLand、.Net等插件类似,VSCODE只是前端显示,具体分析由后台服务提供。你只需要跟据插件提示走流程就行了。非常简单,几乎都在插件内自动处理。


---

This extension provides support for the Rust programming language. It is recommended over and replaces rust-lang.rust.

Features

  • code completion with imports insertion
  • go to definition, implementation, type definition
  • find all references, workspace symbol search, symbol renaming
  • types and documentation on hover
  • inlay hints for types and parameter names
  • semantic syntax highlighting
  • a lot of assists (code actions)
  • apply suggestions from errors
  • ... and many more, check out the manual to see them all

Quick start

  1. Install rustup.
  2. Install the rust-analyzer extension.

Configuration

This extension provides configurations through VSCode's configuration settings. All configurations are under rust-analyzer.*.

See the manual for more information on VSCode specific configurations.

Communication

For usage and troubleshooting requests, please use the "IDEs and Editors" category of the Rust forum.

Documentation

See rust-analyzer.github.io for more information.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft