commit | f4070afb025d9423dd5f52cf1455e8b84b129a36 | [log] [tgz] |
---|---|---|
author | Ivar Scholten <ivar.scholten@protonmail.com> | Wed Aug 28 11:30:09 2024 +0200 |
committer | Ivar Scholten <ivar.scholten@protonmail.com> | Thu Aug 29 22:12:25 2024 +0200 |
tree | 6ab874569438e81101aed0c324d8222d90c96abe | |
parent | 0ae42bd42576566540a84c62e118aa823edcf2ec [diff] |
fix: consider indentation in the "Generate impl" and "Generate trait impl" assists This makes the generated impl's indentation match the ADT it targets, improving formatting when using nested modules inside of the same file or when defining types inside of a function.
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/manual.html#installation
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, check the ./docs/dev folder.
If you want to use rust-analyzer's language server with your editor of choice, check the manual folder. It also contains some tips & tricks to help you be more productive when using rust-analyzer.
See the corresponding 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.