Author |
Topic |
|
fspafford
Senior Member
USA
45 Posts |
Posted - Jul 20 2010 : 11:28:27 AM
|
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
|
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 |
|
|
fspafford
Senior Member
USA
45 Posts |
Posted - Jul 20 2010 : 4:32:34 PM
|
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 |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Jul 21 2010 : 11:54:06 AM
|
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 |
|
|
|
Topic |
|