-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to sort imports in isort-like order? #1302
Comments
I would love this if there were newlines between each group. I was about to file a request for a
Plus, this could group EDIT: Looks like this is in the works already, pretty-much following the suggestion I've made here rust-lang/style-team#24 |
Very useful indeed. Can this issue be closed in favor of #298 though? |
Yeah, let's track in #298 |
Part of #155 This is fairly standard practice - we group the imports in the `std` > external libraries > current crate categories, separated by newlines. Some links: - rust-lang/style-team#24 - rust-lang/rustfmt#1302 - https://www.reddit.com/r/rust/comments/wwbxhw/comment/ilkid50/
Python's isort tool sorts imports with the following order:
Could
rustfmt
gain an option somewhere to reorder imports with similar rules?The text was updated successfully, but these errors were encountered: