FuelLabs/sway
View on GitHubThe formatter should alphabetize `use` statements if they're not separated by an empty line
Open
#2,226 opened on Jul 5, 2022
enhancementformattergood first issue
Description
We already alphabetize items within a single use statements. It would be nice to also alphabetize the use statements themselves if they're not separated by an empty line. This replicates the behavior of the Rust formatter.
cc @eureka-cpu couldn't find an open issue for this but please close it if it's already tracked somewhere else!