In Eclipse CDT, How can I see all the macros defined in all the source files under a given directory tree? I don’t want to see any macros that are defined in include files that exist outside the given directory tree.
In ‘Open Element’ dialog (Ctrl+Shift+T), I can uncheck all element types, check only the “Macro” type and then search for ‘*’. This would show all the macros from the index. There is no control to further filter it based on a “selected resource”.
I found the answer to this one.