FuelLabs/sway

The formatter should alphabetize `use` statements if they're not separated by an empty line

Ouverte

#2 226 ouverte le 5 juil. 2022

 (4 commentaires) (0 réaction) (0 personne assignée)Rust (5 421 forks)batch import
enhancementformattergood first issue

Métriques du dépôt

Stars
 (61 702 étoiles)
Métriques de merge PR
 (Merge moyen 22h 6m) (16 PRs mergées en 30 j)

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!

Guide contributeur