Is there a way to add a custom formatting rule to netbeans?
I am using netbeans 7.0 for php, and I want a specific type of formatting like so :
if ( ! foo)
There is currently no option to add spaces before and after !
.
edit : oh, before you say there's a o开发者_Python百科ption for "unary operators", I don't want it screw with all other stuff, only !
No, custom formatting rules specific to the unary not operator is not possible with Netbeans.
You can see if someone has already submitted an enhancement request similar to yours, or submit your own at Netbeans's Bugs, Feature Requests, and Enhancements page. If one (or more) similar requests exist that would cover your request, then vote for them rather than submitting a new one.
精彩评论