indent.sh

来自「modbus开发程序包」· Shell 代码 · 共 26 行

SH
26
字号
#!/bin/sh

indent \
    --declaration-indentation16 \
    --procnames-start-lines \
    --blank-lines-after-declarations \
    --blank-lines-after-procedures \
    --break-before-boolean-operator \
    --braces-after-if-line \
    --braces-after-struct-decl-line \
    --brace-indent0 \
    --case-indentation0 \
    --no-space-after-function-call-names \
    --no-space-after-for \
    --no-space-after-if \
    --no-space-after-while \
    --no-space-after-casts \
    --space-after-parentheses \
    --dont-format-comments \
    --indent-level4 \
    --honour-newlines \
    --no-tabs \
    --line-length100 \
    $@
    

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?