FuelLabs/sway

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

开放

#2,226 创建于 2022年7月5日

 (4 条评论) (0 个反应) (0 位负责人)Rust (5,421 个派生)batch import
enhancementformattergood first issue

仓库指标

星标
 (61,702 个星标)
PR 合并指标
 (平均合并 22小时 6分钟) (30 天内合并 16 个 PR)

描述

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!

贡献者指南