Dart formatter Keeps running endlessly
See original GitHub issueIssue Type: Bug
It’s random. At times when you save dart code. Dart formatter starts running and do not stops for several minutes (around 5 minutes minimum). I have to cancel it and save again and same thing happens. Only solution is restart VScode or sometimes restart the PC.
Extension version: 3.21.1 VS Code version: Code 1.55.1 (08a217c4d27a02a5bcde898fd7981bda5b49391b, 2021-04-07T15:06:02.360Z) OS version: Windows_NT x64 10.0.19041
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-8550U CPU @ 1.80GHz (8 x 1992) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on protected_video_decode: enabled rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 7.89GB (1.46GB free) |
Process Argv | –crash-reporter-id fd9ee2dd-443c-41b6-b90c-1cb615a784b2 |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30276681
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythontb:30283811
openwsldoc:30282072
vspre833cf:30267465
pythonptprofiler:30281270
vshan820cf:30276953
pythondataviewer:30285071
vscus158:30286553
Issue Analytics
- State:
- Created 2 years ago
- Reactions:59
- Comments:85 (33 by maintainers)
Top Results From Across the Web
Developers - Dart formatter Keeps running endlessly - - Bountysource
Issue Type: Bug. It's random. At times when you save dart code. Dart formatter starts running and do not stops for several minutes...
Read more >Dart error using Flutter in VSCode keeps cropping up
Flutter is generating recursive symlinks and the analysis server follows them like any other directory, so gets stuck in an endless tree. It's ......
Read more >PyCharm 193.4099.14 Release Notes | Knowledge Base
Bug, IDEA-207748, Debugging hangs indefinitely when Gradle parallel execution is ... Task, WEB-41628, Dart formatter: use dartfmt tool always, remove legacy ...
Read more >Creating streams in Dart
Creating streams in Dart ... When that stream is listened to, the body starts running. ... You return the stream and keep the...
Read more >Is it just me or dartfmt is broken? : r/dartlang - Reddit
The problem I am experiencing that sometimes dartfmt formatting ... Yeah, I've just tried just running dartfmt from command line and it ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Flutter 2.2.2 has just been released to the stable channel which includes a fix for one of the issues mentioned above (where on macOS the analysis server would stop responding after certain types of files are modified).
Please upgrade to Flutter 2.2.2 and restart all instances of VS Code. If you’re still seeing this issue on Flutter 2.2.2 or later, please do let me know. Thanks!
I don’t know what is causing it, but all I see is “Saving ‘http.dart’: Running ‘Dart’ Formatter (configure)”. and it doesn’t stop. Started with the latest Flutter upgrade. Have to restart vscode everytime and try again, works for one or two saves. Is there anything I can provide to help solve this issue? Serious workflow problem.
Flutter 2.2.0 • channel stable • https://github.com/flutter/flutter.git Framework • revision b22742018b (10 days ago) • 2021-05-14 19:12:57 -0700 Engine • revision a9d88a4d18 Tools • Dart 2.13.0