开发者

"Open Document" VS menu equivalent in Eclipse?

开发者 https://www.devze.com 2023-01-11 17:08 出处:网络
I am starting to use Eclipse for C++ developing after years with Visual Studio. I am us开发者_运维知识库ed to right-click a filename in an include-Statement and then click \"Open Document\" to jump to

I am starting to use Eclipse for C++ developing after years with Visual Studio. I am us开发者_运维知识库ed 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.


  • Using the mouse: Ctrl + MouseClick
  • Using the keyboard: F3

Both also work to jump to definition or declaration of a symbol.

Furthermore, you can use Ctrl +Tab to 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 F4 for 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)

0

精彩评论

暂无评论...
验证码 换一张
取 消