How i add CTP Extension using following method but it is not worked can any one help me ?
- Open 开发者_如何转开发preferences.
- Select Miscellaneous tab.
- Select Files sub-tab thing.
- Click on New file extension and enter tpl.
- Select the mime type.
- Click ok. Done!
Go to : Tools -> Options -> Miscellaneous -> Files
Then : Click on "New" -> Type in ctp -> Click "OK"
Associate with PHP text/x-php5
And you are finished.
To add the ctp extension in netbeans
Go to Tools -> Options -> Miscellaneous -> Files
then click on "New" -> Type in ctp -> Click "OK"
After "Associated File Type (MIME)" -> select (text/x-php5) -> Click "OK"
You could install plugin PHP CakePHP Framework and enable it for desired projects.
Create an empty file and then put your desired extension.
精彩评论