FuelLabs/sway

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

オープン

#2,226 opened on 2022/07/05

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (5,421 件のフォーク)batch import
enhancementformattergood first issue

Repository metrics

Stars
 (61,702 個のスター)
PR merge metrics
 (平均マージ 22h 6m) (30d で 16 merged PRs)

説明

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!

コントリビューターガイド