update .astylerc
This commit is contained in:
parent
9beff290ac
commit
3e048541b0
1 changed files with 39 additions and 2 deletions
41
.astylerc
41
.astylerc
|
|
@ -1,3 +1,40 @@
|
||||||
--style=1tbs # стиль фигурных скобок
|
# Brace
|
||||||
--indent=spaces=2 # отступы по 2 пробела
|
--style=attach
|
||||||
|
|
||||||
|
# Brace Modify
|
||||||
|
--attach-namespaces
|
||||||
|
--attach-classes
|
||||||
|
--add-one-line-braces
|
||||||
|
|
||||||
|
#Tab
|
||||||
|
--indent=spaces=2
|
||||||
|
|
||||||
|
# Indentation
|
||||||
|
--max-continuation-indent=40
|
||||||
|
--indent-lambda
|
||||||
|
|
||||||
|
# Padding
|
||||||
|
--pad-oper
|
||||||
|
--pad-comma
|
||||||
|
--pad-include
|
||||||
|
--unpad-paren
|
||||||
|
--fill-empty-lines
|
||||||
|
--squeeze-lines=2
|
||||||
|
--squeeze-ws
|
||||||
|
--align-pointer=name
|
||||||
|
--align-reference=name
|
||||||
|
|
||||||
|
# Formatting
|
||||||
|
--add-braces
|
||||||
|
--attach-return-type
|
||||||
|
--attach-return-type-decl
|
||||||
|
--keep-one-line-blocks
|
||||||
|
--convert-tabs
|
||||||
|
--close-templates
|
||||||
|
--remove-comment-prefix
|
||||||
|
--max-code-length=100
|
||||||
|
--mode=c
|
||||||
|
|
||||||
|
# Other
|
||||||
|
--errors-to-stdout
|
||||||
|
--lineend=linux
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue