在 Mac OS X 上访问 Eclipse 中的文件的快捷键是什么?

在 Eclipse 中跳转到文件的命令(或快捷键)的名称是什么?我见过 Ctrl + Shift + R,但是这个和 Cmd + Shift + R都不适用于 Mac。

81018 次浏览

CMD+SHIFT+r should work on the Mac

It's called "Open Resource". It's under category 'Navigate' when "In Windows" for my binding.

Other nifty shortcuts are listed here:

https://rayfd.wordpress.com/2007/05/20/10-eclipse-navigation-shortcuts-every-java-programmer-should-know/

With Ctrl-Shift-R (jump to file) and Ctrl-T (pop-up type hierarchy) I can happily spend most of my time with only the Editor view showing. You might have to modify them a bit for Mac.

Browsing directly from Preferences->Keys, the combination is CMD+Shift+R

As Amir pointed out CMD + Shift + R should work. If you are looking to not just see the code, but see where the code is in the project, you'll want to make sure your Project Explorer has Link with Editor enabled. Which is at the top right of the Project Explorer tab.

enter image description here

How to open file in eclipse shot cut way Ans. ctrl+shift+T to open file in eclipse