jhaabhijeet864 commented on issue #4054: URL: https://github.com/apache/incubator-kie-tools/issues/4054#issuecomment-6874164541
I have submitted PR #4082 to address this issue. ### Summary of implementation: Tracks unbraced if, else if, and else control-flow headers in RhsFormatter so their single-statement consequences are indented one level in (baseDepth + 1). - Aligns else and else if branches back to the base indentation depth of the corresponding if clause. - Restores indentation depth to the enclosing baseline for sibling statements following an unbraced chain. - Added comprehensive unit tests in FormatterConsequenceIfElseTest verifying indentation stability and idempotency across unbraced, mixed, and nested scenarios. All CI checks on #4082 have passed. Reviews and feedback are welcome. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
