Is there and easy way to remove the IF/End If structured pairing. Being able to do this in one keystroke would be nice (I also use Refactor! Pro)
Right now this is what I do:
- Delete the IF line
- Watch Visual Studio reformat the code to line up correctly taking into account that the IF is Missing.
- Navigate to the End If
- Delete the End If line
i.e. In the following example I want to change the code from
IF Value = True Then
DoSomething()
DoSomething2()
End IF
To
DoSomething()
DoSomething2()