Locate source file on Local Disc in Eclipse – External tool

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.

In this tutorial, i will explain how to achieve this with the help of External tools in Eclipse.

Go to Run | External Tools | External Tools Configurations

External Tools Configurations Eclipse
External Tools Configurations Eclipse

Then New Window open, Give the name of new External tool, in Location text box type : “${env_var:SystemRoot}explorer.exe

and in argument text box write: “/select,${resource_loc}”

External Tools Configurations Eclipse Create New
External Tools Configurations Eclipse Create New

Then select tab “common” and as per below image make the settings.

External Tools Configurations Eclipse Create New Screen 2
External Tools Configurations Eclipse Create New Screen 2

This external tool will open the source file containing folder.

Posted

in

by

Tags:


Related Posts

Comments

2 responses to “Locate source file on Local Disc in Eclipse – External tool”

  1. Gork Avatar
    Gork

    In the article you incorrectly state that the location should be ${env_var:SystemRoot}explorer.exe whereas in the picture you accurately have it as ${env_var:SystemRoot}explorer.exe

    1. hraharahra Avatar
      hraharahra

      ^ This man deserve a medal! 🙂

Leave a Reply to hraharahraCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Jitendra Zaa

Subscribe now to keep reading and get access to the full archive.

Continue Reading