Community
Participate
Working Groups
You get an error message in C++ Class Wizard if you select an existing class element in C/C++ Project view and choose 'Class' Context menu to create a new C++ class: Error: The wizard is not available for non C++ projects. This is confusing for user since the context is in a C++ project (the user might think that the class context menu is enabled for the selected C++ class to be able to create a nested C++ class for that element. Steps: 1. Just create a C++ Managed Make project and add a class C1 using C++ Class wizard - the C1.h and C1.cpp will get generated 2. r-click on C1 class under C1.h element (in C/C++ Project view) and choose 'Class' context to add a new nested class to your existing class Actual (Not as expected): the class wizard will come up but the dialog will display an error message:The wizard is not available for non C++ projects, and just Cancel button is enabled in this dialog Tesetd with: - Eclipse Platform/Version: 3.0.0/Build id: 200406251208 - Eclipse C/C++ Development Tools/Version: 2.0.0/Build id: 200406301134
PR was not targeted to any particular release. Changing target milestone to 2.1
Fixed in Head and branch. Now there is no error and the class gets added to the project owning the selected class or structure. Adding an internal class is just too complicated and needs special parsing capabilities that we currently don't have.