Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Move to namespace functionality
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Predelnik
Senior Member

Russia
37 Posts

Posted - Jul 21 2015 :  07:29:47 AM  Show Profile  Reply with Quote
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.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 21 2015 :  8:16:44 PM  Show Profile  Reply with Quote
We are considering implementing this at some point:

case=34595

Thank you for pointing this out that rename already helps .
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000