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
 Refactoring snippets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

fspafford
Senior Member

USA
45 Posts

Posted - Jul 20 2010 :  11:28:27 AM  Show Profile  Reply with Quote
I would like to use different VA snippets for Change Signature, Create Implementation, and Move Implementation.

Currently, it seems all three use the snippet titled "Refactor Create Implementation".

Is this supported?

I am using version 10.6.1827.0.

Regards,

Frank

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 20 2010 :  1:05:13 PM  Show Profile  Reply with Quote
No, currently you cannot do that.
Why do you need this? It seems logical to keep the format of create an implementation when when you change the signature (i.e. the name of a parameter). What type of differences would you like to make between these snippets?

Edited by - accord on Jul 20 2010 1:08:33 PM
Go to Top of Page

fspafford
Senior Member

USA
45 Posts

Posted - Jul 20 2010 :  4:32:34 PM  Show Profile  Reply with Quote
I wanted to add some extra lines to the snippet that would be appropriate when creating an implementation, but not when changing a signature.

For example, I might want to declare a set of variables that I use in new routines.

Regards,

Frank
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 21 2010 :  11:54:06 AM  Show Profile  Reply with Quote
You could create a new VA Snippet to declare these variables, and trigger it inside the new implementation once it has been created.

Or if you were going to run several Create Implementation refactorings in a row you could always add these variables to the VA Snippet, and remove them when done.

I suspect that the variables you want to use are going to change over time, and are not going to apply to every new implementation that you create.

zen is the art of being at one with the two'ness
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