"New File" Template
4 posts
• Page 1 of 1
"New File" Template
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
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
- CFI
- Posts: 66
- Joined: December 13th, 2012, 1:29 pm
Re: "New File" Template
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!
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!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: "New File" Template
Great! If you would have anything else, or if you have a feature suggestion, please feel free to give us feedback.
Thanks,
Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 56 guests