Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Move to namespace functionality

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
Predelnik Posted - Jul 21 2015 : 07:29:47 AM
Currently I can move function/class to namespace by renaming to [namespace_name]::[name], wrapping it in
namespace [namespace_name] { ... }
, removing [namespace_name]:: where it is not needed like in function constructor names, etc.

I think that it's partially hacky way after all and it can't be easily used to move class out of namespace, and also not adding [namespace_name]:: could be done automatically, so it would be useful if functionality "Move to (Other) Namespace..." would be added.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jul 21 2015 : 8:16:44 PM
We are considering implementing this at some point:

case=34595

Thank you for pointing this out that rename already helps .

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