"Open Implementation" in Eclipse CDT

Inside the Eclipse CDT (Juno), how can I quickly get to the implementation (s) of declaring a function / method?

The ctrl-click shortcut allows me to switch from an implementation (in a .cxx file) to a declaration ( .h file). I want the opposite behavior.

+7
source share
3 answers

I use F3 when the text is in a function, it alternates between declaration and implementation.

+5
source

ctrl-click in the header file moves you to the source (implementation) file and vice versa.

PS I am testing it on Juno SR1.

+2
source

Alternatively, you can go from declaration ( .h ) to definition ( .cpp ) and back using the Toggle Source/Header context menu item (given the selected method / function).

It also helped me fix the initial incorrect behavior of F3 and Ctrl + click, which redirected only and unambiguously to the declaration of the method.

0
source

All Articles