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

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -