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.
Autoformating does work properly when using multiple configurations inactive preprocessor blocks are reformated as normal comments. It is not expected behaviour. Thay should be handled as regular parts of the code.
Autoformating was fixed before 4.1 to do not format commented preprocessor blocks (to do not shift all the comments right) and this works for me. If you need to reformat some preprocessor block content that is currently commented out you need to switch to the appropriate project configuration before.
verified, the non-active preprocessor block is commneted but the formating is still the same.