# HG changeset patch # User thomas_-_s # Date 1211468258 0 # Node ID f15116853ab2deed06a7f5136392669b73cd4036 # Parent 9295d568a84e73de342448e4eb244dee306b21a9 Added support for the php indenter phpStylist version 1.0. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@685 59b1889a-e5ac-428c-b0c7-476e01d41282 diff -r 9295d568a84e -r f15116853ab2 indenters/uigui_phpStylist.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/indenters/uigui_phpStylist.ini Thu May 22 14:57:38 2008 +0000 @@ -0,0 +1,292 @@ +[%20header] +categories="General|Operators|Functions, Classes and Objects|Control Structures|Arrays and Concatenation|Comments" +cfgFileParameterEnding=" " +configFilename= +fileTypes=*.php|*.phpt|*.phps +indenterFileName=phpStylist.php +indenterName=phpStylist +inputFileName=indentinput +inputFileParameter=" " +manual=http://sourceforge.net/projects/phpstylist/ +outputFileName= +outputFileParameter=stdout +parameterOrder=ipo +showHelpParameter="-- --help" +stringparaminquotes=false +useCfgFileParameter= +version=1.0 + +[Indent size] +CallName="--indent_size " +Category=0 +Description="Indent the code with the set number of spaces." +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=0 +Value=4 +ValueDefault=4 + +[Indent with tabs] +Category=0 +Description="Indent with tabs instead of spaces" +EditorType=boolean +TrueFalse="--indent_with_tabs|" +Value=0 +ValueDefault=0 + +[Keep redundant lines] +Category=0 +Description="Keep redundant lines" +EditorType=boolean +TrueFalse="--keep_redundant_lines|" +Value=0 +ValueDefault=0 + +[Space inside parentheses] +Category=0 +Description="Space inside parentheses" +EditorType=boolean +TrueFalse="--space_inside_parentheses|" +Value=0 +ValueDefault=0 + +[Space outside parentheses] +Category=0 +Description="Space outside parentheses" +EditorType=boolean +TrueFalse="--space_outside_parentheses|" +Value=0 +ValueDefault=0 + +[Space after comma] +Category=0 +Description="Space after comma" +EditorType=boolean +TrueFalse="--space_after_comma|" +Value=0 +ValueDefault=0 + +[Space around assignment] +Category=1 +Description="Space around = .= += -= *= /= <<<" +EditorType=boolean +TrueFalse="--space_around_assignment|" +Value=0 +ValueDefault=0 + +[Align block +3 assigned variables] +Category=1 +Description="Align block +3 assigned variables" +EditorType=boolean +TrueFalse="--align_var_assignment|" +Value=0 +ValueDefault=0 + +[Space around comparison] +Category=1 +Description="Space around == === != !== > >= < <=" +EditorType=boolean +TrueFalse="--space_around_comparison|" +Value=0 +ValueDefault=0 + +[Space around arithmetic] +Category=1 +Description="Space around - + * / %" +EditorType=boolean +TrueFalse="--space_around_arithmetic|" +Value=0 +ValueDefault=0 + +[Space around logical] +Category=1 +Description="Space around && || AND OR XOR << >>" +EditorType=boolean +TrueFalse="--space_around_logical|" +Value=0 +ValueDefault=0 + +[Space around colon and question] +Category=1 +Description="Space around ? :" +EditorType=boolean +TrueFalse="--space_around_colon_question|" +Value=0 +ValueDefault=0 + +[Blank line before keyword] +Category=2 +Description="Blank line before keyword" +EditorType=boolean +TrueFalse="--line_before_function|" +Value=0 +ValueDefault=0 + +[Opening bracket on next line] +Category=2 +Description="Opening bracket on next line" +EditorType=boolean +TrueFalse="--line_before_curly_function|" +Value=0 +ValueDefault=0 + +[Blank line below opening bracket] +Category=2 +Description="Blank line below opening bracket" +EditorType=boolean +TrueFalse="--line_after_curly_function|" +Value=0 +ValueDefault=0 + +[Space around ->] +Category=2 +Description="Space around ->" +EditorType=boolean +TrueFalse="--space_around_obj_operator|" +Value=0 +ValueDefault=0 + +[Space around ::] +Category=2 +Description="Space around ::" +EditorType=boolean +TrueFalse="--space_around_double_colon|" +Value=0 +ValueDefault=0 + +[Space before parentheses] +Category=3 +Description="Space between keyword and opening parentheses" +EditorType=boolean +TrueFalse="--space_after_if|" +Value=0 +ValueDefault=0 + +[Keep else/elseif along with bracket] +Category=3 +Description="Keep else/elseif along with bracket" +EditorType=boolean +TrueFalse="--else_along_curly|" +Value=0 +ValueDefault=0 + +[Opening bracket on next line] +Category=3 +Description="Opening bracket on next line" +EditorType=boolean +TrueFalse="--line_before_curly|" +Value=0 +ValueDefault=0 + +[Add missing brackets] +Category=3 +Description="Add missing brackets to single line structs" +EditorType=boolean +TrueFalse="--add_missing_braces|" +Value=0 +ValueDefault=0 + +[Blank line after case "break"] +Category=3 +Description="Blank line after case 'break'" +EditorType=boolean +TrueFalse="--line_after_break|" +Value=0 +ValueDefault=0 + +[Space between "for" elements] +Category=3 +Description="Space between 'for' elements" +EditorType=boolean +TrueFalse="--space_inside_for|" +Value=0 +ValueDefault=0 + +[Extra indent for "Case" and "Default"] +Category=3 +Description="Extra indent for 'Case' and 'Default'" +EditorType=boolean +TrueFalse="--indent_case|" +Value=0 +ValueDefault=0 + +[Opening array parentheses on next line] +Category=4 +Description="Opening array parentheses on next line" +EditorType=boolean +TrueFalse="--line_before_array|" +Value=0 +ValueDefault=0 + +[Non-empty arrays as vertical block] +Category=4 +Description="Non-empty arrays as vertical block" +EditorType=boolean +TrueFalse="--vertical_array|" +Value=0 +ValueDefault=0 + +[Align block +3 assigned array elements] +Category=4 +Description="Align block +3 assigned array elements" +EditorType=boolean +TrueFalse="--align_array_assignment|" +Value=0 +ValueDefault=0 + +[Space around double arrow] +Category=4 +Description="Space around double arrow" +EditorType=boolean +TrueFalse="--space_around_double_arrow|" +Value=0 +ValueDefault=0 + +[Concatenation as vertical block] +Category=4 +Description="Concatenation as vertical block" +EditorType=boolean +TrueFalse="--vertical_concat|" +Value=0 +ValueDefault=0 + +[Space around concat elements] +Category=4 +Description="Space around concat elements" +EditorType=boolean +TrueFalse="--space_around_concat|" +Value=0 +ValueDefault=0 + +[Blank line before multi-line comment] +Category=5 +Description="Blank line before multi-line comment (/*)" +EditorType=boolean +TrueFalse="--line_before_comment_multi|" +Value=0 +ValueDefault=0 + +[Blank line after multi-line comment] +Category=5 +Description="Blank line after multi-line comment (/*)" +EditorType=boolean +TrueFalse="--line_after_comment_multi|" +Value=0 +ValueDefault=0 + +[Blank line before single line comments] +Category=5 +Description="Blank line before single line comments (//)" +EditorType=boolean +TrueFalse="--line_before_comment|" +Value=0 +ValueDefault=0 + +[Blank line after single line comments] +Category=5 +Description="Blank line after single line comments (//)" +EditorType=boolean +TrueFalse="--line_after_comment|" +Value=0 +ValueDefault=0