Mar012012
php下eclipse 用空格替换 tab键
本人用eclipse进行PHP项目开发,根据公司开发规范,要用4个空格替换掉tab键,详细的配置如下:
1. windows=》preferences=》general=》editors=》text editors 勾选 “insert spaces for tabs”
2. windows=》preferences=》phpeclipse=》php=》typing 勾选 “insert spaces for tabs(……)”
至此,配置完毕。
但是因为版本的不同,有些会出现这样的问题:if{ ...阅读全文
抢沙发