Вопрос

I want to remove the Hungarian Notation from a gigantic piece of code,but I'm not sure how the addon handles replaces.I mean - if I have:

void DoNothing(int *pNothing)
{
pNothing = 0;
};

And I click on 'pNothing' and rename it to 'nothing' wiht the VA refactor tool,will that only rename it only in this function or will it rename all pointers named pNothing in every function and class in the entire project?

Нет правильного решения

Другие советы

Rename changes the definition and all references, and declaration when programming in C/C++, C# and VB. Rename optionally changes comments and strings.

So in your example, it will only change the name in the function. But if you were to change a name of a class member, then it will change it in your entire solution.

Reference : http://www.wholetomato.com/products/features/rename.asp

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top