Discuz教程网

phpCodeBeautifier phpCB editplus php代码美化 php调试环境

[复制链接]
authicon dly 发表于 2012-8-1 16:20:31 | 显示全部楼层 |阅读模式
c风格
--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)"
c++风格
--space-after-if --optimize-eol --space-after-switch --space-after-while --space-before-start-angle-bracket --space-after-end-angle-bracket --one-true-brace-function-declaration --one-true-brace --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)"
主要区别
--one-true-brace-function-declaration --one-true-brace
去掉}后边空格请在上面配置中删除
--space-after-end-angle-bracket
去掉$this -> var内的空格请在上面配置中添加
--glue-arrow

我在UE里用的:
  1. C:\UltraEdit\phpCB.exe --equal-align-position 50 --padding-char-count 4 --space-after-switch --space-after-while --glue-amperscore --force-large-php-code-tag --comment-rendering-style PEAR --extra-padding-for-case-statement --optimize-eol --glue-arrow --align-equal-statements --change-shell-comment-to-double-slashes-comment --space-before-start-angle-bracket --force-true-false-null-contant-lowercase %f
复制代码




上一篇:[转帖] 由psp破解谈到中国伸手党式网民的心理
下一篇:Ultraedit结合phpCodeBeautifier格式化PHP代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-5-2 07:15

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表