-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add in const
using "Fix All"
#89855
Comments
@tadaspetra in what way are you proposing that the "fix all" be added? Is it with the |
In Flutter 2.5 there was a Fix All added to VSCode. Dart-Code/Dart-Code#3445 I believe it uses It would be great if adding in |
This might have to be filed on either the However, as I am not certain, I will label for visibility. I do think that'll be helpful. |
This is known, there are some bugs on it and people are already working on it. There should be an issue in dart sdk repo, but I don't have the link here. |
If I'm not wrong this is fixed in dart 2.15 here so |
Hi @tadaspetra, can you confirm if this has been fixed on the |
That was merged 15 days ago. Flutter dev hasn't been updated for 8 weeks. You need to wait a few more weeks but you should close this issue. |
Since this issue was initially supposed to be on the dart-lang/sdk repo and a fix seems to have been applied on Closing as fixed. Thank you |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Use case
With the default linter now hinting for const to be used, being able to add all the missing
const
keywords using Fix All would be very convenient. And then developers can even have it Fix All on save and add in all theconst
keywords quickly.Proposal
Add
const
using "Fix All" featureThe text was updated successfully, but these errors were encountered: