Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1727: Auto complete is inserting Constuctor

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
kempus Posted - Jun 29 2009 : 09:59:00 AM
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
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 22 2009 : 7:28:05 PM
case=29030 is fixed in build 1731
accord Posted - Jun 30 2009 : 4:58:53 PM
I am seeing the same effect here. Thank you for the clear description.

case=29030
kempus Posted - Jun 30 2009 : 09:31:02 AM
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


accord Posted - Jun 29 2009 : 3:53:36 PM
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.

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