File: texstudio.astylerc

package info (click to toggle)
texstudio 2.12.14+debian-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 48,048 kB
  • sloc: cpp: 97,886; xml: 10,243; ansic: 8,127; sh: 158; makefile: 33
file content (12 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# mostly the Qt coding style: https://wiki.qt.io/Qt_Coding_Style
# but we use tabs and don't enforce line length
--style=kr
--indent=tab=4  # use tabs, assume tab-width = 4
--align-pointer=name  # pointer star at variable name
--align-reference=name  # reference ampersand at variable name
#--convert-tabs  # convert tabs to spaces
--attach-namespaces
#--max-code-length=100  # maximal line length 
#--max-instatement-indent=120 
--pad-header # spaces after if, else, while ...
--pad-oper  # spaces around operators