| commit | 4541495037e7ce754b5a2ca459257299947bb96e | [log] [tgz] |
|---|---|---|
| author | Shashi Shankar <shashishankar1687@gmail.com> | Sat Jul 12 18:10:48 2025 +0200 |
| committer | Shashi Shankar <shashishankar1687@gmail.com> | Thu Jul 17 11:04:14 2025 +0200 |
| tree | bab7df11093efab11c50924c51ae6e8437566239 | |
| parent | a489123e806ceadfdc5568bf9609b0468f5a2e6a [diff] |
examples: add `minimal_lsp.rs` and FIFO test script. * `examples/minimal_lsp.rs` – compact LSP server showing definition, completion, hover, rustfmt-based formatting, and dummy diagnostics. Advertises UTF-8 offset encoding. * `examples/manual_test.sh` – FIFO script that streams the canonical nine LSP packets so anyone can validate the server from two terminals. No new runtime deps; `anyhow` stays under [dev-dependencies].
rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.
https://rust-analyzer.github.io/book/installation.html
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.
See the security and privacy sections of the manual.
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
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.