You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current style guide states that when a function call is wrapped on to multiple lines, the closing parenthesis should be on the same line as the last parameter, like this:
letid=getPersonID(
name:"Bob",
age:42,
registered: true,
note:"Bob is not a real person.")
Xcode 15 has a new Refactor > Format to Multiple Lines option and it places the closing bracket on a line of its own, as shown here:
letid=getPersonID(
name:"Bob",
age:42,
registered: true,
note:"Bob is not a real person.")
I recommend changing the Kodeco style to match what Xcode produces.
Note that Xcode multi-lines function definitions in exactly the way the current style guide uses. It is only the function call style that it changes.
The text was updated successfully, but these errors were encountered:
The current style guide states that when a function call is wrapped on to multiple lines, the closing parenthesis should be on the same line as the last parameter, like this:
Xcode 15 has a new Refactor > Format to Multiple Lines option and it places the closing bracket on a line of its own, as shown here:
I recommend changing the Kodeco style to match what Xcode produces.
Note that Xcode multi-lines function definitions in exactly the way the current style guide uses. It is only the function call style that it changes.
The text was updated successfully, but these errors were encountered: