Coding Standards

Events happening in the community are now at Drupal community events on www.drupal.org.

Eclipse formatter for Drupal Code Quality

Attached you will find a code formatter for Eclipse Luna 4.4, compatible with the Drupal coding standards.

Install

You can import this formatter by uncompressing the XML file, and going to
Preferences -> PHP -> Code style -> Formatters -> Import

Usage

Say you are editing a Drupal .module. You can now right-click, Source->Format (Ctrl-Alt-F) and Eclipse will format your source code automatically to comply with Drupal Code Quality checks.

Also, you will find a code formatter for Eclipse PDT 3.8 (or Zend Studio 6.3).

Read more
Jamie Holly's picture

Checking Coding Standards In NetBeans

Just wanted to share this little gem I found with the other Netbeans users out there:

http://www.amaxus.com/cms-blog/coding-standards-netbeans-php-codesniffer

It's a plugin for Netbeans that allows you to run Php_CodeSniffer from within Netbeans. I've been using it today with the DrupalCS standards library (http://drupal.org/project/drupalcs ) and it works pretty well. There's a couple little glitches, but it ends up catching about 99% of the stuff.

Also there's another version in development here:

http://sourceforge.net/projects/phpmdnb/

Read more
Subscribe with RSS Syndicate content

Drupal IDE

Group organizers

Group categories

Drupal IDE Tags

Dev Software

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week