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
 Autocomplete remove if(
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SaloS
Junior Member

23 Posts

Posted - Aug 24 2007 :  06:17:09 AM  Show Profile  Reply with Quote
Very inconvenient problem appear after installing VAX 1559 (I had 1549).
If you type 'if('and thren start typing identifier and select from completion list 'if(' is removed and only identifier is kept on line.

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 24 2007 :  08:53:13 AM  Show Profile  Reply with Quote
That's not supposed to happen. Which IDE are you using?

using VS2005 and VA 1559 I have just added the following code to a cpp file:

static void testIfStatement()
{
int nVariableOne, nVariable2;
if(nva|
}

as I continue typing at this point I get a VA suggestion listbox (question mark icons) suggesting the two local variables. I have tried accepting both of them, and the "if(" is never removed.

How easily can you reproduce this problem?
Do you have any other plugin's installed?

zen is the art of being at one with the two'ness
Go to Top of Page

DrB
Senior Member

28 Posts

Posted - Aug 24 2007 :  2:49:58 PM  Show Profile  Reply with Quote
This started happening to me with 1559 as well. VS2005, C#.

It only happens occasionally, and may be related to typing speed. The "if (.." usually gets replaced with garbage for me (some random function name).
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 27 2007 :  12:00:20 PM  Show Profile  Reply with Quote
When you type "if" are you accepting any form of listbox, or just typing "if(" regardless?

What sort of listbox are you seeing after typing "if"? Specifically what icons are you seeing in the listbox? If you are seeing a VA suggestion listbox then the entries will have a question mark icon. If you are seeing an autotext listbox then the entries will have an 'A' icon. If you have a standard IDE completion listbox then the list will be quite long, and you will have a mixture of icons.

So far I cannot reproduce this in VS2005 with C#, even when typing quite quickly.

If you make a new default C# project do yo still see the same problem? I am wondering if this is somehow solution, or even file specific.

zen is the art of being at one with the two'ness
Go to Top of Page

Dany
Senior Member

Germany
41 Posts

Posted - Aug 29 2007 :  01:31:59 AM  Show Profile  Reply with Quote
I got a similar behavior here.
When I sometimes try to type in something like
if (myvar is sometype)
or
(myvar as sometype).foo()
the "is" respectively "as" are overwritten by "sometype".
This happens - as far as I remember - on bigger files (> 4000 lines) and after running the IDE (VS2005 Team SP2 on XP SP2) longer than 4 hours or so. I just can't say for sure, because
quote:
It only happens occasionally, and may be related to typing speed. (DrB)

Next time I see this behavior I'll try the "new default C# project" for a test...

Edit:
It happened once while typing swiftly but it was not directly reproducible a second time. Thus starting with a new project won't be sufficient IMHO...
But this time (File length 263 lines) it replaced the object variable and the dot!
myvar.ToSt //typed in
ToString   //result with intellisense (Tab key) completed

Dany

// using VAX in C# of VS2010 SP1 (en), Win 7 SP1 (de)

Edited by - Dany on Aug 29 2007 05:07:43 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 29 2007 :  07:36:08 AM  Show Profile  Reply with Quote
Interesting, this reminds me of a recent forum thread. Dany I have emailed you about this.

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