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

Reduce the use of trailing commas #1130

Open
devoncarew opened this issue Feb 28, 2023 · 0 comments
Open

Reduce the use of trailing commas #1130

devoncarew opened this issue Feb 28, 2023 · 0 comments
Labels
package:code_builder type-enhancement A request for a change that isn't a bug

Comments

@devoncarew
Copy link
Member

This package was updated to use trailing commas for generated parameter and expression lists in order to address (substantial) dart format slowdowns when formatting some larger generated files.

It would be nice to dial back the use of trailing commas a bit so that shorter methods (with <= three parameters?) are generated without trailing commas.

dart-archive/code_builder#390 was one such attempt at reducing the use of trailing commas.

@devoncarew devoncarew added the type-enhancement A request for a change that isn't a bug label Aug 7, 2023
@mosuem mosuem transferred this issue from dart-archive/code_builder Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:code_builder type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants