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

Support deduction of auto variables on mouse-over

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.4.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • MacOS Sierra 10.12
      clang: Apple LLVM version 8.0.0 (clang-800.0.42.1)

      Currently, when putting mouse over variable of known type, a tooltip appears telling me exact declaration of the variable (with type and variable name).

      However, if variable is declared with keyword 'auto', mouse-over tooltip contains only variable name, not the deduced type.

      It would be much easier to navigate and understand the code (especially not written by me) if mouse-over tooltip would contain deduced type.

      I believe that Clang Code Model should be able to support that feature.

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

            kosjar Nikolai Kosjar
            dodoent Nenad Miksa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes