cgp
cgp

Reputation: 41391

Eclipse Menu Item to Exec Shell Command to Console

Is is possible to create a custom menu item within eclipse that will perform a given shell command? I'm not looking to do a "run/debug" type thing, I want to simple shell out and run a given command. I am NOT looking to create a plugin either.

Upvotes: 3

Views: 4656

Answers (3)

Joshua McKinnon
Joshua McKinnon

Reputation: 24719

Right past Run/Debug, there is something called External Tools. It looks like a green play icon with a toolbox. You can set these up to run anything you like, and anything you add to favorites will appear in a drop down menu for easy execution in two clicks. This can be used to run batch scripts, so that may do the trick for you.

Here's a link to the Eclipse Helios page on external tools that may be useful.

Upvotes: 10

Mark Elliot
Mark Elliot

Reputation: 77104

There are already plugins for this, such as Wicked Shell

Upvotes: 1

Related Questions