NDDT - Drush

Drush integration is provided by another TopComponent, similar to the API Tree. You can access the window via DrushWindow->Drupal->Drush from the Netbeans menu.

Drush Window

The Drush window is rather simple. You have the top section, which is your output window. Below that you have a field for your actual Drush command and to the right is a field for the http host of your Drupal installation. The host is only needed in multi-site installations of Drupal. Both of these fields have a history of 20 items that is based on a per-project basis.

When you enter Drush commands, certain things are automatically appended to them. One of those is the -y option, meaning that the Drush command must be non-interactive. Any Drush command entered that requires additional input will abort automatically. Also the --include option is added to include the special Drush plugin for NDDT.

The screenshot above is the output of an Implementation command from the API Tree. Drush will find all modules that implements a certain hook and output them in a hyperlink format. Clicking on the link will take you to that file and line.

This version of NDDT is the early support for Drush so much is limited right now. Look for more features in future versions.