Thank you for taking the time to review this PR. I believe this new feature will be a valuable addition to the project and benefit many users. I'm open to feedback and suggestions, and I'm more than happy to make any necessary changes to ensure that this fits perfectly within the project's guidelines and objectives.
In Summary:
Idea Behind the Changes: This PR introduces a more refined approach to handling the positioning of closing parentheses, specifically distinguishing between function-calls and function-declarations. The aim is to enable more granular control over formatting, while ensuring existing configurations remain unaffected.
Refinement to Existing closingParenOnSameLine Option: While the closingParenOnSameLine option already existed, providing control over the positioning of the closing parentheses (either balanced or on the same line), this PR offers a more refined approach. It distinguishes between different scenarios, specifically targeting function-calls, to provide users with enhanced granularity in their formatting choices.
Introduction of forceClosingParenOnSameLineForFunctionCalls: A new option descriptor, forceClosingParenOnSameLineForFunctionCalls, has been introduced. This new option specifically targets function-calls, allowing users to force the closing parenthesis onto the same line, in alignment with the recommendations of the Ray Wenderlich Style Guide.
Ray Wenderlich Style Guide: This enhancement aligns the tool more closely with the Ray Wenderlich Swift style guide. With the introduction of this feature, users can adhere more faithfully to the guide's specifics on how closing parentheses should be formatted in different contexts, like function-declarations and function-calls
@gering this looks like a really great feature! Thanks so much for your diligence in following the project standards and guidelines, it really makes a huge difference. I'm very happy to accept your PR!
Thank you for taking the time to review this PR. I believe this new feature will be a valuable addition to the project and benefit many users. I'm open to feedback and suggestions, and I'm more than happy to make any necessary changes to ensure that this fits perfectly within the project's guidelines and objectives.
In Summary:
Idea Behind the Changes: This PR introduces a more refined approach to handling the positioning of closing parentheses, specifically distinguishing between function-calls and function-declarations. The aim is to enable more granular control over formatting, while ensuring existing configurations remain unaffected.
Refinement to Existing
closingParenOnSameLine
Option: While theclosingParenOnSameLine
option already existed, providing control over the positioning of the closing parentheses (either balanced or on the same line), this PR offers a more refined approach. It distinguishes between different scenarios, specifically targeting function-calls, to provide users with enhanced granularity in their formatting choices.Introduction of
forceClosingParenOnSameLineForFunctionCalls
: A new option descriptor,forceClosingParenOnSameLineForFunctionCalls
, has been introduced. This new option specifically targets function-calls, allowing users to force the closing parenthesis onto the same line, in alignment with the recommendations of the Ray Wenderlich Style Guide.Ray Wenderlich Style Guide: This enhancement aligns the tool more closely with the Ray Wenderlich Swift style guide. With the introduction of this feature, users can adhere more faithfully to the guide's specifics on how closing parentheses should be formatted in different contexts, like function-declarations and function-calls