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

Create Getter/Setter Refactor is problematic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • Qt Creator 2.8.0-beta
    • Qt Creator 2.7.0
    • C/C++/Obj-C++ Support
    • None
    • Windows 8, MinGW 4.7 Version of Qt 5.0.2 + Creator 2.7.0
    • 4f1e892feb8676048ddea3aa7dc1755ca400660c

    Description

      The refactor of create getter/setter is strange.

      The code snippet created in .cpp file starts from where the pointer was left there. That means it may inject two methods in the middle of other existing method or other strange places.

      Also this refactor option seems to reindent the code in .cpp while it actually should not.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kosjar Nikolai Kosjar
              kimi arthur Kimi Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes