Community
Participate
Working Groups
Created attachment 248845 [details] Bug's screenshot IDE doesn't qualify an enum when generating a method. Steps to reproduce: 1) Add class to a project. For example a class Test. We will get test.h and test.cpp files. 2) Open a header and create an enum in a class Test. For example enum Color {red, blue}; Then create a func 'Color getColor() const;' 3) Choose 'Implement method...' and preview will show us the code to be generated. The code has wrong return type: enum is out of scope. There should be Test::Color instead of Color.
New Gerrit change created: https://git.eclipse.org/r/156210
Gerrit change https://git.eclipse.org/r/156210 was merged to [master]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=86f2ad33017fe71b4aac7c91597fa666ffb5d533