Mercurial > hg > forks > UniversalIndentGUI
view indenters/uigui_phpCB.ini @ 463:cd6ca4a1dc2b
[add] Feature Request ID 1971206 : Now showing by the indenter supported programming languages next to indenter name.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@700 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Mon, 26 May 2008 09:47:23 +0000 |
parents | fc20f90fe609 |
children | ce6cd144159d |
line wrap: on
line source
[%20header] categories=General cfgFileParameterEnding=" " configFilename= fileTypes=*.php|*.htm|*.html|*.xhtml indenterFileName=phpCB indenterName=PHP Code Beautifier (PHP) inputFileName=indentinput inputFileParameter= manual=http://www.waterproof.fr/products/phpCodeBeautifier/manual.php outputFileName= outputFileParameter=stdout parameterOrder=pio showHelpParameter=-h stringparaminquotes=false useCfgFileParameter= version=2007-02-21 [Align%20all%20assignement%20statements] Category=0 Description=<html>Align all assignement statements</html> EditorType=boolean TrueFalse=--align-equal-statements| Value=1 ValueDefault=1 [Align%20all%20assignement%20statements%20to%20a%20fixed%20position] CallName="--align-equal-statements-to-fixed-pos " Category=0 Description="<html>Align all assignement statements to a fixed position.<hr><table><thead><tr><td width='50%'>Source</td><td width='50%'>With --align-equal-statements-to-fixed-pos 40</td></tr></thead><tbody><tr><td width='50%'><pre><?php <br>$noError = true; <br>$feildEmpty = false; <br>$showMessage = false; <br>$showMessage = false; <br>$anotherVariable[0123] = 'bla bla bla'; <br>$showBlaBlaBlaMessage = false; <br>?></pre></td><td width='50%'><pre><?php <br>$noError<span> </span> = true; <br>$feildEmpty<span> </span> = false; <br>$showMessage<span> </span> = false; <br>$showMessage<span> </span> = false; <br>$anotherVariable[0123]<span> </span> = 'bla bla bla'; <br>$showBlaBlaBlaMessage<span> </span> = false; <br>?> </pre></td></tr></tbody></table></html>" EditorType=numeric Enabled=false MaxVal=60 MinVal=4 Value=30 ValueDefault=30 [Allow%20to%20insert%20a%20space%20after%20%27%28%27] Category=0 Description=<html>Allow to insert a space after start bracket '('</html> EditorType=boolean TrueFalse=--space-after-start-bracket| Value=0 ValueDefault=0 [Allow%20to%20insert%20a%20space%20after%20%27if%27] Category=0 Description=<html>Allow to insert a space after 'if' keyword</html> EditorType=boolean TrueFalse=--space-after-if| Value=1 ValueDefault=1 [Allow%20to%20insert%20a%20space%20after%20%27switch%27] Category=0 Description=<html>Allow to insert a space after 'switch' keyword</html> EditorType=boolean TrueFalse=--space-after-switch| Value=1 ValueDefault=1 [Allow%20to%20insert%20a%20space%20after%20%27while%27] Category=0 Description=<html>Allow to insert a space after 'while' keyword</html> EditorType=boolean TrueFalse=--space-after-while| Value=1 ValueDefault=1 [Allow%20to%20insert%20a%20space%20after%20%27%7D%27] Category=0 Description=<html>Allow to insert a space after starting angle bracket '}'</html> EditorType=boolean TrueFalse=--space-after-end-angle-bracket| Value=1 ValueDefault=1 [Allow%20to%20insert%20a%20space%20before%20%27%29%27] Category=0 Description=<html>Allow to insert a space before end bracket ')'</html> EditorType=boolean TrueFalse=--space-before-end-bracket| Value=0 ValueDefault=0 [Allow%20to%20insert%20a%20space%20before%20%27%7B%27] Category=0 Description=<html>Allow to insert a space before starting angle bracket '{'</html> EditorType=boolean TrueFalse=--space-before-start-angle-bracket| Value=1 ValueDefault=1 [Change%20comments] Category=0 Description="<html>Change '# ...' comments into '// ...' comments<hr><table><thead><tr><td width='33%'>Source</td><td width='33%'>With --change-shell-comment-to-double-slashes-comment</td><td width='33%'>Without --change-shell-comment-to-double-slashes-comment</td></tr></thead><tbody><tr><td width='33%'><pre><?php<br><br>#comment content<br>//another comment<br>?></pre></td><td width='33%'><pre><?php<br><br>// comment content<br>// another comment<br>?></pre></td><td width='33%'><pre><?php<br><br># comment content<br>// another comment<br>?></pre></td></tr></tbody></table></html>" EditorType=boolean TrueFalse=--change-shell-comment-to-double-slashes-comment| Value=1 ValueDefault=1 [Comment%20render%20style] Category=0 Choices="--comment-rendering-style PEAR|--comment-rendering-style PHPDoc" ChoicesReadable="PEAR comment rendering style|PHPDoc comment rendering style" Description="<html>The following style of comment formating are available:<hr><table><thead><tr><td width='50%'><b>--comment-rendering-style</b> PEAR</td><td width='50%'><b>--comment-rendering-style</b> PHPDoc</td></tr></thead><tbody><tr><td width='50%'><pre><?php<br><br>/**<br> * bla bla bla<br> *<br> * @access public<br> */<br>?></pre></td><td width='50%'><pre><?php<br><br>/**<br>* bla bla bla<br>*<br>* @access public<br>*/<br>?></pre></td></tr></tbody></table></html>" EditorType=multiple Enabled=true Value=0 ValueDefault=0 [Force%20large%20PHP%20code%20tag] Category=0 Description="<html>Change '<?' and '<%' tokens into '<?php' and '%>' into '?>'</html>" EditorType=boolean TrueFalse=--force-large-php-code-tag| Value=1 ValueDefault=1 [Glue%20%22%26%26%22%20to%20following%20item] Category=0 Description="<html>Glue '&' to following item<hr><table><thead><tr><td width='50%'>With --glue-amperscore</td><td width='50%'>Without --glue-amperscore</td></tr></thead><tbody><tr><td width='50%'><pre><?php<br>$value = &$objectInstance;<br>?></pre></td><td width='50%'><pre><?php<br>$value = & $objectInstance;<br>?></pre></td><br></tr></tbody></table></html>" EditorType=boolean TrueFalse=--glue-amperscore| Value=1 ValueDefault=1 [Increase%20padding%20before%20case%20statements] Category=0 Description="<html>Increase padding before case statements:<hr><table><thead><tr><td width='50%'>With --extra-padding-for-case-statement</td><td width='50%'>Without --extra-padding-for-case-statement</td></tr></thead><tbody><tr><td width='50%'><pre><?php<br><br>switch($condition){<br><span> </span>case 1:<br><span> </span> action1();<br><span> </span> break;<br><span> </span>case 2:<br><span> </span> action2();<br><span> </span> break;<br><span> </span>default:<br><span> </span> defaultaction();<br><span> </span> break;<br>}<br>?></pre></td><td width='50%'><pre><?php<br><br>switch($condition){<br>case 1:<br> action1();<br> break;<br>case 2:<br> action2();<br> break;<br>default:<br> defaultaction();<br> break;<br>}<br>?></pre></td></tr></tbody></table></html>" EditorType=boolean TrueFalse=--extra-padding-for-case-statement| Value=0 ValueDefault=0 [Indent%20with%20TAB] Category=0 Description="<html>If selected, tabulation (ASCII #9) character is used to indent text, elsewhere space (ASCII #32) character is used</html>" EditorType=boolean TrueFalse=--indent-with-tab| Value=0 ValueDefault=0 [Lowercase%20for%20NULL%2C%20TRUE%20and%20FALSE%20constants] Category=0 Description="<html>Lowercase for NULL, TRUE and FALSE constants as encouraged in PEAR coding standards<hr><table><thead><tr><td width='50%'>With --force-true-false-null-contant-lowercase</td><td width='50%'>Without --force-true-false-null-contant-lowercase</td></tr></thead><tbody><tr><td width='50%'><pre><?php<br>if(<strong>true</strong>){<br> if(<strong>false</strong>){<br> $value = <strong>null</strong>;<br> }<br>}<br>?></pre></td><td width='50%'><pre><?php<br>if(<strong>TRUE</strong>){<br> if(<strong>FALSE</strong>){<br> $value = <strong>NULL</strong>;<br> }<br>}<br>?></pre></td></tr></tbody></table></html>" EditorType=boolean TrueFalse=--force-true-false-null-contant-lowercase| Value=1 ValueDefault=1 [Padding%20char%20count] CallName="--padding-char-count " Category=0 Description=<html>Indent using # spaces per indent</html> EditorType=numeric Enabled=false MaxVal=8 MinVal=0 Value=4 ValueDefault=4 [Use%20%22One%20true%20brace%22%20formating%20for%20functions] Category=0 Description="<html>Use 'One true brace' formating for functions<hr><table><thead><tr><td width='50%'>With --one-true-brace-function-declaration</td><td width='50%'>Without --one-true-brace-function-declaration</td></tr></thead><tbody><tr><td width='50%'><pre><?php<br><br>function aFunction($param)<br>{<br> // function content<br>}<br>?></pre></td><td width='50%'><pre><?php<br><br>function aFunction($param) {<br> // function content<br>}<br>?></pre></td></tr></tbody></table></html>" EditorType=boolean TrueFalse=--one-true-brace-function-declaration| Value=1 ValueDefault=1