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.
There is no way to search for macro in Options > C/C++ > Code Assistance > Macro Definitions. This is very inconvenient; GNU has several dozens of defines, which makes it hard to search "just with your eyes"
strictly not a bug.