Imports should be grouped by default #3403
Labels
improvement
subsystem::code insight
General label for issues related to code understanding: highlighting, completion, annotation, etc.
Automatic import now inserts a new
use
line for every import: sostd::collections::HashMap
andstd::collections::BTreeMap
are imported in potentially different places.I'd like to see automatic imports grouping at least by last component, so
std::collections::HashMap
becomesstd::collections::{HashMap, BTreeMap}
when making second import.Grouping all imports from same library in one
use
statement should be optional.The text was updated successfully, but these errors were encountered: