Closed jtkiesel closed 10 months ago
Text blocks are now split by lines when printing, with the "base indentation" removed, so that they are indented more logically by Prettier.
class Example { void example() { System.out.println( // leading comment """ abaoeu euaoeu aoeu oaeu abc""" // trailing comment ); System.out.println( """ abaoeu euaoeu aoeu oaeu abc""" ); } }
Closes #593
Thanks again @jtkiesel ! I just have one comment, but the logic seems ok otherwise :)
@DanielFran Bounty claimed: https://opencollective.com/generator-jhipster/expenses/155942
@jtkiesel approved
What changed with this PR:
Text blocks are now split by lines when printing, with the "base indentation" removed, so that they are indented more logically by Prettier.
Example
Input
Output
Relative issues or prs:
Closes #593