开发者

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

开发者 https://www.devze.com 2023-03-20 01:03 出处:网络
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 !.

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 !.

Can we get that in auto formatting for netbeans?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号