1、安装与激活
http://www.zendstudio.net/或者自行搜索
2、字体、颜色、快捷键设置
请参考这篇文章:http://www.myhack58.com/Article/68/2014/45351.htm
3、修改PHP新建文件时的默认模板
进入Window-->preferences(偏好设置)-->PHP -->Code Templates-->Simple php file点击右上角的edit,编辑模板,如下图:
编辑模板的时候还可以添加相应的变量,我常用的一个模板如下:
<?php
/**
* @desc
* @author xxx <xxx@xx.com>
* @date ${date} ${time}
*/
4、修改文件编码
将以下两项修改为utf8或自己需要的编码即可
windows->preference->General->workplace-->text file encoding
windows->preference->General->Editors->Text Editors->Spelling
5、修改编码区主题和颜色
(1)简单的方法
进入help-->install new software..
然后点add,在location中输入以下网址:http://eclipse-color-theme.github.com/update/,确定,下方会出现eclipse color theme,next-->accecpt-->ok-->finish即可,完成之后进入windows->preference->General->appearance-->color theme就可以更换自己喜欢的主题了
(2)自定义相关颜色
进入windows-->preferences-->general-->editors-->text editors下方的框框里自定义相关颜色即可,同理进入PHP和web-->html分别定义php代码和html代码颜色
我自己定义的一套黑色模板:http://download.youkuaiyun.com/detail/likunlun1234/8161823