google / google-java-format

Reformats Java source code to comply with Google Java Style.
Other
5.58k stars 855 forks source link

Issue with text blocks formatting on java 21. Defaulting to extreme left indentation #1113

Closed rohan-changejar closed 2 months ago

rohan-changejar commented 3 months ago
image
tejasraj-jar commented 3 months ago

Facing the same issue, please help

sidkram commented 3 months ago

+1 .. Facing a similar issue

Sehag commented 3 months ago

Ruins the point of formatting the code, please fix this

neutrino1997 commented 3 months ago

Same here.

yashwithalva commented 3 months ago

Facing a similar issue, Please fix.

Shreyank031 commented 3 months ago

Facing the same issue.

Naresh-Srinivas commented 3 months ago

Facing the similar issue, taking a bit more time to format it and thus reducing the efficiency of the developers. Please help us sort this soon. Thank you!

sormuras commented 3 months ago

Related to

As a workaround sometimes it helps to use an older version of g-j-f ... what never helps is spamming an issue with "+1 comments".

cushon commented 2 months ago

https://github.com/google/google-java-format/issues/883