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

Refactor->"Add Definition" not working with empty cpp file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • Qt Creator 2.2.1
    • C/C++/Obj-C++ Support
    • None

    Description

      In the "Refactor" context menu entry, "Add Definition in xxx.cpp" does not even show up if the corresponding cpp file has no method definitions at all.

      Steps to repeat:
      1) Create a new class
      2) Add a method declaration in the public section
      3) Check the Refactor menu entry --> OK
      4) Delete the empty constructor implementation in the cpp file and save
      5) Check the Refactor menu entry --> ENTRY MISSING

      Attachments

        Issue Links

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

          Activity

            People

              leamelo Leandro T. C. Melo
              asperamanca Robert Schimkowitsch
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes