Skip to content

Formatter support for sorting includes #23333

Closed
@DartBot

Description

@DartBot

This issue was originally filed by tonyg@chromium.org


It'd be really nice if the formatter sorted includes according to https://www.dartlang.org/articles/style-guide/#ordering (or exposed an option to do so if that's controversial).

In my experience writing Dart for the Mojo project, the formatter takes away 99% of thinking about the style guide. Import alphabetization is the main place I still find myself having to make stylistic code review comments.

Activity

DartBot

DartBot commented on Apr 28, 2015

@DartBot
Author

This comment was originally written by @zoechi


I think formatter issues should be created in the github.com/dart-lang/dart_style repo

DartBot

DartBot commented on Apr 28, 2015

@DartBot
Author

This comment was originally written by @seaneagan


#57172

lrhn

lrhn commented on Apr 28, 2015

@lrhn
Member

Added MovedToGithub label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @kevmoo@lrhn@DartBot

        Issue actions

          Formatter support for sorting includes · Issue #23333 · dart-lang/sdk