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

Chad Kieffer's Blog:
Speed up PHP development in Eclipse PDT with Templates and Snippets
Sep 03, 2008 @ 16:17:54

Recently Chad Kieffer made a post to his blog about a handy little feature of the Eclipse IDE that can help you speed up your development - snippets and templatings.

You already know that Eclipse PDT provides autocompletion and hints for PHP's built in functions. In addition, commenting your code with PHPDoc adds autocompletion and hinting for your application's classes, methods, and variables. If you haven't already discovered, Eclipse PDT also provides autocompletion of PHP's control structures, class definitions, and methods through code templates.

He gives examples of both the templating and the snippets - inserting a switch() statement template and how to create a custom snippet of whatever code you choose.

tagged: development eclipse pdt speed template snippet

Link:


Trending Topics: