Skip to content

Refactor "Format on Save" to route through Dart plugin #4625

Open
@stevemessick

Description

@stevemessick

The code that implements "Format on Save" directly calls analyzer.edit_format(). It ought to use DartStyleAction.runDartftm(). The latter does more work to ensure file contents are updated.

Activity

added this to the Backlog milestone on Jun 15, 2020
stevemessick

stevemessick commented on Jun 16, 2020

@stevemessick
MemberAuthor

I'd have to check, but I think this would fix #2847, too, if it is still an issue.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @stevemessick

        Issue actions

          Refactor "Format on Save" to route through Dart plugin · Issue #4625 · flutter/flutter-intellij