Mercurial > hg > forks > UniversalIndentGUI
changeset 14:d53365cbe238
[add] All parameters of GNU Indent have been added.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@171 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Thu, 19 Oct 2006 08:08:45 +0000 |
parents | df9e8d3c040e |
children | 706308e7edc0 |
files | data/uigui_gnuindent.ini |
diffstat | 1 files changed, 537 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/data/uigui_gnuindent.ini Wed Oct 18 20:28:30 2006 +0000 +++ b/data/uigui_gnuindent.ini Thu Oct 19 08:08:45 2006 +0000 @@ -1,5 +1,5 @@ [%20header] -categories=General|Blank lines|Comments +categories=General|Blank lines|Comments|Statements|Declarations|Indentation|Breaking long lines cfgFileParameterEnding=cr configFilename=.indent.pro fileTypes=*.c|*.h @@ -33,6 +33,22 @@ Description=<html>Kernighan&Ritchie style formatting/indenting.</html> EditorType=boolean TrueFalse=-kr| +Value=1 +ValueDefault=0 + +[blank-before-sizeof] +Category=3 +Description=<html>Put a space between sizeof and its argument.</html> +EditorType=boolean +TrueFalse=-bs| +Value=0 +ValueDefault=0 + +[blank-lines-after-commas] +Category=4 +Description=<html>Force newline after comma in declaration.</html> +EditorType=boolean +TrueFalse=-bc| Value=0 ValueDefault=0 @@ -51,3 +67,523 @@ TrueFalse=-bap| Value=0 ValueDefault=0 + +[blank-lines-before-block-comments] +Category=1 +Description=<html>Force blank lines before block comments.</html> +EditorType=boolean +TrueFalse=-bbb| +Value=0 +ValueDefault=0 + +[brace-indentn] +CallName=-bli +Category=3 +Description=<html>Indent braces n spaces.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=3 +ValueDefault=3 + +[braces-after-if-line] +Category=3 +Description="<html>Put braces on line after if, etc.</html>" +EditorType=boolean +TrueFalse=-bl| +Value=0 +ValueDefault=0 + +[braces-after-struct-decl-line] +Category=4 +Description=<html>Put braces on the line after struct declaration lines.</html> +EditorType=boolean +TrueFalse=-bls| +Value=0 +ValueDefault=0 + +[braces-on-if-line] +Category=3 +Description="<html>Put braces on line with if, etc.</html>" +EditorType=boolean +TrueFalse=-br| +Value=0 +ValueDefault=0 + +[braces-on-struct-decl-line] +Category=4 +Description=<html>Put braces on struct declaration line.</html> +EditorType=boolean +TrueFalse=-brs| +Value=0 +ValueDefault=0 + +[break-after-boolean-operator] +Category=6 +Description=<html>Do not prefer to break long lines before boolean operators.</html> +EditorType=boolean +TrueFalse=-nbbo| +Value=0 +ValueDefault=0 + +[break-before-boolean-operator] +Category=6 +Description=<html>Prefer to break long lines before boolean operators.</html> +EditorType=boolean +TrueFalse=-bbo| +Value=0 +ValueDefault=0 + +[break-function-decl-args] +Category=4 +Description=<html>Break the line after the last argument in a declaration.</html> +EditorType=boolean +TrueFalse=-bfde| +Value=0 +ValueDefault=0 + +[case-brace-indentationn] +CallName=-cbi +Category=3 +Description=<html>Indent braces after a case label N spaces.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=4 +ValueDefault=4 + +[case-indentationn] +CallName=-cli +Category=3 +Description=<html>Case label indent of n spaces.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=4 +ValueDefault=4 + +[comment-delimiters-on-blank-lines] +Category=2 +Description=<html>Put comment delimiters on blank lines.</html> +EditorType=boolean +TrueFalse=-cdb| +Value=0 +ValueDefault=0 + +[comment-indentationn] +CallName=-c +Category=2 +Description=<html>Put comments to the right of code in column n.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=33 +ValueDefault=33 + +[comment-line-lengthn] +CallName=-lc +Category=2 +Description=<html>Set maximum line length for comment formatting to n.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=1 +Value=78 +ValueDefault=78 + +[continuation-indentationn] +CallName=-ci +Category=3 +Description=<html>Continuation indent of n spaces.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=4 +ValueDefault=4 + +[continue-at-parentheses] +Category=5 +Description=<html>Line up continued lines at parentheses.</html> +EditorType=boolean +TrueFalse=-lp| +Value=0 +ValueDefault=0 + +[cuddle-do-while] +Category=2 +Description="<html>Cuddle while of do {} while; and preceeding `}'.</html>" +EditorType=boolean +TrueFalse=-cdw| +Value=0 +ValueDefault=0 + +[cuddle-else] +Category=2 +Description=<html>Cuddle else and preceeding `}'.</html> +EditorType=boolean +TrueFalse=-ce| +Value=0 +ValueDefault=0 + +[declaration-comment-columnn] +CallName=-cd +Category=2 +Description=<html>Put comments to the right of the declarations in column n.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=33 +ValueDefault=33 + +[declaration-indentationn] +CallName=-di +Category=4 +Description=<html>Put variables in column n.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=4 +ValueDefault=4 + +[dont-break-function-decl-args] +Category=4 +Description=<html>Don't put each argument in a function declaration on a seperate line.</html> +EditorType=boolean +TrueFalse=-nbfda| +Value=0 +ValueDefault=0 + +[dont-break-procedure-type] +Category=4 +Description=<html>Put the type of a procedure on the same line as its name.</html> +EditorType=boolean +TrueFalse=-npsl| +Value=0 +ValueDefault=0 + +[dont-cuddle-do-while] +Category=3 +Description="<html>Do not cuddle } and the while of a do {} while;.</html>" +EditorType=boolean +TrueFalse=-ncdw| +Value=0 +ValueDefault=0 + +[dont-cuddle-else] +Category=3 +Description=<html>Do not cuddle } and else.</html> +EditorType=boolean +TrueFalse=-nce| +Value=0 +ValueDefault=0 + +[dont-line-up-parentheses] +Category=3 +Description=<html>Do not line up parentheses.</html> +EditorType=boolean +TrueFalse=-nlp| +Value=0 +ValueDefault=0 + +[dont-space-special-semicolon] +Category=3 +Description=<html>Do not force a space before the semicolon after certain statements. Disables `-ss'.</html> +EditorType=boolean +TrueFalse=-nss| +Value=0 +ValueDefault=0 + +[else-endif-columnn] +CallName=-cp +Category=2 +Description=<html>Put comments to the right of #else and #endif statements in column n.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=33 +ValueDefault=33 + +[format-all-comments] +Category=2 +Description=<html>Do not disable all formatting of comments.</html> +EditorType=boolean +TrueFalse=-fca| +Value=0 +ValueDefault=0 + +[format-first-column-comments] +Category=2 +Description=<html>Format comments in the first column.</html> +EditorType=boolean +TrueFalse=-fc1| +Value=0 +ValueDefault=0 + +[honour-newlines] +Category=6 +Description=<html>Prefer to break long lines at the position of newlines in the input.</html> +EditorType=boolean +TrueFalse=-hnl| +Value=0 +ValueDefault=0 + +[ignore-newlines] +Category=6 +Description=<html>Do not prefer to break long lines at the position of newlines in the input.</html> +EditorType=boolean +TrueFalse=-nhnl| +Value=0 +ValueDefault=0 + +[indent-leveln] +CallName=-i +Category=5 +Description=<html>Set indentation level to n spaces.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=4 +ValueDefault=4 + +[leave-preprocessor-space] +Category=5 +Description=<html>Leave space between `#' and preprocessor directive.</html> +EditorType=boolean +TrueFalse=-lps| +Value=0 +ValueDefault=0 + +[line-comments-indentationn] +CallName=-d +Category=2 +Description=<html>Set indentation of comments not to the right of code to n spaces.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=33 +ValueDefault=33 + +[line-lengthn] +CallName=-l +Category=6 +Description=<html>Set maximum line length for non-comment lines to n.</html> +EditorType=numeric +Enabled=false +MaxVal=220 +MinVal=1 +Value=99 +ValueDefault=120 + +[no-blank-lines-after-commas] +Category=4 +Description=<html>Do not force newlines after commas in declarations.</html> +EditorType=boolean +TrueFalse=-nbc| +Value=0 +ValueDefault=0 + +[no-parameter-indentation] +Category=5 +Description=<html>Zero width indentation for parameters.</html> +EditorType=boolean +TrueFalse=-nip| +Value=0 +ValueDefault=0 + +[no-space-after-casts] +Category=3 +Description=<html>Do not put a space after cast operators.</html> +EditorType=boolean +TrueFalse=-ncs| +Value=0 +ValueDefault=0 + +[no-space-after-for] +Category=3 +Description=<html>Do not put a space after every for.</html> +EditorType=boolean +TrueFalse=-nsaf| +Value=0 +ValueDefault=0 + +[no-space-after-function-call-names] +Category=3 +Description=<html>Do not put space after the function in function calls.</html> +EditorType=boolean +TrueFalse=-npcs| +Value=0 +ValueDefault=0 + +[no-space-after-if] +Category=3 +Description=<html>Do not put a space after every if.</html> +EditorType=boolean +TrueFalse=-nsai| +Value=0 +ValueDefault=0 + +[no-space-after-parentheses] +Category=3 +Description=<html>Do not put a space after every '(' and before every ')'.</html> +EditorType=boolean +TrueFalse=-nprs| +Value=0 +ValueDefault=0 + +[no-space-after-while] +Category=3 +Description=<html>Do not put a space after every while.</html> +EditorType=boolean +TrueFalse=-nsaw| +Value=0 +ValueDefault=0 + +[no-tabs] +Category=5 +Description=<html>Use spaces instead of tabs.</html> +EditorType=boolean +TrueFalse=-nut| +Value=1 +ValueDefault=1 + +[parameter-indentationn] +CallName=-ip +Category=5 +Description=<html>Indent parameter types in old-style function definitions by n spaces.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=4 +ValueDefault=4 + +[paren-indentationn] +CallName=-pi +Category=3 +Description=<html>Specify the extra indentation per open parentheses '(' when a statement is broken.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=4 +ValueDefault=4 + +[procnames-start-lines] +Category=4 +Description=<html>Put the type of a procedure on the line before its name.</html> +EditorType=boolean +TrueFalse=-psl| +Value=0 +ValueDefault=0 + +[space-after-cast] +Category=3 +Description=<html>Put a space after a cast operator.</html> +EditorType=boolean +TrueFalse=-cs| +Value=0 +ValueDefault=0 + +[space-after-for] +Category=3 +Description=<html>Put a space after each for.</html> +EditorType=boolean +TrueFalse=-saf| +Value=0 +ValueDefault=0 + +[space-after-if] +Category=3 +Description=<html>Put a space after each if.</html> +EditorType=boolean +TrueFalse=-sai| +Value=0 +ValueDefault=0 + +[space-after-parentheses] +Category=3 +Description=<html>Put a space after every '(' and before every ')'.</html> +EditorType=boolean +TrueFalse=-prs| +Value=0 +ValueDefault=0 + +[space-after-procedure-calls] +Category=3 +Description=<html>Insert a space between the name of the procedure being called and the `('.</html> +EditorType=boolean +TrueFalse=-pcs| +Value=0 +ValueDefault=0 + +[space-after-while] +Category=3 +Description=<html>Put a space after each while.</html> +EditorType=boolean +TrueFalse=-saw| +Value=0 +ValueDefault=0 + +[space-special-semicolon] +Category=3 +Description="<html>On one-line for and while statements, force a blank before the semicolon.</html>" +EditorType=boolean +TrueFalse=-ss| +Value=0 +ValueDefault=0 + +[start-left-side-of-comments] +Category=2 +Description=<html>Put the `*' character at the left of comments.</html> +EditorType=boolean +TrueFalse=-sc| +Value=0 +ValueDefault=0 + +[struct-brace-indentationn] +CallName=-sbi +Category=3 +Description="<html>Indent braces of a struct, union or enum N spaces.</html>" +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=4 +ValueDefault=4 + +[swallow-optional-blank-lines] +Category=1 +Description=<html>The -sob option causes indent to swallow optional blank lines.</html> +EditorType=boolean +TrueFalse=-sob| +Value=0 +ValueDefault=0 + +[tab-sizen] +CallName=-ts +Category=5 +Description=<html>Set tab size to n spaces.</html> +EditorType=numeric +Enabled=false +MaxVal=120 +MinVal=0 +Value=4 +ValueDefault=4 + +[use-tabs] +Category=5 +Description=<html>Use tabs.</html> +EditorType=boolean +TrueFalse=-ut| +Value=0 +ValueDefault=0