Mercurial > hg > forks > UniversalIndentGUI
changeset 51:621d84ece6fc
Basic info for Uncrustify added.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@208 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Fri, 02 Feb 2007 14:12:28 +0000 |
parents | 4e7aaa3b07f8 |
children | bcd459687433 |
files | data/uigui_uncrustify.ini |
diffstat | 1 files changed, 148 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/uigui_uncrustify.ini Fri Feb 02 14:12:28 2007 +0000 @@ -0,0 +1,148 @@ +[%20header] +categories=General|Indenting|Spacing|Code alignment|Newline adding and removing|Positioning|Blank line|Code modifying (non-whitespace)|Comments|Preprocessor +cfgFileParameterEnding=cr +configFilename=uncrustify.cfg +fileTypes=*.cpp|*.c|*.h|*.hpp|*.cs|*.d|*.java|*.pawn +indenterFileName=uncrustify +indenterName=Uncrustify +inputFileName=indentinput +inputFileParameter="-f " +outputFileName=indentoutput +outputFileParameter="-o " +stringparaminquotes=false +useCfgFileParameter="-c " + +[Ascii_Chars_Only] +Category=2 +Description=<html>Setting this parameter to yes will strip any non-printable non-ASCII characters from the input file. Any non-printable characters that lie within quotes will be transformed into octal/character notation if NonAscii_Quotes_To_Octal is set to True. Comment out this parameter if you are using Leave_Graphic_Chars parameter as this parameter will override it.</html> +EditorType=boolean +TrueFalse="ascii_chars_only=yes|ascii_chars_only=no" +Value=1 +ValueDefault=1 + +[Backup_File] +Category=2 +Description=<html>This option will backup the input file to a file with the extension .bac and overwrite the input file with the reformatted version.</html> +EditorType=boolean +TrueFalse="backup_file=yes|backup_file=no" +Value=0 +ValueDefault=0 + +[Comments_With_Code] +CallName="comments_with_code=" +Category=1 +Description=<html>Defines the column in which comments that appear after code on a line will be placed.</html> +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=0 +Value=50 +ValueDefault=50 + +[Comments_With_Nocode] +CallName="comments_with_nocode=" +Category=1 +Description=<html>Defines the column in which comments that appear in a line will be placed.</html> +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=0 +Value=0 +ValueDefault=0 + +[Function_Spacing] +CallName="function_spacing=" +Category=0 +Description=<html>This parameter specifies how many lines separate two functions.</html> +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=0 +Value=2 +ValueDefault=2 + +[Indent_Exec_Sql] +Category=0 +Description=<html>If true bcpp looks for embedded SQL statements (e.g. EXEC SQL) and formats them specially.</html> +EditorType=boolean +TrueFalse="indent_exec_sql=yes|indent_exec_sql=no" +Value=0 +ValueDefault=0 + +[Indent_Preprocessor] +Category=0 +Description=<html>If true bcpp will indent preprocessor lines to the indention of the C(++) code. If false preprocessor lines will be in the first column. Unrecognized (i.e. nonstandard) preprocessor lines are always put into the first column.</html> +EditorType=boolean +TrueFalse="indent_preprocessor=yes|indent_preprocessor=no" +Value=0 +ValueDefault=0 + +[Indent_Spacing] +CallName="indent_spacing=" +Category=0 +Description=<html>Specifies how many spaces to indent. This parameter also sets the width of tabs. Bcpp considers the width of a tab to be the same as the width of an indent.</html> +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=0 +Value=4 +ValueDefault=4 + +[Leave_Comments_NoCode] +Category=1 +Description=<html>This options overrides the Comments_With_Nocodeoption. Setting this option On will indent comments that do not occur on the same line as code to the same indention as code. </html> +EditorType=boolean +TrueFalse="leave_comments_nocode=yes|leave_comments_nocode=no" +Value=0 +ValueDefault=0 + +[Leave_Graphic_Chars] +Category=2 +Description=<html>Setting this parameter to yes will strip non-printable characters from the source file but leave any characters that are IBM graphics alone. Any non-printable characters that lie within quotes will be transformed into octal/character notation if NonAscii_Quotes_To_Octal parameter is set to True.</html> +EditorType=boolean +TrueFalse="leave_graphic_chars=yes|leave_graphic_chars=no" +Value=1 +ValueDefault=1 + +[NonAscii_Quotes_To_Octal] +Category=2 +Description=<html>se this option to change non-ASCII (non-printable) chars to octal notation if they lie within quotes. This parameter doesn't take effect unless either the Ascii_Chars_Only or Leave_Graphic_Chars parameters have been set.</html> +EditorType=boolean +TrueFalse="nonascii_quotes_to_octal=yes|nonascii_quotes_to_octal=no" +Value=0 +ValueDefault=0 + +[Place_Brace_On_New_Line] +Category=0 +Description=<html>When set to 'on' bcpp will place opening braces on new lines (Pascalstyle C coding) when set to 'off' bcpp will use K&Rstyle C coding.</html> +EditorType=boolean +TrueFalse="place_brace_on_new_line=yes|place_brace_on_new_line=no" +Value=1 +ValueDefault=1 + +[Program_Output] +Category=2 +Description=<html>This parameter will stop output from the program corrupting output that may exit from the program via the standard output. If this parameter is set to off/no then no output is generated from the program unless an error is encountered. The standard error is used to display any errors encountered while processing.</html> +EditorType=boolean +TrueFalse="program_output=yes|program_output=no" +Value=0 +ValueDefault=0 + +[Queue_Buffer] +CallName="queue_buffer=" +Category=2 +Description=<html>Specifies what the internal memory requires will be in size of the line processing buffer. This is used for open brace relocation in Kernighan/Ritchie style. Extending this buffer to large amounts of memory will slow processing on small machines.</html> +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=0 +Value=2 +ValueDefault=2 + +[Use_Tabs] +Category=0 +Description=<html>Specifies whether to use tabs in indenting code.</html> +EditorType=boolean +TrueFalse="use_tabs=yes|use_tabs=no" +Value=0 +ValueDefault=0