1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268
|
[%20header]
categories=Predefined Style|Tab and Bracket|Indentation|Formatting
cfgFileParameterEnding=cr
configFilename=.astylerc
fileTypes=*.cpp|*.c|*.h|*.hpp|*.cs|*.java
indenterFileName=astyle
indenterName=Artistic Style
inputFileName=indentinput
inputFileParameter=
manual=http://astyle.sourceforge.net/astyle.html
outputFileName=indentinput
outputFileParameter=none
parameterOrder=ipo
showHelpParameter=-h
stringparaminquotes=false
useCfgFileParameter="--options="
version=1.21
[bracket%20style]
Category=1
Choices="--brackets=break|--brackets=attach|--brackets=linux"
ChoicesReadable=Break brackets|Attach brackets|Break brackets Linux like
Description=<html>Sets the bracket style.</html>
EditorType=multiple
Enabled=false
Value=0
ValueDefault=0
[brackets%3Dbreak-closing]
Category=1
Description=<html>Breaks closing headers from their immediately preceding closing brackets.</html>
EditorType=boolean
TrueFalse="--brackets=break-closing|"
Value=0
ValueDefault=0
[break-blocks]
Category=3
Description=<html>Pad empty lines around header blocks (e.g. 'if' 'while'...). Be sure to read the Supplemental Documentation before using this option.</html>
EditorType=boolean
TrueFalse=--break-blocks|
Value=0
ValueDefault=0
[break-blocks-all]
Category=3
Description=<html>Pad empty lines around header blocks (e.g. 'if' 'while'...). Treat closing header blocks (e.g. 'else' 'catch') as stand-alone blocks. Be sure to read the Supplemental Documentation before using this option.</html>
EditorType=boolean
TrueFalse="--break-blocks=all|"
Value=0
ValueDefault=0
[break-elseifs]
Category=3
Description=<html>Break 'else if()' header combinations into separate lines.</html>
EditorType=boolean
TrueFalse=--break-elseifs|
Value=0
ValueDefault=0
[convert-tabs]
Category=3
Description=<html>Converts tabs into single spaces.</html>
EditorType=boolean
TrueFalse=--convert-tabs|
Value=0
ValueDefault=0
[fill-empty-lines]
Category=3
Description=<html>Fill empty lines with the white space of the previous line</html>
EditorType=boolean
TrueFalse=--fill-empty-lines|
Value=0
ValueDefault=0
[force%20indent%20tab]
CallName="--force-indent=tab="
Category=1
Description="<html>Indent using tab characters. Uses tabs as indents where --indent=tab prefers to use spaces such as inside multi-line statements. </html>"
EditorType=numeric
Enabled=false
MaxVal=20
MinVal=2
Value=4
ValueDefault=4
[indent%20blocks]
Category=2
Description=<html>Add extra indentation to entire blocks.</html>
EditorType=boolean
TrueFalse=--indent-blocks|
Value=0
ValueDefault=0
[indent%20brackets]
Category=2
Description=<html>Add extra indentation to brackets.</html>
EditorType=boolean
TrueFalse=--indent-brackets|
Value=0
ValueDefault=0
[indent%20cases]
Category=2
Description=<html>Indent 'case X:' blocks from the 'case X:' headers. Case statements not enclosed in blocks are NOT indented.</html>
EditorType=boolean
TrueFalse=--indent-cases|
Value=0
ValueDefault=0
[indent%20classes]
Category=2
Description=<html>Indent 'class' blocks so that the headers 'public:' 'protected:' and 'private:' are indented in the class block.</html>
EditorType=boolean
TrueFalse=--indent-classes|
Value=0
ValueDefault=0
[indent%20lables]
Category=2
Description=<html>Add extra indentation to labels so they appear 1 indent less than the current indentation rather than being flushed to the left (the default).</html>
EditorType=boolean
TrueFalse=--indent-labels|
Value=0
ValueDefault=0
[indent%20namespaces]
Category=2
Description=<html>Add extra indentation to namespaces.</html>
EditorType=boolean
TrueFalse=--indent-namespaces|
Value=0
ValueDefault=0
[indent%20preprocessor]
Category=2
Description=<html>Indent multi-line preprocessor definitions. should be used with --convert-tabs for proper results. Does a pretty good job but can not perform miracles in obfuscated preprocessor definitions.</html>
EditorType=boolean
TrueFalse=--indent-preprocessor|
Value=0
ValueDefault=0
[indent%20spaces]
CallName="--indent=spaces="
Category=1
Description=<html>Indent using # spaces per indent</html>
EditorType=numeric
Enabled=false
MaxVal=20
MinVal=2
Value=4
ValueDefault=4
[indent%20switches]
Category=2
Description=<html>Indent 'switch' blocks so that the 'case X:' headers are indented in the switch block.</html>
EditorType=boolean
TrueFalse=--indent-switches|
Value=0
ValueDefault=0
[indent%20tab]
CallName="--indent=tab="
Category=1
Description=<html>Indent using tab characters. Treat each tab as # spaces</html>
EditorType=numeric
Enabled=false
MaxVal=20
MinVal=2
Value=4
ValueDefault=4
[max-instatement-indent]
CallName="--max-instatement-indent="
Category=2
Description=<html>Indent a maximum of # spaces in a continuous statement relative to the previous line.</html>
EditorType=numeric
Enabled=false
MaxVal=79
MinVal=0
Value=40
ValueDefault=40
[min-conditional-indent]
CallName="--min-conditional-indent="
Category=2
Description=<html>Set the minimal indent that is added when a header is built of multiple-lines. This indent makes helps to easily separate the header from the command statements that follow. The default setting for this option is twice the current indent.</html>
EditorType=numeric
Enabled=false
MaxVal=39
MinVal=0
Value=8
ValueDefault=8
[one-line-keep-blocks]
Category=3
Description=<html>Don't break one-line blocks</html>
EditorType=boolean
TrueFalse="--one-line=keep-blocks|"
Value=0
ValueDefault=0
[one-line-keep-statements]
Category=3
Description=<html>Don't break complex statements and multiple statements residing on a single line.</html>
EditorType=boolean
TrueFalse="--one-line=keep-statements|"
Value=0
ValueDefault=0
[override-language]
Category=3
Choices="--mode=c|--mode=java"
Description=<html>Indent a C or C++ or Java file. The option is set from the file extension for each file. You can override the setting with this entry. It allows the formatter to identify language specific syntax such as C classes and C templates.</html>
EditorType=multiple
Enabled=false
Value=0
ValueDefault=0
[pad-oper]
Category=3
Description=<html>Insert space padding around operators. Operators inside brackets [] are not padded. Note that there is no option to unpad. Once padded they stay padded.</html>
EditorType=boolean
TrueFalse="--pad=oper|"
Value=0
ValueDefault=0
[pad-paren]
Category=3
Description=<html>Insert space padding around parenthesis on both the outside and the inside.</html>
EditorType=boolean
TrueFalse="--pad=paren|"
Value=0
ValueDefault=0
[pad-paren-in]
Category=3
Description="<html>Insert space padding around parenthesis on the inside only. This can be used with unpad=paren below to remove unwanted spaces.</html>"
EditorType=boolean
TrueFalse="--pad=paren-in|"
Value=0
ValueDefault=0
[pad-paren-out]
Category=3
Description="<html>Insert space padding around parenthesis on the outside only. This can be used with unpad=paren below to remove unwanted spaces.</html>"
EditorType=boolean
TrueFalse="--pad=paren-out|"
Value=0
ValueDefault=0
[predefined%20style]
Category=0
Choices="--style=ansi|--style=gnu|--style=java|--style=kr|--style=linux"
Description=<html>Sets the general style.</html>
EditorType=multiple
Enabled=false
Value=3
ValueDefault=3
[unpad-paren]
Category=3
Description="<html>Remove space padding around parenthesis on the inside and outside. Can be used in combination with the paren padding options pad=paren-out and pad=paren-in above. Only padding that has not been requested by other options will be removed.</html>"
EditorType=boolean
TrueFalse="--unpad=paren|"
Value=0
ValueDefault=0
|