Adding custom templates After Zend Studio upgrade is cumbersome, the new code templates has no Add option and the import template does not take effect. To add a new custom template by modifying the software templates profile, the approximate steps are as follows:
1, find Zend Studio installation directory, and then find the plugins directory from the installation directory, from the plugins directory to find
File: 650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/8B/03/wKiom1hBK9SwsnSFAAALlZTQAeE744.png-wh_ 500x0-wm_3-wmp_4-s_2605635564.png "title=" Qq20161202160638.png "alt=" wkiom1hbk9swsnsfaaallztqaee744.png-wh_50 "/ >
2. Open the jar package above with WinRAR and other tools, find 2 files:
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8A/FF/wKioL1hBLIGDK-0fAABYndkNZGU476.png-wh_500x0-wm_3 -wmp_4-s_1189400731.png "style=" Float:none; "title=" 1.png "alt=" Wkiol1hbligdk-0faabyndknzgu476.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8B/03/wKiom1hBLIGRMSBbAAB4SlPXr7w139.png-wh_500x0-wm_3 -wmp_4-s_2353624987.png "style=" Float:none; "title=" 2.png "alt=" Wkiom1hbligrmsbbaab4slpxr7w139.png-wh_50 "/>
3, the 2 files are extracted and modified, referring to the contents of other templates inside the template to add their own content can be;
4. After the two files have been modified and saved, drag directly into the WinRAR open jar file and overwrite the original corresponding 2 files.
5. Reopen Zend Studio, then Window-preferences-php-code Syle-code to see the template you just added.
Tips:1, the operation is closed Zend Studio, 2, modify the file is recommended to use notepad++ or editplus, such as the software to open; 3. You do not have to add templates to the specific code, copy the existing template code, modify the ID, Name and description, the specific code can be added to the template after the success in Zend Studio to find their own added templates, and then modify, add the code you need to
This article is from the "Cbird" blog, make sure to keep this source http://benjia.blog.51cto.com/2049577/1878910
Zend Studio version 13.5 add php custom code templates method