Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » Creating Templates for New PHP Files
Creating Templates for New PHP Files [message #635294] Tue, 26 October 2010 05:57 Go to next message
Eclipse UserFriend
I've recently upgraded from Europa to Helios. Under Europa the Templates option included a context option of NewPHP which enabled easy set-up of templates from which to create php files. This option is gone in Helios. I've tried importing xml definitions of templates via Code Templates options in Code Formatter but it doesn't seem responsive.

What am I doing wrong and how can I set-up templates for new php files, and then select them.

Thanks in advance.

Helios, build id: 20100617-1415, running on (ahem) Vista
Re: Creating Templates for New PHP Files [message #635761 is a reply to message #635294] Wed, 27 October 2010 22:22 Go to previous message
Eclipse UserFriend
Bug 318164 - "newPhp" is absent in Templates

You may be able to use HTML template instead.
1) Add "*.php" to HTML content type.
Preferences > General > Content Types > Text > HTML
2) Create your template under HTML templates.
Preferences > Web > HTML Files > Editor > Templates (Context is "New HTML")
3) Create new HTML File with ".php" and select your template as html template.
Previous Topic:hello world
Next Topic:A little help setting Up Eclipse
Goto Forum:
  


Current Time: Thu Apr 24 04:09:38 EDT 2025

Powered by FUDForum. Page generated in 0.03279 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top