How do you supress renaming on code rush temporarily because each time I rename a local variable it has this green box on it and even changes my commented code (that uses the local variable I am using)
Example:
Consider this method:
public static tblBadorder GetBadOrderByBadOrderID(int badOrderID)
{
tblBadorder User = db.Select.From<tblBadorder>().Where("BadOrderID").IsEqualTo(badOrderID).ExecuteSingle<tblBadorder>();
return User;
}
If I accidentally hit rename on "tblBadorder" ( I hit CTRL + ` )
tblBadorder User = db.Select.From<tblBadorder>().Where("BadOrderID").IsEqualTo(badOrderID).ExecuteSingle<tblBadorder>();
I would click away from the variable type to prevent renaming, However If I want to change the User type to "tblOrders":
tblOrders User = db.Select.From<tblBadorder>().Where("BadOrderID").IsEqualTo(badOrderID).ExecuteSingle<tblBadorder>();
The rename binding and the green box wont disappear. Hence If I do this It would change the name of tblBadorder Class and other files that reference to it.