Re: Formatting help: try-with-resource multiple variables

2024-04-10 Thread Pieter van den Hombergh
look for the linebreak settings in options editor formatting. met vriendelijke groet Pieter van den Hombergh Op wo 10 apr 2024 11:19 schreef Francesco Chicchiriccò : > Hi there, > possibly a silly question: how can I convince Netbeans 21 to format like > as following: > > try

RE: Formatting help: try-with-resource multiple variables

2024-04-10 Thread Francesco Chicchiriccò
Thank you, it worked! FTR I had to save and restart Netbeans, a simple "Apply" did not actually change the formatting. Regards. On 2024/04/10 11:45:23 zephy...@gmail.com wrote: > I tried to send an image but it failed. > > The configuration is at: Tools -> Options -> Editor -> Formatting > >

RE: Formatting help: try-with-resource multiple variables

2024-04-10 Thread zephyrgr
I tried to send an image but it failed. The configuration is at: Tools -> Options -> Editor -> Formatting Set the Language to "Java" and Category to "Wrapping" To set one variable per line set the "Try Resources" option to "Always" On 2024/04/10 09:17:16 Francesco Chicchiriccò wrote: > Hi