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

multiple headers in autocomplete when matches different paths

    XMLWordPrintable

Details

    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

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes