waterpoof的phpcb.exe (php code beautifier) 如何在scite中使用

11 views
Skip to first unread message

chenboye

unread,
Jul 6, 2008, 1:03:10 AM7/6/08
to SciTE研究 - 中文小组
我在xp环境下的scite中用如下命令实现的了php代码美化,但是结果并不是用美化后的结果代码更新编辑窗口里原来的内容,而是在结果窗口
(output)中出现了美化后的结果.请问应当如何解决这个问题.


command.build.$(file.patterns.php)=$(SciteDefaultHome)\phpcb\phpcb.exe
--space-after-start-bracket --space-before-end-bracket --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 $(FileNameExt)

Danwu Hou

unread,
Jul 6, 2008, 11:03:48 AM7/6/08
to scit...@googlegroups.com
可能是command.build是一个内置的操作,会自动把输出内容重定向到结果窗口(output pane)的
或许应该用一个自定以的command来做,应该可以做到把command结果替换当前内容的

2008/7/6 chenboye <chen...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages