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

Autocomplete does not suggest overloaded method with parameters

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Fixed
    • Affects Version/s: Qt Creator 4.5.1
    • Fix Version/s: Qt Creator 4.9.0
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None

      Description

      Suppose I have two overloaded methods within a class:

       

      class MyClass
      {
      //...other stuff
      QString getText() const;
      QString getText(const SomeOtherClass& parameter) const;
      //...other stuff
      };
      

      When using MyClass, and typing...

      MyClass mc;
      mc.getText
      

      ...and triggering autocomplete at this point, the result is:

      MyClass mc;
      mc.getText();
      

      At this point, autocomplete hides that an overload with parameter exists.

      I would expect that autocomplete gives me the choice which overload to use at this point.

       

        Attachments

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

          Activity

            People

            Assignee:
            yvvan Ivan Donchevskii
            Reporter:
            asperamanca Robert Schimkowitsch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes