Eclipse has a built-in feature that can save and run Drush commands for projects easily. It's just like running the shell command. The feature in Eclipse is known as the "External Tools" feature.
- Click the following menu: Run > External Tools > External Tools Configurations...
- Under "Program", click "New Launch Configuration"
- Name: Anything
- Location: point to the drush software (for example, /home/drupal/drush/drush)
- Arguments (Mac):
-i /home/drupal/drush/drush/includes -v -r /Users/you/Sites/DEVELOPMENT/DRUPAL/drupal.development cache clear
- Click "Apply", then "Run".
- Repeat the command by clicking the "External Tools" icon (pictured below). I setup a favorite for clearing a site cache, and getting status of a site.
For those comfortable with Eclipse, use variables like ${Drush} to keep a centralized token of where your Drush is stored so you don't need to type the full URL in each command. I also do this for my Sites folder, but didn't show that in the example.
Drupal plug-in for Eclipse IDE
For those into Eclipse and Drupal, I have an Eclipse plug-in for Drupal that is open for early public trial.