问题
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!
回答1:
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.
回答2:
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"
回答3:
You could install plugin PHP CakePHP Framework and enable it for desired projects.
回答4:
Create an empty file and then put your desired extension.
来源:https://stackoverflow.com/questions/2711366/how-i-add-ctp-extension-in-netbeans