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

Clang: class member auto-completion does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 3.5.1, Qt Creator 3.6.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • Kubuntu 15.04, x86-64

    Description

      Try typing the following code:

      #ifndef TEST_H
      #define TEST_H
      
      class foo
      {
      	void bar()
      	{
      	}
      };
      
      void test(foo const& f)
      {
      	f.
      }
      
      #endif // TEST_H
      

      As you type f. QtCreator doesn't offer any auto-completion. In more complex real world code it does offer auto-completion options, but the drop-down menu does not contain the class members. Instead it contains all kinds of C/C++ keywords, fundamental types and pre-defined macros - nothing related to the relevant class.

      Attachments

        Issue Links

          Activity

            People

              kosjar Nikolai Kosjar
              lastique Andrey Semashev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: