What is the name of the command (or a keyboard shortcut) for jumping to a file in Eclipse? I've seen Ctrl+Shift+R, but neither this nor Cmd+Shift+R work on Mac.
Asked
Active
Viewed 8.3k times
85
-
2Open "Keys" in the preferences and search for it. – AndiDog Oct 04 '10 at 22:33
-
possible duplicate of [Eclipse: quick search on filename](http://stackoverflow.com/questions/10637702/eclipse-quick-search-on-filename) – Nateowami Sep 24 '14 at 05:34
6 Answers
87
CMD+SHIFT+r should work on the Mac

Amir Afghani
- 37,814
- 16
- 84
- 124
-
3
-
This command will not work if you need to search for generated source code. – J4cK Jun 02 '15 at 13:06
-
7
-
6
-
`CMD + SHIFT + R` = Open Resource ( Lists all files .txt, .yml, .java, etc.) `CMD + SHIFT + T` = Open Type ( Lists Java classes ) – sh87 Jan 17 '19 at 20:28
56
It's called "Open Resource". It's under category 'Navigate' when "In Windows" for my binding.

Shadwell
- 34,314
- 14
- 94
- 99
-
2
-
1Would never have thought of that .. "Resource"!! On my linux machine, I can't see the shortcuts with the menu items - is there some switch to turn it on ? – Gishu Mar 09 '16 at 07:12
14
Other nifty shortcuts are listed here:
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.

z0r
- 8,185
- 4
- 64
- 83
1
How to open file in eclipse shot cut way Ans. ctrl+shift+T to open file in eclipse

Developer Guy
- 2,318
- 6
- 19
- 37

Pooja
- 11
- 1
-
The question was about "go to file" not "open file". I don't use Eclipse so don't know if these are different features but judging by the answers already posted, they are? – Stephen Kennedy Apr 20 '18 at 11:14
0
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.

Agilanbu
- 2,747
- 2
- 28
- 33

James Oravec
- 19,579
- 27
- 94
- 160