Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12678

Configurable refactoring feature "Create Getter and Setter Member functions"

XMLWordPrintable

    • 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.

        For Gerrit Dashboard: QTCREATORBUG-12678
        # Subject Branch Project Status CR V

            kandeler Christian Kandeler
            anylitok Antti Yli-Tokola (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes