Skip to content

Conversation

@nkcsgexi
Copy link
Contributor

@nkcsgexi nkcsgexi commented Jul 12, 2019

Explanation: Consecutive dot member function calls is a common pattern in SwiftUI codebase. They should be aligned when automatically indented from the editor. This patch teaches sourcekitd to check such pattern and handle it specifically.
Scope: Editor Tooling/Indentation
Issue: rdar://52392291
Risk: Very Low
Testing: Regression tests added and updated
Reviewer: Argyrios Kyrtzidis (@akyrtzi)

@nkcsgexi
Copy link
Contributor Author

@swift-ci please test

@nkcsgexi
Copy link
Contributor Author

@swift-ci please nominate

}
Ptr = LineStart;

// The <= here is to allow for non-inclusive range end positions at EOF
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this comment be deleted now?

@nkcsgexi nkcsgexi merged commit bbf6dc3 into swiftlang:swift-5.1-branch Jul 12, 2019
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.

2 participants