Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Refactoring of C++ namespaces

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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.
2   L A T E S T    R E P L I E S    (Newest First)
ChrisG Posted - Jun 18 2020 : 01:35:47 AM
case=20637 is fixed in build 2380.
https://support.wholetomato.com/default.asp?W404#2380
accord Posted - May 12 2011 : 11:57:04 PM
We are considering doing these at some point:

First suggestion is covered by:
case=33328

Last suggestion is covered by:
case=20637

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000