[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 140958] code formatting doesn't attach brackets as set in
From:       Rawk <dnt500 () gmx ! de>
Date:       2007-02-28 17:40:12
Message-ID: 20070228174012.22785.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=140958         




------- Additional Comments From dnt500 gmx de  2007-02-28 18:40 -------
I have problems with brackets and code formatting, too (KDevelop 3.4.0 on Gentoo).
This is how I want it to be:
void foo()
{
}

This is the result for most functions (some functions are formatted as expected):
void foo()

{
}

These are the astyle settings from my kdeveloprc:
[AStyle]
Extensions=*.cpp *.h,*.c *.h,*.cxx *.hxx,*.c++ *.h++,*.cc *.hh,*.C \
*.H,*.diff,*.inl,*.java,*.moc,*.patch,*.tlh,*.xpm Fill=Tabs
IndentLabels=false
IndentNamespaces=false
IndentSwitches=true
Options=BlockBreak=0,BlockBreakAll=0,BlockIfElse=0,Brackets=Break,BracketsCloseHeaders \
=0,FStyle=UserDefined,Fill=Tabs,FillCount=4,FillEmptyLines=0,FillForce=1,IndentBlocks= \
0,IndentBrackets=0,IndentCases=0,IndentClasses=0,IndentLabels=0,IndentNamespaces=0,Ind \
entPreprocessors=0,IndentSwitches=0,KeepBlocks=0,KeepStatements=0,MaxStatement=40,MinC \
onditional=-1,PadOperators=1,PadParenthesesIn=0,PadParenthesesOut=0,PadParenthesesUn=0,



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic