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

Multi-line method declarations have incorrect indentation #836

Closed
quanvo87 opened this issue Jun 5, 2017 · 0 comments
Closed

Multi-line method declarations have incorrect indentation #836

quanvo87 opened this issue Jun 5, 2017 · 0 comments

Comments

@quanvo87
Copy link

quanvo87 commented Jun 5, 2017

For example, the init of this struct: https://ibm-swift.github.io/Swift-SMTP/Structs/SMTP.html

Hitting return in a method declaration indents the next line too far. In Xcode, return will line up the next line with the previous parameter. Example: https://github.com/IBM-Swift/Swift-SMTP/blob/master/Sources/SMTP.swift#L77

This provides better readability IMO.

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