Netbeans curly braces formatting -


when declaring new method in netbeans, follows:

$cursor used mark position of cursor

public void inc(){$cursor} 

then hit enter, output follows:

public void inc(){ $cursor} 

what want follows:

public void inc(){     $cursor } 

how can achieve result in netbeans?

i this:

public void inc(){$cursor 

then hit enter.

in short: don't type out second curly brace, it's generated line break.


Comments

Popular posts from this blog

Listboxes in c# -

Excel Duty List -

Multilayer CSV to filtered excel -