Page 1 of 1
"New File" Template
Posted:
December 19th, 2012, 8:58 am
by CFI
Hi,
is it possible to edit the file template which is loaded when adding a new PHP file, so that we can include our header and set the encoding and line endings we want?
regards
Re: "New File" Template
Posted:
December 19th, 2012, 3:02 pm
by Jakub Misek
Hi,
There is built-in Visual Studio feature for this.
Create/modify your .php file within a PHP project. And go to File -> Export Template. Choose item template and continue thru the wizard.
Your new item should appear in New Item dialog (right click on Project -> Add -> New Item).
Let me know if it works for you. Thanks!
Re: "New File" Template
Posted:
December 19th, 2012, 3:11 pm
by CFI
Works - thanks.
Re: "New File" Template
Posted:
December 19th, 2012, 3:39 pm
by Jakub Misek
Great! If you would have anything else, or if you have a feature suggestion, please feel free to give us feedback.
Thanks,