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 <[email protected]>
* @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.csdn.net/detail/likunlun1234/8161823