-Original Message-
From: Neil C Smith
Sent: Thursday, October 6, 2022 8:03 AM
To: Tellis, Wyatt
Cc: users@netbeans.apache.org
Subject: Re: Formatting issue
On Thu, 6 Oct 2022 at 15:49, Tellis, Wyatt
wrote:
> This never happened with NB 12 and prior versions. I’ve tried toggling
> Multiline
On Thu, 6 Oct 2022 at 15:49, Tellis, Wyatt
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
I've noticed that with NB 15 the formatting of try with resources lines is
broken. NB insists on putting everything on one line. For example if I have:
try (Resource r1 = getResource();
Resource r2 = getResource()) {
}
NB will put everything on one line when formatting the code:
try (Re