Skip to content

Running "Fix All" command takes a long time (~13s) #3469

@stas-lesiuk

Description

@stas-lesiuk

After some potential modifications (I was not working on project for some time), VSCode started taking too long time when I save dart file. These "potential modifications" may be some libs update in pubspec.yaml (after pull other teammate's changes), or maybe flutter version update.

Anyway, it either takes too long or doesn't finish at all, so I have to cancel it and only then Hot Reload updates app (I'm using physical device connected by USB).

Also it seems that dart files auto formatting is gone - I have to indent my files manually.
Dart-Code-Log-2021-06-00 22-22-49.txt

The message says "Saving 'filename.dart'. Applying code action 'Fix All'" and it shows on every file save.

Here's the screenshot of a message:
Screenshot 2021-07-11 at 22 26 33

The log file is attached as well.

Versions:

  • VS Code version: Version: 1.58.0 (Universal)
  • Dart extension version: v3.24.2
  • Dart/Flutter SDK version:
    Dart SDK version: 2.14.0-298.0.dev (dev)

Flutter 2.4.0-1.0.pre.173 • channel master • https://github.com/flutter/flutter.git
Framework • revision 33517505b5 (2 days ago) • 2021-07-09 23:46:03 -0400
Engine • revision 36271dc62b
Tools • Dart 2.14.0 (build 2.14.0-298.0.dev)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions