Bug 282984 - C++ elements on the PE cannot be moved into empty C++ containers (file/class/namespace)
Summary: C++ elements on the PE cannot be moved into empty C++ containers (file/class/...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 5.0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 04:59 EDT by Pavan V CLA
Modified: 2020-09-04 15:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavan V CLA 2009-07-09 04:59:37 EDT
Steps to reproduce :

1. Create a C++ project
2. Add 2 classes C1 and C2 to the project
3. On the project explorer drag and drop C2 onto C1.

Its seen that there is no change to the project structure, while the expected result here would be for C2 to be a nested class of C1 (when dragged onto C1)

This applies to any C++ element drop onto an empty file/namespace as well

CDT moves the element to the same scope level at which it was dropped at. This is a limitation for the case described above