vote up 1 vote down star
2

I have a full unix file path like: /etc/var/www/temp.txt

How could I open this up in Eclipse on OSX with one shot? When I go to file open it has no place for a full directory path?

flag

77% accept rate
1  
what version of eclipse? a screenshot of the open dialog would help too. – John T Nov 5 at 4:20

1 Answer

vote up 2 vote down

So long as you're using the Cocoa version of Eclipse is when you are on the open dialog, press Command-Shift-G and enter the UNIX path to the parent folder of the file. You can then select the file.

Unfortunately open -a does not work with Eclipse.

link|flag
What's Cocoa? CMD-SHIFT-G doesn't work on my version. – MikeN Nov 5 at 17:14
MikeN: When you download Eclipse for the Mac you're offered it three flavours; Carbon, Cocoa 32-bit and Cocoa 64-bit. In this case, they are more or less they are different wrappers (versions of SWT) between Eclipse and interacting with the host operating system. (superuser.com/questions/31749/…) – Chealion Nov 5 at 18:24

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.