mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-20 17:13:58 +00:00
3f4c6dac3d
feat: Add "One" import granularity Adds a new import granularity option "One" that merges all imports into a single use statement as long as they have the same visibility and attributes. This is similar to [rustfmt's `imports_granularity = "One"`](https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=import#imports_granularity). Fixes: #11361 |
||
---|---|---|
.. | ||
ast | ||
parsing | ||
tests | ||
validation | ||
algo.rs | ||
ast.rs | ||
fuzz.rs | ||
hacks.rs | ||
lib.rs | ||
parsing.rs | ||
ptr.rs | ||
syntax_error.rs | ||
syntax_node.rs | ||
ted.rs | ||
tests.rs | ||
token_text.rs | ||
utils.rs | ||
validation.rs |