Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1557 Change signature affects header only

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
d_p_robinson Posted - Jun 20 2007 : 07:22:23 AM
I have found the change signature feature frequently changes only the header file and not the implementation. Both files are writeable.

This occurs whether I start the operation from the header or the implementation.

VS6, XPSP2
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 20 2007 : 3:40:25 PM
Confirmed. Find References, Rename, alt-g all work perfectly for me with a "using namespace foo" line, but Change Signature only updates the header file. Oops.

case=7204
d_p_robinson Posted - Jun 20 2007 : 11:29:18 AM
Oops - this is not closed after all. I checked that ALT-G works both directions but didn't check that the change signature is now fixed. Sadly the same fault applies - only the header is modified.
d_p_robinson Posted - Jun 20 2007 : 10:34:37 AM
ALT-O works both directions. ALT-G only picks up the definition in the header file. I've checked that both header and implementation appear in OFIW. I've done the usual thing and closed/reopened VS.

I've tracked it down - this was due to a faulty 'using namespace' declaration in the implementation file. The code generation tool had put in 'using <namespace>::<class name>' instead of 'using namespace <namespace>'. Ho hum, time to pester someone else.

Thanks for your help.
feline Posted - Jun 20 2007 : 08:13:25 AM
If you use alt-o is VA able to take you to the matching file? Does this work in both directions?

Does alt-g work in both directions?

My first thought is that VA does not know about the cpp file. If the cpp file is not part of the project, so it is not listed in OFIW when it is closed then VA will not know about it, so it will not know to update it.

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