Get rid of Hungarian notation in C # code in automatic mode?

I have a large code base that Systems Hungarian uses for most variable names, which basically means that I have a lot of objQueue , objCommon , dtDataSet et cetera.

Is there a way to convert most of them? Moreover, I want to get rid of annoying obj ones that have absolutely no sense, make the variable names look alike, and the code is completely unreadable.

There was a similar question , but he asked if it was worth making a replacement.
Answers such as "leave it as it is" are not suitable for me because I am definitely sure that I need to do this.

The code base is really big, and I don't want to rename the variables one by one. I also do not want to run Find and Replace, because I get even more false images and spoil the code.

Is there any automated tool for such replacements in Visual Studio? Some add-ons for resharper what?

+6
visual-studio resharper code-cleanup hungarian-notation
source share
2 answers

Alas, there does not seem to be a rename tool for C #. Please correct me if I am wrong.

+2
source share

One solution would be to use something like the Visual Assist rename function.

In addition, a very careful search is not performed (with an assembly between each modification, followed by registration with the original control).

+1
source share

All Articles