Add indent script for C# files
This commit is contained in:
parent
dba4fc945c
commit
2a2822bb80
13
tools/cs-indent
Executable file
13
tools/cs-indent
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
astyle \
|
||||
--mode=cs \
|
||||
--style=java \
|
||||
--indent=spaces=2 \
|
||||
--indent-switches \
|
||||
--indent-namespaces \
|
||||
--pad=oper \
|
||||
--unpad=paren \
|
||||
--pad=paren-out \
|
||||
--convert-tabs \
|
||||
--suffix=none \
|
||||
$* > /dev/null
|
Loading…
x
Reference in New Issue
Block a user