You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
gerol80
Posted - May 12 2011 : 08:19:52 AM Would it be possible to add a refactoring feature for namespaces?
For example: if you use the "Implement Interface" command on a class in a namespace, you end up with a cpp file that contains a lot of methods like the following:
void A::B::C::D::ClassE::MethodF() {...}
Now it would be nice to have a refactoring like "Add 'using A::B::C::D'" that would also remove all the then unnecessary namespace identifiers from the cpp file.
Or after typing "using A::B::C::D" by myself, a refactoring like "Remove A::B::C::D identifiers" would also do the job.
Additionally, if I select "Create Implementation" in the header file and already have the correct "using" statement in the cpp file, VAX should omit the full namespace in the method declaration.