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

New Rule Suggestion: Specify number of blank lines between ... #399

Open
ZoeESummers opened this issue Mar 22, 2019 · 4 comments
Open

New Rule Suggestion: Specify number of blank lines between ... #399

ZoeESummers opened this issue Mar 22, 2019 · 4 comments

Comments

@ZoeESummers
Copy link

Hi Nick.

Ideally, I'd like to specify that there are 3 blank lines between every function, after property declarations (which are grouped) etc...

The code formatter built into AppCode does a great job of specifying where and how many empty lines are between (before or / and after) specific types of statements or code syntax.

Something like this would be really appreciated please.

@nicklockwood
Copy link
Owner

@ZoeESummers I'll take a look at AppCode and see what they're doing.

Configuration for blank lines has been a tricky UX design issue for SwiftFormat because there are so many possible options, but I'll see what I can do.

@ZoeESummers
Copy link
Author

Thank you.

@ZoeESummers
Copy link
Author

Any news please?

@nicklockwood
Copy link
Owner

@ZoeESummers no progress on this yet I'm afraid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants