Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:57 Go to next message
MLK is currently offline MLKFriend
Messages: 1
Registered: October 2010
Junior Member
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] Thu, 28 October 2010 02:22 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
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 Oct 10 20:32:38 GMT 2024

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

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

Back to the top