You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dart: Apply Fix All in Workspace running toast #5773
Is your feature request related to a problem? Please describe.
I ran Dart: Apply Fix All in Workspace with a list of 4887 diagnostic to fix, and although it ran fine, I could not tell that it was running.
Describe the solution you'd like
I'd like to see a toast to indicate that some processing is happening.
Describe alternatives you've considered
Doing it from the terminal allows me to see that the process is running since I can't write more things.
Although I'll note that it doesn't show a toast, it shows the more subtle progress notification:
This is because the LSP client doesn't currently support the bigger toast notifications (or middleware to let us do it) - see microsoft/vscode-languageserver-node#1567
Activity
DanTup commentedon Nov 6, 2025
Recording this here for future me... Seems like we have code that should show progress, added in dart-lang/sdk@1ea4b88 - Needs some debugging!
DanTup commentedon Nov 6, 2025
Nope, that added plumbing for it, but each command needs to opt-in to showing the progress (to avoid spam for the very quick commands).
Fix is at https://dart-review.googlesource.com/c/sdk/+/460044
Although I'll note that it doesn't show a toast, it shows the more subtle progress notification:
This is because the LSP client doesn't currently support the bigger toast notifications (or middleware to let us do it) - see microsoft/vscode-languageserver-node#1567
[analysis_server] Add progress reporting to "Fix all in Workspace" co…
DanTup commentedon Nov 10, 2025
Fixed by dart-lang/sdk@2fea3c0, ships in the SDK