Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Open Implementation" in Eclipse CDT

From within Eclipse CDT (Juno), how can I quickly navigate to a the implementation(s) of a function/method declaration?

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

like image 965
Josh Avatar asked Mar 27 '13 00:03

Josh


People also ask

How do you open an implementation function in eclipse?

If you use the f3 key or ctrl+click over a class/method in eclipse, it opens the corresponding class/method.

What is Eclipse CDT builder?

The CDT is Eclipse's C/C++ Development Tooling project. It is an industrial-strength C/C++ IDE that also serves as a platform for others to provide value-added tooling for C/C++ developers.

How do I open an implementation in Eclipse Mac?

You can use ⌘B (macOS), or Ctrl+B (Windows/Linux), to navigate to an implementation.


2 Answers

I Use F3 when the text is on the function, this alternates between declaration and implementation.

like image 131
stdcall Avatar answered Sep 30 '22 17:09

stdcall


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

P.S. I test it on Juno SR1.

like image 42
Vasily Biryukov Avatar answered Sep 30 '22 18:09

Vasily Biryukov