Small extension which will paste in the value of an assignment into the place where the expression came from. This is particularly useful when pulling a method call from a parameter from a call to another method into a local variable. For example if you want to save the result of Bar() to a local variable from the line Foo(Bar());, if you cut Bar() out and assign it to the variable savedBar the extension will change Foo(Bar()); into Foo(savedBar);, saving you the need to do so yourself. |