I am starting to use Eclipse for C++ developing after years with Visual Studio. I am used to right-click a filename in an include-Statement and then click “Open Document” to jump to this file. Does something like this exist in Eclipse CDT?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
F3Both also work to jump to definition or declaration of a symbol.
Furthermore, you can use
Ctrl +Tabto switch between a cpp file and its header. (“Toggle Source/Header”)The keyboard shortcuts are also shown in the context menu in the editor, there are many more very useful like
F4for type hierarchy or Ctrl-Alt-H for Call Graph.Eclipse also ships with alternative key bindings to be similar to Visual Studio or Emacs. (Window->Preferences->General->Keys —> Scheme)