Hi,
I am using a local enum in a class member function and auto-complete does not recognize the tokens. The code compiles fine of course. This was supposedly address in QTCREATORBUG-5456 but it seems they only fixed it for 'normal' functions.
e.g. enum Autocomplete works in this example
void foo() {
enum {val1, val2, val3};
int var = val1;
}
void foo() {
enum {val1, val2, val3};
int var = val1;
}
To copy to clipboard, switch view to plain text mode
Does not work here:
void myclass::foo() {
enum {val1, val2, val3};
int var = val1;
}
void myclass::foo() {
enum {val1, val2, val3};
int var = val1;
}
To copy to clipboard, switch view to plain text mode
I am using qtCreator v3.1.0 and MinGW v4.8.2 on win7x64.
Does anyone else see this or is there some other obscure reason for this not to work?
I don't know how to raise this issue with the Qt developers, can someone who has access bring it up?
Thanks for any help,
Eric
Bookmarks