Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Refactor does not knows about renamed files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mbobka
Ketchup Master

Russia
86 Posts

Posted - Jul 29 2006 :  4:21:21 PM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jul 30 2006 :  1:28:30 PM  Show Profile  Reply with Quote
confirmed.

case=1887

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000