📄 indent.tex
字号:
@itemx --cuddle-elseCuddle else and preceeding @samp{@}}.@*@xref{Comments}.@item -ci@var{n}@itemx --continuation-indentation@var{n}Continuation indent of @var{n} spaces.@*@xref{Statements}.@item -cli@var{n}@itemx --case-indentation@var{n}Case label indent of @var{n} spaces.@*@xref{Statements}.@item -cp@var{n}@item --else-endif-column@var{n}Put comments to the right of @samp{#else} and @samp{#endif} statements in column @var{n}.@* @xref{Comments}.@item -cs@itemx --space-after-castPut a space after a cast operator.@*@xref{Statements}.@item -bs@itemx --blank-before-sizeofPut a space between @code{sizeof} and its argument.@*@xref{Statements}@item -d@var{n}@itemx --line-comments-indentation@var{n}Set indentation of comments not to the right of code to @var{n} spaces.@*@xref{Comments}.@item -di@var{n}@itemx --declaration-indentation@var{n}Put variables in column @var{n}.@*@xref{Declarations}.@item -fc1@itemx --format-first-column-commentsFormat comments in the first column.@*@xref{Comments}.@item -fca@itemx --format-all-commentsDo not disable all formatting of comments.@*@xref{Comments}@item -gnu@itemx --gnu-styleUse GNU coding style. This is the default.@*@xref{Common styles}.@item -i@var{n}@itemx --indent-level@var{n}Set indentation level to @var{n} spaces.@*@xref{Indentation}.@item -ip@var{n}@itemx --parameter-indentation@var{n}Indent parameter types in old-style function definitions by @var{n} spaces.@*@xref{Indentation}.@item -kr@itemx --k-and-r-styleUse Kernighan & Ritchie coding style.@*@xref{Common styles}.@item -l@var{n}@itemx --line-length@var{n}Set maximum line length to @var{n}.@*@xref{Comments}.@item -lp@itemx --continue-at-parenthesesLine up continued lines at parentheses.@*@xref{Indentation}.@item -lps@itemx --leave-preprocessor-spaceLeave space between @samp{#} and preprocessor directive.@xref{Indentation}.@item -nbad@itemx --no-blank-lines-after-declarationsDo not force blank lines after declarations.@*@xref{Blank lines}.@item -nbap@itemx --no-blank-lines-after-proceduresDo not force blank lines after procedure bodies.@*@xref{Blank lines}.@item -nbbb@itemx --no-blank-lines-after-block-commentsDo not force blank-lines after block comments.@*@xref{Blank lines}.@item -nbc@itemx --no-blank-lines-after-commasDo not force newlines after commas in declarations.@*@xref{Declarations}.@item -ncdb@itemx --no-comment-delimiters-on-blank-linesDo not put comment delimiters on blank lines.@*@xref{Comments}.@item -nce@itemx --dont-cuddle-elseDo not cuddle @code{@}} and @code{else}.@*@xref{Statements}.@item -ncs@itemx --no-space-after-castsDo not put a space after cast operators.@*@xref{Statements}.@item -nfc1@itemx --dont-format-first-column-commentsDo not format comments in the first column as normal.@*@xref{Comments}.@item -nfca@itemx --dont-format-commentsDo not format any comments.@*@xref{Comments}.@item -nip@itemx --no-parameter-indentationZero width indentation for parameters.@*@xref{Indentation}@item -nlp@itemx --dont-line-up-parenthesesDo not line up parentheses.@*@xref{Statements}.@item -npcs@itemx --no-space-after-function-call-namesDo not put space after the function in function calls.@*@xref{Statements}.@item -npsl@itemx --dont-break-procedure-typePut the type of a procedure on the same line as its name.@*@xref{Declarations}.@item -nsc@itemx --dont-star-commentsDo not put the @samp{*} character at the left of comments.@*@xref{Comments}.@item -nsob@itemx --leave-optional-blank-linesDo not swallow optional blank lines.@*@xref{Blank lines}.@item -nss @item --dont-space-special-semicolonDo not force a space before the semicolon after certain statements.Disables @samp{-ss}.@*@xref{Statements}.@item -nv@itemx --no-verbosityDisable verbose mode. @xref{Miscellaneous options}.@item -orig@itemx --originalUse the original Berkeley coding style.@*@xref{Common styles}.@item -npro@itemx --ignore-profileDo not read @file{.indent.pro} files.@*@xref{Invoking indent}.@item -pcs @itemx --space-after-procedure-callsInsert a space between the name of the procedure being called and the @samp{(}.@*@xref{Statements}.@item -psl@itemx --procnames-start-linesPut the type of a procedure on the line before its name.@*@xref{Declarations}.@item -sc@itemx --start-left-side-of-commentsPut the @samp{*} character at the left of comments.@*@xref{Comments}.@item -sob@itemx --swallow-optional-blank-linesSwallow optional blank lines.@*@xref{Blank lines}.@item -ss@itemx --space-special-semicolonOn one-line @code{for} and @code{while} statments, force a blank before the semicolon.@*@xref{Statements}.@item -st@itemx --standard-outputWrite to standard output.@*@xref{Invoking indent}.@item -T Tell @code{indent} the name of typenames.@*@xref{Declarations}.@c Ignore the following since it is not supported. When someone@c rewrites this program, an effort could be made to generate TeX.@c@c item -troff@c Format the program for printing with @code{troff}. Use of this option@c is not suggested.@c xref Miscellaneous options@c @c@item -ts@var{n}@itemx --tab-size@var{n}Set tab size to @var{n} spaces.@*@xref{Indentation}.@item -v@itemx --verboseEnable verbose mode.@*@xref{Miscellaneous options}.@item -versionOutput the version number of @code{indent}.@*@xref{Miscellaneous options}.@end table@subheading Options' Cross KeyHere is a list of options alphabetized by long option, to help you findthe corresponding short option.@iftex@sp 2@end iftex@tex\def\leaderfill{\leaders\hbox to 1em{\hss.\hss}\hfill}{\tt\line{ --blank-lines-after-block-comments \leaderfill -bbb\ }\line{ --blank-lines-after-commas \leaderfill -bc\ \ } \line{ --blank-lines-after-declarations \leaderfill -bad\ } \line{ --blank-lines-after-procedures \leaderfill -bap\ } \line{ --braces-after-if-line \leaderfill -bl\ \ } \line{ --brace-indent \leaderfill -bli@var{n}}\line{ --braces-on-if-line \leaderfill -br\ \ } \line{ --case-indentation \leaderfill -cli@var{n}}\line{ --comment-delimiters-on-blank-lines \leaderfill -cdb\ }\line{ --comment-indentation \leaderfill -c@var{n}\ \ } \line{ --continuation-indentation \leaderfill -ci@var{n}\ } \line{ --continue-at-parentheses \leaderfill -lp\ \ } \line{ --cuddle-else \leaderfill -ce\ \ }\line{ --declaration-comment-column \leaderfill -cd@var{n}\ } \line{ --declaration-indentation \leaderfill -di@var{n}\ } \line{ --dont-break-procedure-type \leaderfill -npsl} \line{ --dont-cuddle-else \leaderfill -nce\ } \line{ --dont-format-comments \leaderfill -nfca} \line{ --dont-format-first-column-comments \leaderfill -nfc1} \line{ --dont-line-up-parentheses \leaderfill -nlp\ } \line{ --dont-space-special-semicolon \leaderfill -nss\ }\line{ --dont-star-comments \leaderfill -nsc\ } \line{ --else-endif-column \leaderfill -cp@var{n}\ }\line{ --format-all-comments \leaderfill -fca\ } \line{ --format-first-column-comments \leaderfill -fc1\ } \line{ --gnu-style \leaderfill -gnu\ } \line{ --ignore-profile \leaderfill -npro} \line{ --indent-level \leaderfill -i@var{n}\ \ }\line{ --k-and-r-style \leaderfill -kr\ \ }\line{ --leave-optional-blank-lines \leaderfill -nsob} \line{ --line-comments-indentation \leaderfill -d@var{n}\ \ }\line{ --leave-preprocessor-space \leaderfill -lps\ }\line{ --line-length \leaderfill -l@var{n}\ \ }\line{ --no-blank-lines-after-block-comments \leaderfill -nbbb} \line{ --no-blank-lines-after-commas \leaderfill -nbc\ } \line{ --no-blank-lines-after-declarations \leaderfill -nbad} \line{ --no-blank-lines-after-procedures \leaderfill -nbap} \line{ --no-comment-delimiters-on-blank-lines \leaderfill -ncdb} \line{ --no-space-after-casts \leaderfill -ncs\ } \line{ --no-parameter-indentation \leaderfill -nip\ } \line{ --no-space-after-function-call-names \leaderfill -npcs} \line{ --no-verbosity \leaderfill -nv\ \ }\line{ --original \leaderfill -orig}\line{ --parameter-indentation \leaderfill -ip@var{n}\ } \line{ --procnames-start-lines \leaderfill -psl\ } \line{ --space-after-cast \leaderfill -cs\ \ } \line{ --space-after-procedure-calls \leaderfill -pcs\ } \line{ --space-special-semicolon \leaderfill -ss\ \ } \line{ --standard-output \leaderfill -st\ \ } \line{ --start-left-side-of-comments \leaderfill -sc\ \ }\line{ --swallow-optional-blank-lines \leaderfill -sob\ } \line{ --tab-size \leaderfill -ts@var{n}\ } \line{ --verbose \leaderfill -v\ \ \ } }@end tex@ifinfo@example--blank-lines-after-block-comments -bbb --blank-lines-after-commas -bc --blank-lines-after-declarations -bad --blank-lines-after-procedures -bap --braces-after-if-line -bl --brace-indent -bli--braces-on-if-line -br --case-indentation -cli@var{n} --comment-delimiters-on-blank-lines -cdb --comment-indentation -c@var{n} --continuation-indentation -ci@var{n} --continue-at-parentheses -lp --cuddle-else -ce --declaration-comment-column -cd@var{n} --declaration-indentation -di@var{n} --dont-break-procedure-type -npsl --dont-cuddle-else -nce --dont-format-comments -nfca --dont-format-first-column-comments -nfc1 --dont-line-up-parentheses -nlp --dont-space-special-semicolon -nss--dont-star-comments -nsc --else-endif-column -cp@var{n}--format-all-comments -fca --format-first-column-comments -fc1 --gnu-style -gnu --ignore-profile -npro --indent-level -i@var{n} --k-and-r-style -kr --leave-optional-blank-lines -nsob --leave-preprocessor-space -lps--line-comments-indentation -d@var{n} --line-length -l@var{n} --no-blank-lines-after-block-comments -nbbb --no-blank-lines-after-commas -nbc --no-blank-lines-after-declarations -nbad --no-blank-lines-after-procedures -nbap --no-comment-delimiters-on-blank-lines -ncdb --no-space-after-casts -ncs --no-parameter-indentation -nip --no-space-after-function-call-names -npcs --no-verbosity -nv --original -orig--parameter-indentation -ip@var{n} --procnames-start-lines -psl --space-after-cast -cs --space-after-procedure-calls -pcs --space-special-semicolon -ss --standard-output -st --start-left-side-of-comments -sc --swallow-optional-blank-lines -sob --tab-size -ts@var{n} --verbose -v @end example@end ifinfo@node Index, , Option Summary, Top@unnumbered Index@printindex ky@page@contents@bye
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -