Is there a way to add a custom formatting rule to netbeans?

I am using netbeans 7.0 for php and I need a certain type of formatting:

if ( ! foo)

There is currently no way to add spaces before and after !.
Can we get this in auto-formatting for netbeans?

edit: oh, before you say that there is an option for “unary operators”, I don’t want her to blame everything else, only !

+5
source share
1 answer

No, custom formatting rules specific to a unary operator are not possible with Netbeans.

, - , , Netbeans ", " . ( ) , , , .

0

All Articles