-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5b5ae971045adebe40209150cf9e1cac6cc62191 (qt-creator/qt-creator/master)
It would be nice to have a possibility to configure, how Getter / Setter member functions are created in QtCreator. The following adjustments could be provided:
- Selection whether to create inline in header or in a cpp file
- Allow configuration of naming pattern via some sort of name template to support other coding guidelines than that in Qt. For example we use:
Get<AttributeName>() and Set<AttributeName>() as naming convention here and thus I cannot use the preconfigured Create Getter / Setter feature in our project so far.
- is duplicated by
-
QTCREATORBUG-16943 Extend getter and setter QuickFixes
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-12678 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
165115,5 | CppEditor: Generate getters and setters using naming rules | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
310832,43 | CppEditor: Introduce QuickFix settings and unify getter/setter generation | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |