Sunday, July 20, 2008

Open Command Prompt or Windows Explorer in Eclipse

One of the features I miss in Eclipse is an ability to open Windows Explorer and Command Prompt (like CMD Here) on the current file or folder.
So I decided to implement it myself and here it is.
I gave it a huge name, since I hope to add there some more plugins that I miss, but currently it contains only the above features.

Enjoy!

Update: Since this post was written back in 2008, the plugin had some updates. See tarlog-plugins tagged posts.


Recommended Reading

1. Eclipse Rich Client Platform (2nd Edition)
2. Swt/Jface in Action: GUI Design with Eclipse 3.0
3. EMF: Eclipse Modeling Framework (2nd Edition)
4. Effective Java



21 comments:

  1. Are there any installation instructions for this plugin?

    ReplyDelete
  2. Put it in plugins folder and restart Eclipse.

    ReplyDelete
  3. works nice !

    One enhancement request - to be able to click on a java package and open an explorer/command prompt and not just on folder.

    ( I tried on eclipse 3.5)

    ReplyDelete
  4. Hi sandeep,

    Thank you for your interest!

    I'm not sure what you mean by saying "click on a java package".
    You're able to click on java package from the Package Explorer and it will open explorer/command prompt.

    ReplyDelete
  5. I meant the package explorer in Java Browsing Perspective

    ReplyDelete
  6. Are you sure it doesn't work?
    Because it works for me and I'm using Eclipse 3.5...

    See http://picasaweb.google.com/tarlog/OtherUnlisted?authkey=Gv1sRgCOaujoLS5snxPA#5376765484545687778
    (cannot use img tag here)

    ReplyDelete
  7. I do get the menu item, but clicking that does not show the command prompt of the explorer

    ReplyDelete
  8. Which Windows version you use?
    I heard about problems with Vista...

    ReplyDelete
  9. Strange... do you see any errors in Eclipse log?

    ReplyDelete
  10. I was looking for that! Thanks :)

    ReplyDelete
  11. Thanks, just what I was looking for!

    ReplyDelete
  12. Doesn't seem to work on Linux :(

    ReplyDelete
  13. @Chris: the windows/dos commands won't work on Linux. Isn't too surprising, right? :)

    ReplyDelete
  14. Dropped the jar into my plugins directory of Galileo on XP. Nothing showing up under Window->Preferences or when I right click a file.

    ReplyDelete
  15. I think last version of plugin is designed to work with Helios. Try upgrading to a newer version of Eclipse or download older version of plugin.

    ReplyDelete
  16. i am using eclipse 3.6, it worked like a charm.. really cook trick, thanks.
    i will recommend this blog to my friends

    ReplyDelete
  17. i m using eclipse 3.6 and it worked like a charm
    thanks for this cool trick..
    i will recommend this to my friends

    ReplyDelete