Nidhal
Nidhal

Reputation: 101

Is it possible to fix all problems on vscode from Flutter

Is it possible to fix all the problems that are detected by the linter on vscode (Flutter) ? I use to fix them one by one with the quickfix button, but now I have too many problems to be fixed one by one.

vscode quickfix

Upvotes: 1

Views: 829

Answers (1)

Dean Nguyen
Dean Nguyen

Reputation: 61

Yes, you can use the below command to see all the available suggestion

dart fix --dry-run

and this is fix all of them

dart fix --apply

Upvotes: 3

Related Questions