Skip to content
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

option to automatically apply quick fixes #48555

Open
DetachHead opened this issue Mar 14, 2022 · 3 comments
Open

option to automatically apply quick fixes #48555

DetachHead opened this issue Mar 14, 2022 · 3 comments
Labels
analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@DetachHead
Copy link

Describe the issue
it's annoying when simple issues like this aren't automatically fixed
image

ideally i'd like to be able to configure my IDE to automatically fix simple issues like this on save

@KotlinIsland
Copy link

Doesn't Idea have a "Apply to all similar issues in file" thing?

@DetachHead
Copy link
Author

Not sure, does it let you do that on save

@bwilkerson
Copy link
Member

Doesn't Idea have a "Apply to all similar issues in file" thing?

Yes. There should be a "Convert to single quoted strings everywhere in file" option if there's more than one place that needs to be fixed.

Not sure, does it let you do that on save

Not that I'm aware of, at least not yet for Dart. There is support for some other languages, so we'll discuss adding support for Dart.

@bwilkerson bwilkerson transferred this issue from dart-lang/linter Mar 14, 2022
@srawlins srawlins added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-quick-fix labels Mar 14, 2022
@srawlins srawlins added analyzer-server P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed analyzer-quick-fix labels Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants