Skip to content

Mark function parameters and tuple elements as indented#1148

Merged
kimdv merged 7 commits intoswiftlang:mainfrom
stevapple:tuple-indent
Dec 15, 2022
Merged

Mark function parameters and tuple elements as indented#1148
kimdv merged 7 commits intoswiftlang:mainfrom
stevapple:tuple-indent

Conversation

@stevapple
Copy link
Copy Markdown
Contributor

RT, this will allow SwiftBasicFormat to indent a multiline

  • TupleTypeElementList
  • TupleExprElementList
  • FunctionParameterList

more nicely.

@stevapple stevapple requested a review from ahoppen as a code owner December 15, 2022 04:09
@stevapple
Copy link
Copy Markdown
Contributor Author

One of the tests depends on the style update in #1147, so that should be tested with & merged ahead

@stevapple stevapple mentioned this pull request Dec 15, 2022
1 task
@kimdv
Copy link
Copy Markdown
Contributor

kimdv commented Dec 15, 2022

@swift-ci please test

Copy link
Copy Markdown
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

Thanks you for the fix and all the test cases. Looks good to me 👍

@kimdv kimdv merged commit 40b8304 into swiftlang:main Dec 15, 2022
@stevapple stevapple deleted the tuple-indent branch December 15, 2022 14:36
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.

3 participants