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.
当文本在函数上时使用F3 ,这在声明和实现之间交替。
The ctrl-click in the header file moves you to a source (implementation) file and vice-versa.
PS I test it on Juno SR1.
Alternatively, one may jump from declaration ( .h
) to definition ( .cpp
) and backwards, using context menu item Toggle Source/Header
(given the method/function highlighted).
This also helped me fix the initial F3 and Ctrl + click's incorrect behavior, which pressure forwarded only and uniquely to method declaration.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.