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

autocomplete doesn't work for c++11 style initialized variables

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      e9e8852f50eabf95a9d8006aee3696ed86d9755d (qt-creator/qt-creator/4.10)

      Description

      See snippet:

      #include <string>
      #include <iostream>
      
      using namespace std;
      
      struct T {
          int a;
      };
      
      int main()
      {
          T t{};
          t.?
          cout << "Hello World!" << endl;
          return 0;
      }
      
      

      auto-complete for t doesn't work if t is {}-initialized

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-22444
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kosjar Nikolai Kosjar
            Reporter:
            icegood Serhiy Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes