📄 indent.texinfo
字号:
@xref{Blank lines}.@ignore@comment Didn't do anything, so I removed it@item -nbbb@itemx --no-blank-lines-before-block-commentsDo not force blank-lines before block comments.@*@xref{Blank lines}.@end ignore@item -nbbo@itemx --break-after-boolean-operatorDo not prefer to break long lines before boolean operators.@*@xref{Breaking long lines}.@item -nbc@itemx --no-blank-lines-after-commasDo not force newlines after commas in declarations.@*@xref{Declarations}.@item -nbfda@itemx --dont-break-function-decl-argsDon't put each argument in a function declaration on a seperate line.@*@xref{Declarations}.@item -ncdb@itemx --no-comment-delimiters-on-blank-linesDo not put comment delimiters on blank lines.@*@xref{Comments}.@item -ncdw@itemx --dont-cuddle-do-whileDo not cuddle @code{@}} and the @code{while} of a @code{do @{@} while;}.@*@xref{Statements}.@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 -nhnl@itemx --ignore-newlinesDo not prefer to break long lines at the position of newlines in the input.@*@xref{Breaking long lines}.@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 -nprs@itemx --no-space-after-parenthesesDo not put a space after every '(' and before every ')'.@*@xref{Statements}.@item -npsl@itemx --dont-break-procedure-typePut the type of a procedure on the same line as its name.@*@xref{Declarations}.@item -nsaf@itemx --no-space-after-forDo not put a space after every @code{for}.@*@xref{Statements}.@item -nsai@itemx --no-space-after-ifDo not put a space after every @code{if}.@*@xref{Statements}.@item -nsaw@itemx --no-space-after-whileDo not put a space after every @code{while}.@*@xref{Statements}.@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 @itemx --dont-space-special-semicolonDo not force a space before the semicolon after certain statements.Disables @option{-ss}.@*@xref{Statements}.@item -nut@itemx --no-tabsUse spaces instead of tabs.@*@xref{Indentation}.@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 -pi@var{n}@itemx --paren-indentation@var{n}Specify the extra indentation per open parentheses '(' when astatement is broken.@xref{Statements}.@item -pmt@itemx --preserve-mtimePreserve access and modification times on output files.@xref{Miscellaneous options}.@item -prs@itemx --space-after-parenthesesPut a space after every '(' and before every ')'.@*@xref{Statements}.@item -psl@itemx --procnames-start-linesPut the type of a procedure on the line before its name.@*@xref{Declarations}.@item -saf@itemx --space-after-forPut a space after each @code{for}.@*@xref{Statements}.@item -sai@itemx --space-after-ifPut a space after each @code{if}.@*@xref{Statements}.@item -saw@itemx --space-after-whilePut a space after each @code{while}.@*@xref{Statements}.@item -sbi@var{n}@itemx --struct-brace-indentation@var{n}Indent braces of a struct, union or enum N spaces.@*@xref{Statements}.@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 @command{indent} the name of typenames.@*@xref{Declarations}.@item -ts@var{n}@itemx --tab-size@var{n}Set tab size to @var{n} spaces.@*@xref{Indentation}.@item -ut@itemx --use-tabsUse tabs. This is the default.@*@xref{Indentation}.@item -v@itemx --verboseEnable verbose mode.@*@xref{Miscellaneous options}.@item -versionOutput the version number of @command{indent}.@*@xref{Miscellaneous options}.@end table@c !END OPTIONS@c !BEGIN CROSSREF@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-commas \leaderfill -bc\ \ } \line{ --blank-lines-after-declarations \leaderfill -bad\ } \line{ --blank-lines-after-procedures \leaderfill -bap\ } \line{ --blank-lines-before-block-comments \leaderfill -bbb\ }\line{ --braces-after-if-line \leaderfill -bl\ \ } \line{ --brace-indent \leaderfill -bli@var{n}}\line{ --braces-after-struct-decl-line \leaderfill -bls\ \ }\line{ --break-after-boolean-operator \leaderfill -nbbo\ \ }\line{ --break-before-boolean-operator \leaderfill -bbo\ \ }\line{ --break-function-decl-args \leaderfill -bfda} \line{ --break-function-decl-args-end \leaderfill -bfde} \line{ --braces-on-if-line \leaderfill -br\ \ } \line{ --braces-on-struct-decl-line \leaderfill -brs\ \ }\line{ --case-indentation \leaderfill -cli@var{n}}\line{ --case-brace-indentation \leaderfill -cbi@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-do-while \leaderfill -cdw\ \ }\line{ --cuddle-else \leaderfill -ce\ \ }\line{ --declaration-comment-column \leaderfill -cd@var{n}\ } \line{ --declaration-indentation \leaderfill -di@var{n}\ } \line{ --dont-break-function-decl-args \leaderfill -nbfda} \line{ --dont-break-function-decl-args-end \leaderfill -nbfde} \line{ --dont-break-procedure-type \leaderfill -npsl} \line{ --dont-cuddle-do-while \leaderfill -ncdw\ \ }\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{ --honour-newlines \leaderfill -hnl\ \ }\line{ --ignore-newlines \leaderfill -nhnl\ \ }\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-commas \leaderfill -nbc\ } \line{ --no-blank-lines-after-declarations \leaderfill -nbad} \line{ --no-blank-lines-after-procedures \leaderfill -nbap} \line{ --no-blank-lines-before-block-comments \leaderfill -nbbb}\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-for \leaderfill -nsaf}\line{ --no-space-after-function-call-names \leaderfill -npcs} \line{ --no-space-after-if \leaderfill -nsai}\line{ --no-space-after-parentheses \leaderfill -nprs}\line{ --no-space-after-while \leaderfill -nsaw}\line{ --no-tabs \leaderfill -nut\ \ } \line{ --no-verbosity \leaderfill -nv\ \ }\line{ --original \leaderfill -orig}\line{ --parameter-indentation \leaderfill -ip@var{n}\ } \line{ --paren-indentation \leaderfill -pi@var{n}\ }\line{ --preserve-mtime \leaderfill -pmt\ }\line{ --procnames-start-lines \leaderfill -psl\ } \line{ --space-after-cast \leaderfill -cs\ \ } \line{ --space-after-for \leaderfill -saf\ }\line{ --space-after-if \leaderfill -sai\ }\line{ --space-after-parentheses \leaderfill -prs\ }\line{ --space-after-procedure-calls \leaderfill -pcs\ } \line{ --space-after-while \leaderfill -saw\ }\line{ --space-special-semicolon \leaderfill -ss\ \ } \line{ --standard-output \leaderfill -st\ \ } \line{ --start-left-side-of-comments \leaderfill -sc\ \ }\line{ --struct-brace-indentation \leaderfill -sbi@var{n}}\line{ --swallow-optional-blank-lines \leaderfill -sob\ } \line{ --tab-size \leaderfill -ts@var{n}\ } \line{ --use-tabs \leaderfill -ut\ \ } \line{ --verbose \leaderfill -v\ \ \ } }@end tex@ifinfo@example--blank-lines-after-commas -bc --blank-lines-after-declarations -bad --blank-lines-after-procedures -bap --blank-lines-before-block-comments -bbb --braces-after-if-line -bl --brace-indent -bli--braces-after-struct-decl-line -bls--braces-on-if-line -br --braces-on-struct-decl-line -brs--break-after-boolean-operator -nbbo--break-before-boolean-operator -bbo--break-function-decl-args -bfda--break-function-decl-args-end -bfde--case-indentation -cli@var{n} --case-brace-indentation -cbi@var{n}--comment-delimiters-on-blank-lines -cdb --comment-indentation -c@var{n} --continuation-indentation -ci@var{n} --continue-at-parentheses -lp --cuddle-do-while -cdw--cuddle-else -ce --declaration-comment-column -cd@var{n} --declaration-indentation -di@var{n} --dont-break-function-decl-args -nbfda--dont-break-function-decl-args-end -nbfde--dont-break-procedure-type -npsl --dont-cuddle-do-while -ncdw--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 --honour-newlines -hnl--ignore-newlines -nhnl--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-commas -nbc --no-blank-lines-after-declarations -nbad --no-blank-lines-after-procedures -nbap --no-blank-lines-before-block-comments -nbbb --no-comment-delimiters-on-blank-lines -ncdb --no-space-after-casts -ncs --no-parameter-indentation -nip --no-space-after-for -nsaf--no-space-after-function-call-names -npcs --no-space-after-if -nsai--no-space-after-parentheses -nprs--no-space-after-while -nsaw--no-tabs -nut--no-verbosity -nv --original -orig--parameter-indentation -ip@var{n} --paren-indentation -pi@var{n}--preserve-mtime -pmt--procnames-start-lines -psl --space-after-cast -cs --space-after-for -saf--space-after-if -sai--space-after-parentheses -prs--space-after-procedure-calls -pcs --space-after-while -saw--space-special-semicolon -ss --standard-output -st --start-left-side-of-comments -sc --struct-brace-indentation -sbi@var{n}--swallow-optional-blank-lines -sob --tab-size -ts@var{n} --use-tabs -ut--verbose -v @end example@end ifinfo@c !END CROSSREF@node Index, , Option Summary, Top@unnumbered Index@printindex ky@page@contents@bye
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -