jeudi 2 juillet 2015

Is there a way to find matching #if, #else, #elif & #endif in Eclipse?

I have some long C & C++ header files with a lot of nested #if statements in them.

#if FOO
    ...
#elif BLAR
    #ifndef WIDGET
    #endif
#else
    ...
#end

Is there a way to jump between matching statements in Eclipse? I have found a similar question that says it is possible in Visual Studio which suggests that the CTRL + ] key combination should do it, but that seems to only work for matching braces.

Aucun commentaire:

Enregistrer un commentaire