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

multiple headers in autocomplete when matches different paths

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 6.0.0-beta1
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:

      Description

      sometimes the same header can be found in different locations: e.g. a header can be found via an explicit include path (for a bundled 3rdparty library) and as os-provided header in the sysroot. in this case, the compiler (and the clang-based code navigation) selects one of the files depending on the include directories argument (compare attached screenshot with vendored and os-installed boost.asio for example)

      however the qtcreator autocomplete popup will list two entries. while this is more of a cosmetic issue, it limits the space in the popup to less entries. it might be worth to de-duplicate the autocomplete popup to only unique headers

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes