NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
how to add more options to Create new file dialog?


Joined: 07 Oct 2012
Posts: 3
Location: Netherlands
Reply with quote
Hi all,

As I am working with CakePHP I want an option in Create new file dialog to have .ctp files there as well. Is it possible? if so, how can I do that?
View user's profileFind all posts by SaeidSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
PhpED searches the user profile templates folder for all templates that have file associations, so you have two steps to complete.

1. Add a file association for ctp if you don't already have one. Tools > Settings > IDE > Associations, then either add *.ctp to an existing type or create a new type. You would probably add *.ctp to the PHP type.

2. Use Windows Explorer to go to the folder %APPDATA%\NuSphere\PhpED\templates and create your template ctp file(s). You can create multiple templates of the same type.

Note: There is a copy of the original templates in the PhpED installation folder, but these are not used when you create new files.

When you do a File > New you will now be offered your ctp templates.
View user's profileFind all posts by plugnplaySend private message
how to add more options to Create new file dialog?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic