File: astylerc

package info (click to toggle)
libitpp 4.3.1-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,952 kB
  • sloc: cpp: 73,628; makefile: 661; python: 548; sh: 261
file content (33 lines) | stat: -rw-r--r-- 1,222 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ----------------------------------------------------------------------
# This is an astyle configuration file, which can be used for indenting,
# formatting and beautifying IT++ header and source files. The Artistic
# Style (astyle) program can be downloaded from the following site:
#   http://astyle.sourceforge.net/
# To filter a source or header file using this option please use the
# following command:
#   $ astyle --options=<IT++_source_directory>/extras/astylerc file.cpp
#
# Similar indentation style can be obtained in GNU emacs editor by
# adding these settings to the default .emacs configuration file:
#
# (defun it++-mode ()
#   "C++ mode with adjusted defaults for use with the IT++ project."
#   (interactive)
#   (c++-mode)
#   (c-set-style "gnu")
#   (c-set-offset 'innamespace 0)
#   (setq c-basic-offset 2)
#   (setq indent-tabs-mode nil)
#   (setq c-block-comment-prefix "* "))
#
# (setq auto-mode-alist (cons '("itpp.*/.*\\.\\(h\\|cpp\\)$" . it++-mode)
#                             auto-mode-alist))
# ----------------------------------------------------------------------
indent=spaces=2
brackets=linux
break-closing-brackets
indent-labels
pad-oper
unpad-paren
keep-one-line-blocks
convert-tabs