XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • None
    • None
    • C/C++/Obj-C++ Support
    • None

    Description

      It would be nice if QtCreator autocompleted enum types. I'm yet to find a C++ IDE that does that.

      For instance, if the user has a QTextCursor object and they type myCursor.select( QtCreator would show the tooltip showing the arguments of the function and – since the first argument is an enum of type QTextCursor::SelectionType – it would suggest the options of that type.

      The user may choose one of those options or just write code that returns a valid enum value. In the former case QtCreator would add the type prefix (i.e. QTextCursor::).

      At the moment to know which options you can choose in an enum the only ways are (1) open documentation from the function and click on the type (2) write QTextCursor::<Ctrl+Space> and search them within the options of other enums and lots of methods.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            ntrrgc ntrrgc
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes