News Feed
Sections




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

Alex Netkachov's Blog:
September 23, 2008 @ 07:08:23

In a new post today Alex Netkachov shows a handy little tip for the Eclipse users out there that want to use the @var type hint in their code.

@var variable type hint is very useful, but adding it a little bit complex: usually you need to type the class name or copy/paste it from somewhere. But with Eclipse PDT templates you can simplify this and add an autocomplete for variable name and class name.

It's a simple one-step process - you just add in a new template to your Eclipse application and it will prompt you to select the class name from a list and drop it right in. No more cut and paste needed!

0 comments voice your opinion now!
eclipse tip autocomplete type hint template


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: NetBeans 6.5 review (with PHP support)

Joris de Wit's Blog: Extending different layouts for Ajax requests in Twig, Symfony2

Zend Developer Zone: Creating Web Page Templates with PHP and Twig (part 2)

Arnold Daniels' Blog: How I PHP: The Output Handler

Andrew Eddie's Blog: Making the most out of Code Assist in Eclipse/PDT and Zend Studio for PHP


Community Events





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


api configure application community library podcast release developer code wordpress language threedevsandamaybe unittest series introduction list interview bugfix install laravel

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