On Thu, 6 Oct 2022 at 15:49, Tellis, Wyatt <wyatt.tel...@ucsf.edu.invalid> wrote: > This never happened with NB 12 and prior versions. I’ve tried toggling > Multiline Alignment, but it doesn’t do anything. Is there another setting > that controls this behavior?
Well, you can try setting Always wrap for Try Resources in the formatting options - Language : Java, Category: Wrapping. While fixing the additional leading space I tried to fix the line break removal too, but although I know where it's triggered I couldn't find a workaround. The underlying problem is actually in javac, and afaik fixed in JDK 20. Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists