I've been using Resharper for TDD a lot and I was wondering whether there's a shortcut to navigate to my last edit prior to using "introduce variable" refactoring. For example:
var returnedValue = Class.TestMe("somevalue"
var somevalue = "somevalue";
var returnedValue = Class.TestMe(somevalue<==cursor location after goto last edit
If I introduce a variable for "somevalue", I can use the goto last edit shortcut to return to the location of the TestMe method parameter as long as I don't override the default variable name.
However, if I rename the variable, go to last edit correctly returns to me the location where I renamed the somevalue. Is there a navigation shortcut to navigate to the last location prior to "introduce variable" refactoring? For example,
var changedVariableName = "somevalue";
var returnedValue = Class.TestMe(changedVariableName<=return cursor HERE after renaming the newly introduced variable