How to locate a file or folder in windows explorer within Eclipse

There're many times that we want to open windows exploer and locate the file or fold we're working with in Eclipse.

Here's a shortcut for doing this, all you need to do is a single mouse click after you making some configuration.

  1. Open "Exteranl Tools Configuration..." window
  2. Add a new program configuration
  3. Rename theconfiguration, e.g. "Windows Explorer"
  4. Set Location as the explorer file location, e.g."c:\windows\explorer.exe"
  5. Set Arguments as "/e, /select, ${selected_resource_loc}"
  6. Click button "Apply"

Now, you can select any file or folder in "Navigator" or "Package Explorer" in Eclipse and run newly created external tool configuration, a windows explorer displays and the file or folder you selected in Eclipse will be automatically selected in windows explorer.




 

 

 

猜你喜欢

转载自smilease.iteye.com/blog/1714479