c++ - View all macros defined in source code at a given position in Eclipse CDT -


is there possibility view live macros defined @ current position in code, in eclipse cdt?

i think there way this, since eclipse smart enough follow header files included within window window > show view > include browser. can also, of today, figure out macros defined , gray out areas of i.e. #ifdef not going compiled.

the thing feel missing if use defines in en external makefile, can simulated , added live index via project settings.

this is, e.g. not looking for, since list macros in file/project/workspace. want know depending on, lets say, have cursor in file.

type in editor window:

#ifdef  

and press ctrl-space. see long list of active macros

update

1) method correctly not shows macro before defined , shows after

2) seems eclipse cdt has error in handling #undef , method incorrectly shows macro after undefined. have filed bug report http://bugs.eclipse.org/bugs/show_bug.cgi?id=472198.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -