T O P I C R E V I E W |
tomkulaga |
Posted - Jul 06 2015 : 10:00:44 PM I have the following code:
namespace tt { namespace dd { class ff {}; } }
when i select the line containing the class declaration, and choose "Move Selection to new file", it moves and keeps the indent level, but does not keep it in the same namespace.
Can this been an option in the Move To New File dialog to preserve the namespace of the selection?
|
2 L A T E S T R E P L I E S (Newest First) |
tomkulaga |
Posted - Jul 06 2015 : 10:46:05 PM Excellent thanks.
|
accord |
Posted - Jul 06 2015 : 10:28:22 PM We are planning to add a "move class to new file" refactoring command:
case=31484
It will be the proper way to do it, since "Move Selection to new file" was designed to work on any selection regardless of the context, as a "pure", simple command. |
|
|