Community
Participate
Working Groups
Using 8.0.0.201103231204 class Bar { enum { foo }; }; Try Open Element (ctrl+shit+t) for foo, it will not open the element.
This works for me. Dumb question: Did you check the enumerator option in the dialog?
(In reply to comment #1) > This works for me. Dumb question: Did you check the enumerator option in the > dialog? Yes it is checked and if I move it out of the class then it works. Just tested again with CDT 8.0.0.201103281202 with a clean workspace. I should add that foo shows up in the Matching elements but has no Qualified name and location.
I see what you mean.
Created attachment 192208 [details] fix
Fixed in 8.0
*** cdt cvs genie on behalf of mschorn *** Bug 341008: Open element for enumerators nested in classes. [*] IndexCPPTemplateResolutionTest.java 1.71 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPTemplateResolutionTest.java?root=Tools_Project&r1=1.70&r2=1.71 [*] PDOM.java 1.160 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOM.java?root=Tools_Project&r1=1.159&r2=1.160
(In reply to comment #5) > Fixed in 8.0 Great, thank you!