LSP server implementation from rust-analyzer
  • Rust 97%
  • HTML 1.6%
  • TypeScript 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chayim Refael Friedman 73ca1d4ef1
Some checks failed
Coverage / coverage (push) Has been cancelled
metrics / build_metrics (push) Has been cancelled
rustdoc / rustdoc (push) Has been cancelled
metrics / other_metrics (diesel-1.4.8) (push) Has been cancelled
metrics / other_metrics (hyper-0.14.18) (push) Has been cancelled
metrics / other_metrics (ripgrep-13.0.0) (push) Has been cancelled
metrics / other_metrics (self) (push) Has been cancelled
metrics / other_metrics (webrender-2022) (push) Has been cancelled
metrics / generate_final_metrics (push) Has been cancelled
Merge pull request #22310 from Shourya742/2026-05-07-remove-make-mut
Remove make mut
2026-05-08 13:17:38 +00:00
.cargo fix: Fix generated markers not being patchable in package.json 2024-06-08 12:54:43 +02:00
.config Timeout tests after 5 minutes with nextest 2026-05-03 00:33:02 +03:00
.github Run coverage job on stable 2026-05-06 14:10:35 +02:00
.vscode feat: use vscode log format for client logs 2024-07-27 21:43:35 -07:00
assets Automatically change text color in logo based on dark mode 2022-03-06 23:06:53 +11:00
bench_data Add "inh" to typos 2026-04-22 11:14:34 +03:00
crates Merge pull request #22310 from Shourya742/2026-05-07-remove-make-mut 2026-05-08 13:17:38 +00:00
docs/book Merge pull request #22295 from sunshowers/runnable-kind 2026-05-08 12:48:46 +00:00
editors/code Add a completion.addColonsToModule config 2026-05-07 03:32:02 +08:00
lib docs: same in readme 2026-04-30 22:37:07 +02:00
xtask Support deref patterns 2026-05-06 02:14:25 +03:00
.codecov.yml internal: Configure codecov 2026-02-24 10:17:39 -05:00
.editorconfig fix: do not apply editorconfig to git commit msg 2025-03-08 01:44:27 +05:30
.git-blame-ignore-revs Fix some mir eval/lowerings 2025-02-03 14:42:41 +01:00
.gitattributes Fix .gitattributes for test_data 2022-07-24 14:05:35 +02:00
.gitignore internal: add vendor/ to gitignore 2026-05-01 04:25:17 +08:00
.typos.toml Add "inh" to typos 2026-04-22 11:14:34 +03:00
AGENTS.md internal: Define rules for LLMs 2026-03-03 11:22:58 +00:00
Cargo.lock Upgrade rustc crates 2026-05-07 19:09:46 +03:00
Cargo.toml Upgrade rustc crates 2026-05-07 19:09:46 +03:00
CLAUDE.md internal: Define rules for LLMs 2026-03-03 11:22:58 +00:00
clippy.toml Enforce a current directory being set for spawned commands 2024-12-29 12:51:13 +01:00
CONTRIBUTING.md Fix grammar in "Use of AI tools" section 2025-12-27 11:58:14 +02:00
josh-sync.toml Reformat code after rustc-pull 2025-10-02 10:23:35 +03:00
LICENSE-APACHE Drop Apache license appendices 2024-08-27 14:52:34 +03:00
LICENSE-MIT Licenses 2018-01-10 22:47:04 +03:00
PRIVACY.md Update PRIVACY.md 2025-02-07 20:18:21 +01:00
README.md internal: Add codecov badge 2026-03-17 16:04:11 +00:00
rust-version Prepare for merging from rust-lang/rust 2026-05-04 16:39:35 +03:00
rustfmt.toml Fix rustfmt for files that use 2024-edition syntax 2025-10-23 23:13:13 +02:00
triagebot.toml Only complain about uncanonicalized issue links 2026-03-04 13:49:32 +02:00

rust-analyzer logo

rust-analyzer is a language server that provides IDE functionality for writing Rust programs. You can use it with any editor that supports the Language Server Protocol (VS Code, Vim, Emacs, Zed, etc).

rust-analyzer features include go-to-definition, find-all-references, refactorings and code completion. rust-analyzer also supports integrated formatting (with rustfmt) and integrated diagnostics (with rustc and clippy).

Internally, rust-analyzer is structured as a set of libraries for analyzing Rust code. See Architecture in the manual.

codecov

Quick Start

https://rust-analyzer.github.io/book/installation.html

Documentation

If you want to contribute to rust-analyzer check out the CONTRIBUTING.md or if you are just curious about how things work under the hood, see the Contributing section of the manual.

If you want to use rust-analyzer's language server with your editor of choice, check the manual. It also contains some tips & tricks to help you be more productive when using rust-analyzer.

Security and Privacy

See the security and privacy sections of the manual.

Communication

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

https://users.rust-lang.org/c/ide/14

For questions about development and implementation, join rust-analyzer working group on Zulip:

https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer

License

rust-analyzer is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.