Aneil Mallavarapu
Aneil Mallavarapu

Reputation: 3525

What is the keyboard shortcut to go to a file in Eclipse on Mac OS X?

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.

Upvotes: 87

Views: 86718

Answers (6)

z0r
z0r

Reputation: 8585

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.

Upvotes: 14

James Oravec
James Oravec

Reputation: 20391

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

Upvotes: 0

Pooja
Pooja

Reputation: 11

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

Upvotes: 1

elmandr
elmandr

Reputation: 41

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

Upvotes: 4

Shadwell
Shadwell

Reputation: 34774

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

Upvotes: 56

Amir Afghani
Amir Afghani

Reputation: 38521

CMD+SHIFT+r should work on the Mac

Upvotes: 89

Related Questions