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
 1727: Auto complete is inserting Constuctor
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kempus
Junior Member

12 Posts

Posted - Jun 29 2009 :  09:59:00 AM  Show Profile  Reply with Quote
When I type in a new method by hand, 1727 is inserting () after I auto complete the class name, e.g.

void CClassName() (i.e. the constructor) instead of

void CClassName (and then I type ::MethodName)

I'm sure I have only noticed this in 1727

Thanks
Tim

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 29 2009 :  3:53:36 PM  Show Profile  Reply with Quote
I've just typed this:

class cTestClass {};

void cTestClass::

but I didn't see any problems so far. I had been playing with this example for a while, tried different options, but I never got the "()".

Can you please try this simple example on your machine? If you cannot reproduce the effect with this source: can you please give some more details or a test-code?

I you were able to reproduce with my example: can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.
I will import the settings here to try to reproduce this (probably annoying) effect.
Go to Top of Page

kempus
Junior Member

12 Posts

Posted - Jun 30 2009 :  09:31:02 AM  Show Profile  Reply with Quote
Ok, I have reproduced it but it is very specific so probably not an issue. But here it is anyway...

.h is


class CTest
{
public:
	enum Numbers {One, Two, Three};

	CTest(void);
	~CTest(void);
};

then in .cpp

#include "Test.h"

CTest::CTest(void)
{
  CTe (auto complete here to type CTest::One)
}

CTe auto completes to CTest() inside any member of the CTest class. Note that if I add a CTest1 class and try it inside CTest1::CTest1, CTe autocompletes correctly to CTest.

Thanks
Tim


Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 30 2009 :  4:58:53 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=29030
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Aug 22 2009 :  7:28:05 PM  Show Profile  Reply with Quote
case=29030 is fixed in build 1731

Whole Tomato Software, Inc.
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