开发辅助

关注公众号 jb51net

关闭
phpCB php代码格式化工具(附详细配置方法)

phpCB php代码格式化工具(附详细配置方法)

热门排行

简介

整合PHPCB到EditPlus:
EidtPlus:工具》配置用户工具…》添加工具:
菜单文本:PHPCB
命令:浏览到PHPCB程序。
参数:--space-after-if --optimize-eol --space-after-switch --space-after-while --space-before-start-angle-bracket --space-after-end-angle-bracket --extra-padding-for-case-statement --glue-amperscore --change-shell-comment-to-double-slashes-comment --indent-with-tab --force-large-php-code-tag --force-true-false-null-contant-lowercase --comment-rendering-style PEAR --equal-align-position 50 --padding-char-count 1 "$(FilePath)"
初始目录:$(FileDir)
打勾:“以文本筛选器运行”,下拉选择“替换”
“应用”按钮。

php格式化代码的就是phpCB最强大了
虽然eclipse有自带的ctrl+shift+f格式化代码可惜偶用不了
TNND的没有办法只能找国外的格式化工具了
刚拿到用phpCB test.php > index.php这样格式化就OK了 挺不错
但是用命令行去操作真的是很不舒服!~本人喜欢用editpus编辑工具嘿嘿 所以就把它集成到editplus里面了
操作也就那样添加即可 截个图当说明吧

大家还下载了