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

Implementing rules for when lines are forced before members #535

Merged
merged 15 commits into from
Jan 3, 2022
Merged

Conversation

belav
Copy link
Owner

@belav belav commented Jan 1, 2022

closes #285

@belav
Copy link
Owner Author

belav commented Jan 1, 2022

This is basically done, there are just a lot of edge cases related to preprocessor directives to figure out. I also wanted to see if anyone had any feedback on the proposed rules for when blank lines are forced.

@belav belav marked this pull request as ready for review January 3, 2022 18:02
@belav belav merged commit ec6edac into master Jan 3, 2022
@belav belav deleted the add-lines branch January 3, 2022 18:18
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.

Oaf. This is long and complicated. I'm just going to trust that you got it right 😝

@belav
Copy link
Owner Author

belav commented Jan 11, 2022

@shocklateboy92 it was actually pretty simple until I started testing on real world code and ran into all the edge cases with preprocessor statements. I am pretty confident the code works. But there is some of it that I am sure could probably be simplified.

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.

Force lines before and after some members.
2 participants