Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ Visual Assist X重命名符号是如何工作的?_C++_Visual Studio_Hungarian Notation_Visual Assist - Fatal编程技术网

C++ Visual Assist X重命名符号是如何工作的?

C++ Visual Assist X重命名符号是如何工作的?,c++,visual-studio,hungarian-notation,visual-assist,C++,Visual Studio,Hungarian Notation,Visual Assist,我想从一段庞大的代码中删除匈牙利符号,但我不确定插件如何处理替换。我的意思是-如果我有: void DoNothing(int *pNothing) { pNothing = 0; }; 我点击“pNothing”并用VA重构工具将其重命名为“nothing”,这只会在这个函数中重命名它,还是会在整个项目的每个函数和类中重命名所有名为pNothing的指针 重命名更改定义和所有引用,并在 用C/C++、C#和VB编程。重命名(可选)更改注释 还有绳子 因此,在您的示例中,它只会更改函数中的名称

我想从一段庞大的代码中删除匈牙利符号,但我不确定插件如何处理替换。我的意思是-如果我有:

void DoNothing(int *pNothing)
{
pNothing = 0;
};
我点击“pNothing”并用VA重构工具将其重命名为“nothing”,这只会在这个函数中重命名它,还是会在整个项目的每个函数和类中重命名所有名为pNothing的指针

重命名更改定义和所有引用,并在 用C/C++、C#和VB编程。重命名(可选)更改注释 还有绳子

因此,在您的示例中,它只会更改函数中的名称。但是,如果要更改类成员的名称,那么它将在整个解决方案中更改它


参考:

VA将仅在该功能范围内重命名它。但是你为什么不试试呢?VA也有预演,所以继续。。。