New Class File [message #1398966] |
Fri, 11 July 2014 17:31  |
Eclipse User |
|
|
|
Hi,
When I right click on a folder in the PDT navigator and I choose "New -> PHP File", I type the filename (say FileName), and then I click next, I have a box "Select PHP Template". The only templates that show are: "New Php File - HTML Frameset" and "New Simple PHP File". When I go to this path "Window -> Preferences -> Code Style -> Code Templates -> Code" I can see other templates that do not show in the "Select PHP Template" box. I filled the "class body" that was empty with a class skeleton that ideally should be the file name shoosen in the previous screen without the ".php". I used the following:
class ${file_name} {
}
Now I would like the class body template to show in the "Select PHP Template" list.
Is this possible?
How can I do that?
Thank you
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05813 seconds