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

Autocompletion that used to work in v2.5 doesn't work in v2.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.8.1
    • Qt Creator 2.6.0-beta
    • C/C++/Obj-C++ Support
    • None
    • Tested in Centos6
    • 3256b7b2ef7073264af3197bdcd62f4f9fe92ea1

    Description

      If I consider the following code:

      namespace BlahNS

      { using boost::shared_ptr; }

      void blah() {
      boost::shared_ptr<MyBlah> blahPtr1;
      BlahNS::shared_ptr<MyBlah> blahPtr2;
      ...

      I get the following autocompletion behaviour:

      blahPtr1. wait
      v2.5 - autocompletion of the shared_ptr class (as expected)
      v2.6 - autocompletion of the shared_ptr class (as expected)

      blahPtr2. wait
      v2.5 - autocompletion of the shared_ptr class (as expected)
      v2.6 - autocompletion of the shared_ptr class (as expected)

      blahPtr1-> wait
      v2.5 - autocompletion of the MyBlah class (as expected)
      v2.6 - autocompletion of the MyBlah class (as expected)

      blahPtr2-> wait
      v2.5 - autocompletion of the MyBlah class (as expected)
      v2.6 - NOTHING (BAD!!!)

      This is a pretty critical issue for the way our code is structured. This problem also existed in v2.1 and then was fixed in v2.x (2.2? 2.3?).

      Thanks!

      • Rob

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            robpieke Rob Pieke
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes