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

Clang: class member auto-completion does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical 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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes