Quick easy note on associating certain file extensions with an editor in eclipse e.g. I’m developing .module and .info files for drupal modules. Just goto eclipse preferences -> general -> content types, then add the file associations using the add dialog