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
Qt Code:
  1. void foo() {
  2. enum {val1, val2, val3};
  3.  
  4. int var = val1;
  5. }
To copy to clipboard, switch view to plain text mode 

Does not work here:
Qt Code:
  1. void myclass::foo() {
  2. enum {val1, val2, val3};
  3.  
  4. int var = val1;
  5. }
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