Install Coder with Drush
First, make sure Drush is installed correctly:
If you get drush not found or similar, follow Drush's installation instructions.
Now install Coder to Drush's central store:
Although not related to Drupal, the Keymap is the first thing I change. By default, PhpStorm comes with keyboard shortcuts I find very unnatural. Under Preferences, scroll down to select Keymap on the left, and select the keymap that suits your needs. Mac OS X 10.5+ feels the most intuitive to me. You can also further customize the keyboard shortcuts to each of the actions.
Syntax and Formatting
Download the library pear:
pear channel-discover pear.drush.org
pear install drush/drush