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

Autocomplete shows too much information

    XMLWordPrintable

Details

    • 080bf4ecb8b7b70d6410e3342e37dacd5aef8ff3

    Description

      When you have a struct for example:

      typedef struct

      { QString Filename; QString Title; int Track; }

      taginfo;

      and it is defined in code as such

      { taginfo temp; }

      when you are typing and want to access the struct's 3 entries, at the point
      where you type :

      temp.

      and autocomplete pop's up, previous versions of Qt Creator only showed the 3 possibilities for the struct, in this case Filename, Title, and Track. In version 2.5.0 I've noticed that instead of just these three that show up, is an list completely unrelated to the variable or the struct as well as the 3 components mixed in the huge list. This also happens for classes, etc.

      This however does not happen when you are accessing a variable via a pointer as such :

      { taginfo *temp = new taginfo; }

      and when you type :

      temp->

      the correct list of the struct or class shows up on autocomplete !!

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            m_potapoff Michael Potapoff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes