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
 1534 - Create Implementation bad inserts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

swinefeaster
Tomato Guru

310 Posts

Posted - Sep 08 2006 :  5:22:53 PM  Show Profile  Reply with Quote
Seems lately, when I write a new function in the header, and then I go Create Implementation, the stub is placed *inside* another function in my cpp.

Are you guys working on this issue?

:(

jpizzi
Tomato Guru

USA
642 Posts

Posted - Sep 09 2006 :  12:47:24 AM  Show Profile  Reply with Quote
This is not happening for me. Which IDE? Is there anything the least bit unusual in the file where this happens? Is this repeatable? Is it happening for more than one header/cpp pair? More than one project?

Joe Pizzi
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Sep 09 2006 :  4:29:42 PM  Show Profile  Reply with Quote
there was a case about this effect, but it was fixed in a recent build. from memory the problem was with "Encapsulate Field" when there was a line like:

void EmptyFunction()   { }


in the same class. the newly created accessor functions would be placed into the empty function. does this help pin down why this is going wrong for you?

does your cpp file have un-matched curly brackets that might be confusing VA?

can you try adding a couple of blank lines to the bottom of the file, so it does not end with } followed by EOF, and see if that makes a difference.

i use Create Implementation a lot in VS2005, C++, and i have not seen this problem since the early beta's.

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