Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Eclipse, how to open a file browser in the directory of the currently edited file

Tags:

I know it's possible in eclipse to open file browsers from your project's resource browser, but is it possible for files that aren't part of your project ? Typically external includes are not found in your resource browser...

If there is the equivalent of $(resource_loc) for the editor, it would work.. But I wasn't able to find it. Can anyone help me on this ?

Thanks!

EDIT : I Found StartExplorer, but it doesn't work for me. It is hardcoded to use WINDOWS explorer or cmd.exe. Also, it still requires you to use the resource browser. Other than that it can open paths selected in the editor, but they must be full paths.

EDIT 2 : StartExplorer seems to have been upgraded. I no longer use eclipse, but if someone else is still looking for this, I'd look again at their stuff!

like image 590
levesque Avatar asked Mar 10 '10 19:03

levesque


People also ask

How do I open a directory in Eclipse?

To view the project explorer, click on Window menu then, click on Show View and select Project Explorer. There is simpler way to open project explorer, when you are in the editor press alt + shift + w and select project explorer.

How do I view modified files in Eclipse?

In the Eclipse Navigator view (or any Eclipse view that supports Team operations), right-click the file or folder and click Team > Show History.

How do I open the file Explorer tab in Eclipse?

In Eclipse, if the Project Explorer pane is not already open, click the Show View icon in the lower left corner of Eclipse, then click Project Explorer.


1 Answers

For eclipse Luna (4.4) and later, You can use: Right Click->Show In->System Explorer enter image description here

like image 150
Muhammad Annaqeeb Avatar answered Nov 17 '22 01:11

Muhammad Annaqeeb