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

List:       kdevelop-bugs
Subject:    [Bug 265019] New: Add default indent rules: kdelibs (Qt) coding style
From:       Denis Pesotsky aka Obey-Kun <obey () obey ! su>
Date:       2011-01-31 22:36:04
Message-ID: bug-265019-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=265019

           Summary: Add default indent rules: kdelibs (Qt) coding style
           Product: kdevelop
           Version: unspecified
          Platform: unspecified
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: ident
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: obey@obey.su


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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