Version: unspecified (using KDE 4.6.0) OS: unspecified By default KDevelop provides GNU, K&R, Java etc indent styles, but not the style that is used in KDE. I'm talking about http://techbase.kde.org/Policies/Kdelibs_Coding_Style It will be nice to have that indent rules by default. They'r taken from http://qt.gitorious.org/qt/pages/QtCodingStyle so better call that style Qt. Reproducible: Always Astyle options for it: --indent=spaces=4 --brackets=linux \ --indent-labels --pad-oper --unpad-paren \ --keep-one-line-statements --convert-tabs \ --indent-preprocessor \ --fill-empty-lines \ --suffix=none \ --align-pointer=name \ <---- not currently supported, look @ 263834 --formatted
*** Bug 269438 has been marked as a duplicate of this bug. ***
from above bug report: "It should use 4 spaces instead of tabs, unpad parentheses, should not indent classes." someone (or me) needs to fix that for 4.3...
Git commit b4ee4a1d64bec0e5d41093be7ad05a3aab07a869 by Milian Wolff. Committed on 04/04/2011 at 00:16. Pushed by mwolff into branch 'master'. better try to simulate KDELibs and Qt coding styles in predefined AStyle settings please close bug if this is enough now CCBUG: 265019 M +11 -1 formatters/astyle/astyle_formatter.cpp http://commits.kde.org/kdevelop/b4ee4a1d64bec0e5d41093be7ad05a3aab07a869
Old & fixed => closed