This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps: - Set 'Options|Editing|Indentation Engines|C++ Indentation Engine|Add Space Before Parenthesis' as True - Open in editor this C++ code: ----------------------------------- #include <stdio.h> #define M(x) puts(#x) int main() { M("test"); return 0; } ----------------------------------- - Call context menu in editor and select 'Format' menu item ==> After 'Format' I see wrong code in editor (I cannot build this code) #include <stdio.h> #define M (x) puts (#x) int main () { M ("test"); return 0; }
fixed when #119652 was fixed.
verified in 200710301200 build