Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Refactor does not knows about renamed files

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
mbobka Posted - Jul 29 2006 : 4:21:21 PM
Steps to reproduce problem:
In VS.NET 2005
1.Create console windows project (let it will be named as "testprj")
2.In stdafx.h declare class:

class ABCD {
void aaa();
};


3.In testprj.cpp we implement aaa():

void ABCD::aaa() {
}

If we try to Rename "aaa" from stdafx.h, everything will be ok. But:

5.Rename from IDE's Solution Explorer "testprj.cpp" to "testprjxxx.cpp"
6.Try to Rename "aaa" from stdafx.h, Refactor will find references only in stdafx.h but testprjxxx.cpp will be skipped!

You can save, you can compile... but refactor will not know "testprjxxx.cpp". Only reloading of the project will help you.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 30 2006 : 1:28:30 PM
confirmed.

case=1887

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000