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

Auto completion not working for pointer initialized at declaration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.2.0
    • C/C++/Obj-C++ Support
    • None
    • Linux

      If a pointer is declared and initialized on the same line, the auto-completion on the pointer (ctrl+space) is not triggered. Need to input at least the first letter to have the auto-completion working

              std::string *a = new std::string();
              a->append();    // No auto-completion. Need to type at least the first letter of the method to have auto-completion
              *a.append();    // Auto-completion ok
                      
              std::string *b;
              b = new std::string();
              b->append(); // Auto-completion ok
      

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

            kosjar Nikolai Kosjar
            jguigui Jean Paul
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes