rust-analyzer/crates
bors 3f4c6dac3d Auto merge of #16372 - davidsemakula:import-granularity-one, r=Veykril
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
2024-01-18 15:40:12 +00:00
..
base-db internal: Add unstable config for loading the sysroot sources via cargo metadata 2024-01-15 09:59:32 +01:00
cfg Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
flycheck Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
hir minor: Make use of some new SmolStr improvements 2024-01-17 13:47:15 +01:00
hir-def feat: Show notable trait impls on hover 2024-01-16 19:17:33 +01:00
hir-expand minor: Make use of some new SmolStr improvements 2024-01-17 13:47:15 +01:00
hir-ty fix: Make value_ty query fallible 2024-01-16 12:09:40 +01:00
ide Auto merge of #16385 - Urhengulas:fix-tra-doc-links, r=Veykril 2024-01-18 14:00:35 +00:00
ide-assists update merge item assist implementation for "one" import granularity 2024-01-18 17:26:53 +03:00
ide-completion Auto merge of #16349 - Young-Flash:use_error_recovery, r=Veykril 2024-01-18 09:52:37 +00:00
ide-db Auto merge of #16372 - davidsemakula:import-granularity-one, r=Veykril 2024-01-18 15:40:12 +00:00
ide-diagnostics Add a new config to allow renaming of non-local items 2024-01-18 00:26:22 +01:00
ide-ssr Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
intern Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
limit Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
load-cargo fix: Fix progress reporting getting stuck 2024-01-17 13:23:00 +01:00
mbe minor: Make use of some new SmolStr improvements 2024-01-17 13:47:15 +01:00
parser Refactor macro_call to be consistent with other functions 2024-01-18 12:50:36 +01:00
paths Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
proc-macro-api Auto merge of #16312 - Veykril:win-proc-macro-srv, r=Veykril 2024-01-09 10:12:57 +00:00
proc-macro-srv Remove sysroot-abi feature flag from proc-macro-test 2024-01-10 09:53:12 +01:00
proc-macro-srv-cli Recognize proc macro server unexpectedly exiting and report the exit code 2024-01-09 10:37:26 +01:00
profile Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
project-model Auto merge of #15868 - wasd96040501:fix/symlink2, r=Veykril 2024-01-16 09:23:54 +00:00
rust-analyzer Auto merge of #16372 - davidsemakula:import-granularity-one, r=Veykril 2024-01-18 15:40:12 +00:00
sourcegen Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
span Impl fmt::Display for Span 2024-01-16 10:46:09 +01:00
stdx move is_upper_snake_case to stdx 2024-01-16 13:37:22 +03:00
syntax Auto merge of #16372 - davidsemakula:import-granularity-one, r=Veykril 2024-01-18 15:40:12 +00:00
test-fixture Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
test-utils feat: Show notable trait impls on hover 2024-01-16 19:17:33 +01:00
text-edit Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
toolchain Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
tt Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
vfs fix: Fix progress reporting getting stuck 2024-01-17 13:23:00 +01:00
vfs-notify fix: Fix progress reporting getting stuck 2024-01-17 13:23:00 +01:00