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
 AutoText - $ParameterList$ without defaults
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

peterchen
Tomato Guru

126 Posts

Posted - Nov 07 2006 :  03:52:30 AM  Show Profile  Reply with Quote
Is it possible to get an Autotext replacement wihtout the default arguments for "Refactor Create Implementation"?

currently using "Create Implementation" on a declaration like
void Foo(int x=0)

results in
void Foo(int x /*=0*/ )

butI'd like to have
void Foo(int x)


P.S. thank you thank you thank you for VAssistXRefactorContextMenu!

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Nov 07 2006 :  08:11:53 AM  Show Profile  Reply with Quote
Not currently. Are these default values causing a problem, or is this just a question of personal style? The other refactoring operations (e.g. Change Signature) handle them quite happily.

If you are trying to avoid seeing these then this is going to effect Change Signature as well, which also adds them when you add a parameter with a default value.

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

peterchen
Tomato Guru

126 Posts

Posted - Nov 07 2006 :  11:45:36 AM  Show Profile  Reply with Quote
It's "company style" - we aren't strict about it, but it is basically to allow commenting out larger sequences using /* */ (defaults get documented in the comment above)

>> If you are trying to avoid seeing these then this is going to effect Change Signature as well
Which would be quite good :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Nov 07 2006 :  1:29:27 PM  Show Profile  Reply with Quote
Since we already offer a degree of control over the formatting of new functions when refactoring this is a reasonable option to add, so I have put in feature request

case=3495

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

MHaggag
Junior Member

Egypt
14 Posts

Posted - Jun 07 2007 :  6:25:35 PM  Show Profile  Reply with Quote
Check this thread for a possible solution
Go to Top of Page

steinsomers
Ketchup Master

Belgium
65 Posts

Posted - Feb 04 2008 :  11:47:10 AM  Show Profile  Reply with Quote
Any news on case=3495?
The "control over the formatting of new functions when refactoring" we have is all in the VA Snippet Editor, right?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Feb 04 2008 :  3:27:27 PM  Show Profile  Reply with Quote
Currently no progress on this. Yes, VA Snippet editor allows you some control, but not total control.

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 26 2014 :  01:53:56 AM  Show Profile  Reply with Quote
case=3495 is implemented in build 2042 (see Refactoring page of VA Options dialog).
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