An Oracle blog about NetBeans for PHP

Consolidated Article on Code Templates

Guest Author
I've just published a tutorial on Code Templates in NetBeans IDE for PHP. This tutorial consolidates Petr Pisl's original blog post and Tomas' post on improvements to Code Template support. It also has a section on code template syntax, including a table of PHP-specific hints. Lastly, there's a section with some use cases for creating your own code templates, suggested by Filip. Please let me know here or in a Feedback email if there is anything more you'd like covered, or if you have some more common use-cases.

Join the discussion

Comments ( 3 )
  • fortruth Tuesday, October 19, 2010

    Thanks for your work.

    It really give me more skill, expectly the wrap codes function.

  • Pet Tuesday, October 19, 2010


    Most often I use surround with try/catch template. Can I put this template as first list entry, when I press alt+Enter? The list is pretty long and it takes time to find "try" there.



  • kushang Tuesday, October 19, 2010

    what is process of including jar file

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.