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

Improving the formatting of lambda's with expression bodies. #331

Merged
merged 1 commit into from
Jun 26, 2021

Conversation

belav
Copy link
Owner

@belav belav commented Jun 20, 2021

When printing expression bodies - indent and group the contents to handle edge cases like BinaryExpressions in them.
This also cleans up the formatting of expression bodies that used to break onto multiple lines when they had an InvocationExpression.

closes #176

Copy link
Collaborator

@shocklateboy92 shocklateboy92 left a comment

Choose a reason for hiding this comment

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

LGTM

@belav belav merged commit fbebb34 into master Jun 26, 2021
@belav belav deleted the lambda-expression-bodies branch June 26, 2021 14:52
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.

Improve Lambda Formatting - indent expression body and break in a way to minimize new lines.
2 participants