Live Template multiple insertion points

I have a common scenario where I need to add a property to a class, then assign it a value in an Init(object initFrom) function, and then transfer that value in a Transfer(object toThisObject) function. The names Init, Transfer and their parameters can be assumed to be constant. This is easy to do in a file template, but I am often adding these properties after the file has been created. Is this possible with a Live template? I have done it in the past with a VS macro, though those no longer exist.






Please sign in to leave a comment.