I am working in webkit with Eclipse CDT as IDE, there are some classes under #if ENABLE(VIDEO) but eclipse does not index it. It thinks that they are unused blocks, is there any way by which I can tell eclipse to index everything?
Not sure about the solution you suggested, but there's another:
Open your project's properties, go to C/C++ General
-> Path and Symbols
-> Symbols
, make sure you have Configuration
set to All configurations
and then add there any preprocessor symbols you'd like to have defined.