~ubuntu-branches/debian/jessie/universalindentgui/jessie

« back to all changes in this revision

Viewing changes to indenters/uigui_phpCB.ini

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-04-29 10:50:58 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090429105058-7xj26rwxxnir1tr7
Tags: 1.0.2-1
* New upstream release:
  - The default editor font type is now Monospace instead of Courier.
    (Closes: #483873)
* Add 01_disable_check_for_update.diff patch:
  Automatic check for update is disabled by default. (Closes: #514999)
* Bump debian/compat to 7.
* Update debian/control:
  - Set Thomas Schweitzer as maintainer and myself as uploader.
    (Closes: #483068)
  - Bump debhelper build-dependency to 7.
  - Bump Standards-Version to 3.8.1. No changes needed.
  - Update recommended beautifier list.
  - Update description to list all supported beautifiers.
* Update debian/copyright:
  - Add PerlTidy.pm and JsDecoder.js missing copyrights.
* Cleanup debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[%20header]
 
1
[header]
2
2
categories=General
3
3
cfgFileParameterEnding=" "
4
4
configFilename=
5
5
fileTypes=*.php|*.htm|*.html|*.xhtml
6
6
indenterFileName=phpCB
7
 
indenterName=PHP Code Beautifier
 
7
indenterName=PHP Code Beautifier (PHP)
8
8
inputFileName=indentinput
9
9
inputFileParameter=
10
10
manual=http://www.waterproof.fr/products/phpCodeBeautifier/manual.php
16
16
useCfgFileParameter=
17
17
version=2007-02-21
18
18
 
19
 
[Align%20all%20assignement%20statements]
 
19
[Align all assignement statements]
20
20
Category=0
21
21
Description=<html>Align all assignement statements</html>
22
22
EditorType=boolean
23
23
TrueFalse=--align-equal-statements|
24
 
Value=1
25
24
ValueDefault=1
26
25
 
27
 
[Align%20all%20assignement%20statements%20to%20a%20fixed%20position]
 
26
[Align all assignement statements to a fixed position]
28
27
CallName="--align-equal-statements-to-fixed-pos "
29
28
Category=0
30
29
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>&lt;?php <br>$noError = true; <br>$feildEmpty = false; <br>$showMessage = false; <br>$showMessage = false; <br>$anotherVariable[0123] = 'bla bla bla'; <br>$showBlaBlaBlaMessage = false; <br>?&gt;</pre></td><td width='50%'><pre>&lt;?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>?&gt; </pre></td></tr></tbody></table></html>"
32
31
Enabled=false
33
32
MaxVal=60
34
33
MinVal=4
35
 
Value=30
36
34
ValueDefault=30
37
35
 
38
 
[Allow%20to%20insert%20a%20space%20after%20%27%28%27]
 
36
[Allow to insert a space after '(']
39
37
Category=0
40
38
Description=<html>Allow to insert a space after start bracket '('</html>
41
39
EditorType=boolean
42
40
TrueFalse=--space-after-start-bracket|
43
 
Value=0
44
41
ValueDefault=0
45
42
 
46
 
[Allow%20to%20insert%20a%20space%20after%20%27if%27]
 
43
[Allow to insert a space after 'if']
47
44
Category=0
48
45
Description=<html>Allow to insert a space after 'if' keyword</html>
49
46
EditorType=boolean
50
47
TrueFalse=--space-after-if|
51
 
Value=1
52
48
ValueDefault=1
53
49
 
54
 
[Allow%20to%20insert%20a%20space%20after%20%27switch%27]
 
50
[Allow to insert a space after 'switch']
55
51
Category=0
56
52
Description=<html>Allow to insert a space after 'switch' keyword</html>
57
53
EditorType=boolean
58
54
TrueFalse=--space-after-switch|
59
 
Value=1
60
55
ValueDefault=1
61
56
 
62
 
[Allow%20to%20insert%20a%20space%20after%20%27while%27]
 
57
[Allow to insert a space after 'while']
63
58
Category=0
64
59
Description=<html>Allow to insert a space after 'while' keyword</html>
65
60
EditorType=boolean
66
61
TrueFalse=--space-after-while|
67
 
Value=1
68
62
ValueDefault=1
69
63
 
70
 
[Allow%20to%20insert%20a%20space%20after%20%27%7D%27]
 
64
[Allow to insert a space after '}']
71
65
Category=0
72
66
Description=<html>Allow to insert a space after starting angle bracket '}'</html>
73
67
EditorType=boolean
74
68
TrueFalse=--space-after-end-angle-bracket|
75
 
Value=1
76
69
ValueDefault=1
77
70
 
78
 
[Allow%20to%20insert%20a%20space%20before%20%27%29%27]
 
71
[Allow to insert a space before ')']
79
72
Category=0
80
73
Description=<html>Allow to insert a space before end bracket ')'</html>
81
74
EditorType=boolean
82
75
TrueFalse=--space-before-end-bracket|
83
 
Value=0
84
76
ValueDefault=0
85
77
 
86
 
[Allow%20to%20insert%20a%20space%20before%20%27%7B%27]
 
78
[Allow to insert a space before '{']
87
79
Category=0
88
80
Description=<html>Allow to insert a space before starting angle bracket '{'</html>
89
81
EditorType=boolean
90
82
TrueFalse=--space-before-start-angle-bracket|
91
 
Value=1
92
83
ValueDefault=1
93
84
 
94
 
[Change%20comments]
 
85
[Change comments]
95
86
Category=0
96
87
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>&lt;?php<br><br>#comment content<br>//another comment<br>?&gt;</pre></td><td width='33%'><pre>&lt;?php<br><br>// comment content<br>// another comment<br>?&gt;</pre></td><td width='33%'><pre>&lt;?php<br><br># comment content<br>// another comment<br>?&gt;</pre></td></tr></tbody></table></html>"
97
88
EditorType=boolean
98
89
TrueFalse=--change-shell-comment-to-double-slashes-comment|
99
 
Value=1
100
90
ValueDefault=1
101
91
 
102
 
[Comment%20render%20style]
 
92
[Comment render style]
103
93
Category=0
104
94
Choices="--comment-rendering-style PEAR|--comment-rendering-style PHPDoc"
105
95
ChoicesReadable="PEAR comment rendering style|PHPDoc comment rendering style"
106
96
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>&lt;?php<br><br>/**<br> * bla bla bla<br> *<br> * @access public<br> */<br>?&gt;</pre></td><td width='50%'><pre>&lt;?php<br><br>/**<br>* bla bla bla<br>*<br>* @access public<br>*/<br>?&gt;</pre></td></tr></tbody></table></html>"
107
97
EditorType=multiple
108
98
Enabled=true
109
 
Value=0
110
99
ValueDefault=0
111
100
 
112
 
[Force%20large%20PHP%20code%20tag]
 
101
[Force large PHP code tag]
113
102
Category=0
114
103
Description="<html>Change '&lt;?' and '&lt;%' tokens into '&lt;?php' and '%&gt;' into '?&gt;'</html>"
115
104
EditorType=boolean
116
105
TrueFalse=--force-large-php-code-tag|
117
 
Value=1
118
106
ValueDefault=1
119
107
 
120
 
[Glue%20%22%26%26%22%20to%20following%20item]
 
108
[Glue "&&" to following item]
121
109
Category=0
122
110
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>&lt;?php<br>$value = &amp;$objectInstance;<br>?&gt;</pre></td><td width='50%'><pre>&lt;?php<br>$value = &amp; $objectInstance;<br>?&gt;</pre></td><br></tr></tbody></table></html>"
123
111
EditorType=boolean
124
112
TrueFalse=--glue-amperscore|
125
 
Value=1
126
113
ValueDefault=1
127
114
 
128
 
[Increase%20padding%20before%20case%20statements]
 
115
[Increase padding before case statements]
129
116
Category=0
130
117
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>&lt;?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>?&gt;</pre></td><td width='50%'><pre>&lt;?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>?&gt;</pre></td></tr></tbody></table></html>"
131
118
EditorType=boolean
132
119
TrueFalse=--extra-padding-for-case-statement|
133
 
Value=0
134
120
ValueDefault=0
135
121
 
136
 
[Indent%20with%20TAB]
 
122
[Indent with TAB]
137
123
Category=0
138
124
Description="<html>If selected, tabulation (ASCII #9) character is used to indent text, elsewhere space (ASCII #32) character is used</html>"
139
125
EditorType=boolean
140
126
TrueFalse=--indent-with-tab|
141
 
Value=0
142
127
ValueDefault=0
143
128
 
144
 
[Lowercase%20for%20NULL%2C%20TRUE%20and%20FALSE%20constants]
 
129
[Lowercase for NULL, TRUE and FALSE constants]
145
130
Category=0
146
131
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>&lt;?php<br>if(<strong>true</strong>){<br>    if(<strong>false</strong>){<br>        $value = <strong>null</strong>;<br>    }<br>}<br>?&gt;</pre></td><td width='50%'><pre>&lt;?php<br>if(<strong>TRUE</strong>){<br>    if(<strong>FALSE</strong>){<br>        $value = <strong>NULL</strong>;<br>    }<br>}<br>?&gt;</pre></td></tr></tbody></table></html>"
147
132
EditorType=boolean
148
133
TrueFalse=--force-true-false-null-contant-lowercase|
149
 
Value=1
150
134
ValueDefault=1
151
135
 
152
 
[Padding%20char%20count]
 
136
[Padding char count]
153
137
CallName="--padding-char-count "
154
138
Category=0
155
139
Description=<html>Indent using # spaces per indent</html>
157
141
Enabled=false
158
142
MaxVal=8
159
143
MinVal=0
160
 
Value=4
161
144
ValueDefault=4
162
145
 
163
 
[Use%20%22One%20true%20brace%22%20formating%20for%20functions]
 
146
[Use "One true brace" formating for functions]
164
147
Category=0
165
148
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>&lt;?php<br><br>function aFunction($param)<br>{<br>    // function content<br>}<br>?&gt;</pre></td><td width='50%'><pre>&lt;?php<br><br>function aFunction($param) {<br>    // function content<br>}<br>?&gt;</pre></td></tr></tbody></table></html>"
166
149
EditorType=boolean
167
150
TrueFalse=--one-true-brace-function-declaration|
168
 
Value=1
169
151
ValueDefault=1