@pq: der tar-ball ist - mit ausnahme des HTC-Caches - aktuell
mit den default-einstellungen koennte ich leben; ich habe mir aber mal folgendes fuer eine .perltidyrc zusammengebastelt. Was davon findet ihr ok und was nicht? (100% gefaellts mir selbst noch nicht, aber es kommt dem schon naeher als die defaults). Und die .perltidyrc koennte man auch mit dem tar-ball verteilen...
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
34
35
36
# http://perltidy.sourceforge.net/tutorial.html
# http://perltidy.sourceforge.net/perltidy.html
--indent-columns=4 # indent at the beginning (one "tab" is 4 spaces)
--maximum-line-length=79 # max line length
--continuation-indentation=4 # indent after wrap
-b # backup original files as .bak ???
###--line-up-parantheses # for lists
--closing-token-indentation=1
-paren-tightness=1 # Container tightness, use some spaces
-bar # opening braces right with multiline-if-expr. ???
-nsbl # opening braces with one-line on same line
#--space-function-paren # space after function call: NO
#--space-keyword-paren # space between keyword and parens: NO
#--space-terminal-semicolon # space before; NO
--nospace-for-semicolon # no space before; in c-style-for-loop
--nooutdent-long-lines # don't outdent long lines
--check-syntax # perl -c -T
###--output-line-endings=unix # set output line endings to unix
--add-semicolons # add missing optional semicolons at EOL
--indent-block-comments # line up comments with code
--indent-spaced-block-comments # but only if there's a space before
--closing-side-comments # write comment end sub xyz: ???
#for vi:
#:%!perltidy -q
# or
#:%!perltidy
#for emacs: (perhaps build makro)
#C-x h # mark all text
#M-1 M-| # pipe replace
#perltidy # execute perltidy
# finde ich nicht gut / ist kommentar
### funktioniert irgendwie nicht