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
 Technical Support
 Q: Change Sig w/o commenting default args?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mordachai
Tomato Guru

USA
224 Posts

Posted - Feb 06 2014 :  12:34:29 PM  Show Profile  Reply with Quote
Is it possible to configure things so that specifying default args using change signature doesn't add them as comments to the implementation signature?

I hate the /* = XXXX */ littering my code.

.h should be:

bool fun(int arg = DEFAULT_COUNT);

.cpp should be:

bool fun(int arg)
{
...
}

accord
Whole Tomato Software

United Kingdom
3163 Posts

Posted - Feb 06 2014 :  4:56:40 PM  Show Profile  Reply with Quote
Not currently. But this is on our list of things to do:

case=3495
Go to Top of Page

Mordachai
Tomato Guru

USA
224 Posts

Posted - Feb 07 2014 :  09:54:06 AM  Show Profile  Reply with Quote
Thanks. I'll look forward to this one. Hopefully, being a trivial feature request, it can just happen soon.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
15980 Posts

Posted - Feb 11 2014 :  4:28:16 PM  Show Profile  Reply with Quote
This is down as a high priority item, so hopefully this will be done fairly soon, but unfortunately I don't currently have a time scale for when this will be done.

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2640 Posts

Posted - Jun 26 2014 :  01:48:24 AM  Show Profile  Reply with Quote
case=3495 is implemented in build 2042 (see Refactoring page of VA Options dialog).

Edited by - sean on Jun 26 2014 01:52:15 AM
Go to Top of Page

Mordachai
Tomato Guru

USA
224 Posts

Posted - Jun 26 2014 :  09:20:18 AM  Show Profile  Reply with Quote
Awesome! :D
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000