Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open directory containing a source file via Eclipse

In Visual Studio, or MyEclipse, you have a button which is able to locate a source file on disk, and open the containing directory in Windows explorer.

This is useful, for example, to browse images, or to use an other tool when a conflict occurs in CVS or SVN.

What would be the way to do it in Eclipse with a free plugin, or without any plugin ?

like image 408
Tristan Avatar asked Oct 16 '11 12:10

Tristan


People also ask

How do I open resource explorer 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.

What is the source folder in Eclipse?

This is nothing more than the folder in which Eclipse stores the . class files generated by compiling your code (which it does automatically; see compiling). The source folder is where all of your Java files will be saved.

How do I open a navigation file in Eclipse?

Select the required file and click OK to open it in an editor window. PHP Explorer - Displays the current active file in the PHP Explorer view. Navigator - Displays the current active file in the Navigator view.

How do I mark a directory as root in Eclipse?

Right-click the "java" directory and select Build Path | Use As Source Folder.


2 Answers

I found it :

"In eclipse, it is common requirement to open the folder containing source file but there is no direct method to do that like in Visual studio of Microsoft."

http://shivasoft.in/blog/others/tips/locate-source-file-on-local-disc-in-eclipse-external-tool/

like image 144
Tristan Avatar answered Oct 13 '22 05:10

Tristan


An actual plugin can be found at http://blog.samsonis.me/2009/02/open-explorer-plugin-for-eclipse/

And version 1.5 can be found here http://blog.samsonis.me/2011/08/openexplorer-eclipse-plugin-1-5-0/

like image 5
Shane Gannon Avatar answered Oct 13 '22 07:10

Shane Gannon