Class and variable renaming
-
I wonder if there is an easy way to rename a class including its source file in Visual Studio. Has .NET Studio any support for this :confused:? Variable renaming would also be a fine thing. Simply change the name in the class wizard and all occurences of the variable are renamed. This would make refactoring the code much easier when I change my code in the late stage of a project to clean up loose ends. Regards, Alois Kraus
-
I wonder if there is an easy way to rename a class including its source file in Visual Studio. Has .NET Studio any support for this :confused:? Variable renaming would also be a fine thing. Simply change the name in the class wizard and all occurences of the variable are renamed. This would make refactoring the code much easier when I change my code in the late stage of a project to clean up loose ends. Regards, Alois Kraus
-
I wonder if there is an easy way to rename a class including its source file in Visual Studio. Has .NET Studio any support for this :confused:? Variable renaming would also be a fine thing. Simply change the name in the class wizard and all occurences of the variable are renamed. This would make refactoring the code much easier when I change my code in the late stage of a project to clean up loose ends. Regards, Alois Kraus
Nope, you gotta do it the old fashioned way. Find/Replace. My guess why DevStudio doesn't have this feature is that it may be difficult to do accurately every time. They'd rather avoid the risk of renaming something inappropriately. Regards, Alvaro
Well done is better than well said. -- Benjamin Franklin (I actually prefer medium-well.)