Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Autocomplete remove if(

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
SaloS Posted - Aug 24 2007 : 06:17:09 AM
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.
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 29 2007 : 07:36:08 AM
Interesting, this reminds me of a recent forum thread. Dany I have emailed you about this.
Dany Posted - Aug 29 2007 : 01:31:59 AM
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
feline Posted - Aug 27 2007 : 12:00:20 PM
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.
DrB Posted - Aug 24 2007 : 2:49:58 PM
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).
feline Posted - Aug 24 2007 : 08:53:13 AM
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?

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