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

Refactoring - Extract Function does not include the namespace in the new function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.1.2
    • C/C++/Obj-C++ Support
    • None
    • Ubuntu 12.04 64bit

    Description

      When using Refactoring > Extract Function on a fragment of code inside a function from a class within a namespace, the extracted function does not include the namespace in the function definition, resulting in a compilation error.
      The namespace has to be added manually before the class name.

      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
              bmatei Bogdan Matei
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes