views:

61

answers:

0

The code formatting option that Netbeans has is not customizable enough for C/C++. For example it has options to add spaces to binary operators, but I cannot specify which. So putting it ON results in:

(a == b && b == c)

and putting it OFF results in:

(a==b&&b==c)

What I would ideally like is:

(a==b && b==c)

Any suggestions on how to configure the formatter? OR get the same results using some plugin?

I tried looking into the ones suggested in [1], but none of them can be directly integrated within NetBeans. Besides, the UniversalIndentGUI (which seemed best) does not have Fedora installation options.

[1] http://stackoverflow.com/questions/841075/best-c-code-formatter-beautifier