Hi,
I don't know if this is possible, but I would like a code snippet that prompts for some data, and then generates stuff with it. (Sounds very vague, I know). Let me give an example:
I want to create a code snippet for the reactive-ui properties like this:
private bool _IsConnected;
public bool IsConnected
{
get { return _IsConnected; }
set { this.RaiseAndSetIfChanged(x => x.IsConnected, value); }
}
I want VS2012 to propmt for the type and the name of the property (so in this case i could fill in "bool" and "IsConnected"). When you encapsulate a field (with the standard Refactor=>Encapsulate field), it prompts for the name you want to give to the
property.
Can this be done? If so, how?
Sincerely, Brecht