Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] No autocomplete on constructors

Hello all!

I found https://bugs.eclipse.org/bugs/show_bug.cgi?id=329667 this and this was dated 2010 but is still a bug!

CDT offers no help for constructors, to reproduce try this:

class Test {
public:
    Test(int,int,int);
};

Now in a code block (IE main function or whatever) type "Test t" and press ctrl+tab you'll get function names (like tan and whatnot)
Use a second letter and you lose that, autocomplete offers nothing.

However "Test t = Test" will as will "Test t = Test(" I've tried many variations of this and it's always driven me mad, I end up resorting to using new and copying the syntax - which is a bad habit!

Alec


Back to the top