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

Add g:dart_trailing_comma_indent #135

Merged
merged 2 commits into from
May 10, 2022
Merged

Add g:dart_trailing_comma_indent #135

merged 2 commits into from
May 10, 2022

Conversation

natebosch
Copy link
Member

Closes #114

We've gotten a few requests to change the default indentation of
argument lists since it's so common for flutter authors to use frequent
trailing commas and see the different indentation behavior after
formatting. Add a configuration option so users who mostly have trailing
commas in argument lists can have their more common indentation while
typing as well.

Closes #114

We've gotten a few requests to change the default indentation of
argument lists since it's so common for flutter authors to use frequent
trailing commas and see the different indentation behavior after
formatting. Add a configuration option so users who mostly have trailing
commas in argument lists can have their more common indentation while
typing as well.
@natebosch natebosch requested a review from sigmundch May 9, 2022 22:05
Copy link
Member

@sigmundch sigmundch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@natebosch natebosch merged commit ceecea7 into master May 10, 2022
@natebosch natebosch deleted the trailing-comma-indent branch May 10, 2022 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin makes wrong indents in case of "("-brackets
3 participants