github.com/rust-analyzer/rust-analyzer

A Rust compiler front-end for IDEs

Open this visualization on its own page →

Contributors

350

Lines of Code

44,793

From

2017-12-21

To

2020-12-23

About rust-analyzer/rust-analyzer

rust-analyzer is a language server that brings IDE functionality to Rust development across any editor supporting the Language Server Protocol, including VS Code, Vim, Emacs, and Zed. The project provides essential developer tools like go-to-definition, find-all-references, code completion, and automated refactorings, while also integrating with rustfmt for formatting and rustc/clippy for diagnostics.

The implementation is organized as a collection of Rust libraries designed for analyzing Rust code, making it both a practical tool for daily development and a reference for understanding how language servers work. The project maintains comprehensive documentation covering installation, usage tips, security and privacy considerations, and an architecture guide for those interested in contributing or learning how the analyzer works internally.

rust-analyzer is licensed under MIT and Apache 2.0, making it suitable for both open-source and commercial use. The project is actively maintained with regular updates tracked in a weekly changelog, and has community support through the Rust forum and a dedicated working group on Zulip for development discussions.

Share this video