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

Code completion does not work for std::vector of objects

    XMLWordPrintable

Details

    • 97d3d9ac0946f3be0e036b70401352e3ddaeb8fc

    Description

      Qtcreator editor does not autocomplete members of objects which are inside a vector

      #include <vector>
      
      struct A
      { int member; };
      
      void f()
      {
          std::vector<A> a;
      //     a[0].m // no completion
      //    a.begin()->m // no completion
      }
      
      

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              dpinol Daniel Pinyol
              Votes:
              9 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes