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

Empty Method should keep braces on same line #133

Closed
belav opened this issue Apr 23, 2021 · 1 comment · Fixed by #360
Closed

Empty Method should keep braces on same line #133

belav opened this issue Apr 23, 2021 · 1 comment · Fixed by #360
Labels
area:formatting type:bug Something isn't working
Milestone

Comments

@belav
Copy link
Owner

belav commented Apr 23, 2021

This used to keep the { } on the same line. No need to break if there is nothing actually in the body.

        public virtual Castle.Components.DictionaryAdapter.IDictionaryBehavior Copy()
        { }

On the other hand this is past the 80 character limit, and doesn't break at all til the braces. But maybe that is fine?

        public override System.Collections.Generic.IEnumerable<string> GetDynamicMemberNames()
        { }
@shocklateboy92
Copy link
Collaborator

shocklateboy92 commented Apr 24, 2021 via email

@belav belav added this to the 0.9.8 milestone Jul 19, 2021
belav added a commit that referenced this issue Jul 23, 2021
* Make sure empty block doesn't break on method declaration

closes #133

* drinking the kool-aid
@belav belav changed the title Empty Method now breaks Empty Method should keep braces on same line Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:formatting type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants