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

Creator shows all possibilities in hints when hovering over parameters of overloaded function

XMLWordPrintable

    • dfa24f09ad4b707b8b5076d92f48f019e6a346ee (qt-creator/qt-creator/master)

      Write a program using a function that is overloaded.
      Creator shows you all possibilities when hovering over the parameters or when starting with the leading "(", e.g.

      QMessageBox::information(

      you then see "1 of 4 StandardButton information(QWidget *parent..." etc., and you can choose the possibilities with up & down keys, very fine.
      But if you start writing

      QMessageBox::information("test",

      Creator tries to help you with the second parameter. But it still shows ALL 4 possibilities.
      This could be done better by filtering the possibilities by the current selection: here, in this example just show the possibilities that have a String(QString...?) as FIRST parameter.

      This is the way I know from the Delphi IDE some time ago
      It's very useful.
      Maybe not a bug, but a suggestion, feel free to change this...

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

            kandeler Christian Kandeler
            droetker Christian Gonzalez
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes