T O P I C R E V I E W |
fspafford |
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. |
3 L A T E S T R E P L I E S (Newest First) |
feline |
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. |
fspafford |
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. |
accord |
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? |