News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Klaus Graefensteiner's Blog:
Enforcing PHP coding standards with Eclipse PDT
March 31, 2010 @ 11:19:25

In a new post to his blog Klaus Graefensteiner takes a look at a quick way you can enforce your set of coding standards right inside of the Eclipse IDE with the PDT extension installed. It's not the easiest thing to do, but if you have a well-defined coding standard and know you'll be enforcing it strongly, this might be the way to go.

I recently came across a nice collection of coding standards that the developers at Gallery2.org are using. I especially liked the summary of settings for Eclipse PDT. I applied them to my Eclipse PDT development environment, took some screenshots and put this article together for my personal reference:

Settings he changes include some of the general editor settings (like tab width and margins) as well as PHP and source control specific settings to remove extensions the IDE doesn't need to worry about. He also mentions the "Code Templates" feature that allow you to get more specific and define the standards at the code level, not just the editor.

0 comments voice your opinion now!
eclipse pdt coding standard enforce template


blog comments powered by Disqus

Similar Posts

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 2 - Pluggable Applications

Havard Eide's Blog: Leopard and PHP

Lukas Smith\'s Blog: A Perspective on the Zend/Eclipse PHP IDE

ServerGrove Blog: Enforcing unique key constrains with Doctrine ODM for MongoDB & Symfony 2

PHPEveryday.com: Smarty Template Engine Tutorial


Community Events

Don't see your event here?
Let us know!


library video series version extension php7 interview language introduction voicesoftheelephpant security laravel5 community release framework laravel api podcast opinion example

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework