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 (InputStre
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
>
>
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 ther
Hi there,
possibly a silly question: how can I convince Netbeans 21 to format like as
following:
try (InputStream propStream =
getClass().getResourceAsStream("/test.properties");
InputStream srcStream = new
FileInputStream(props.getProperty("test.csv.src"));