Community
Participate
Working Groups
Build Identifier: M20100909-0800 c++ constructors are not autocompleted. Since we have autocompletion in eclipse cdt, constructors should not be an exception. Besides that, code completion for constructors is very handy because many classes have several overloaded constructors and it's very difficult to remember them all. Reproducible: Always Steps to Reproduce: 1.Open eclipse cdt and create new hello world c++ project 2.Include, for instance, header <vector> 3. Write in the main function std::vector<int> vec and press ctr+tab. No autocompletion for constructors is provided.
I've seen this. Not sure why we can't find constructors.
Invoking content assist Right after 'vec' is as if you'd want to complete the name of the variable, which is not possible. Instead you want to see the parameter hints. These are computed when you type the leading parenthesis and invoke content assist after that. Even that did not work until recently, see bug 223660. *** This bug has been marked as a duplicate of bug 223660 ***