Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1549: Incorrect autocomplete with C# generics

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
amp44x Posted - Mar 31 2007 : 1:25:13 PM
In VS2005 (SP1), when using the keyword new when trying to instantiate a C# generic object, the type does not appear in the auto-complete list.

Steps to repeat:
1. Enter in the following code:

   using System.Collections.Generic;
   namespace Test
   {
      public class TestClass
      {
         List<int> someList = new
      }
   }

2. once new is entered, an auto-complete list will appear.


Expected Behavior:
List<int> should appear in the auto-complete list.



Actual Behavior:
List<int> is missing from the auto-complete list.



"Get content from default Intellisense" is checked off. Setting this had no effect.

Version Info:
VS2005 SP1
VA_X.dll file version 10.3.1549.0 built 2007.03.16
VAOpsWin.dll version 1.3.4.8
VATE.dll version 1.0.6.2
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Fixedsys 13(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Apr 14 2007 : 12:11:02 AM
Fixed in build 1553.
feline Posted - Apr 13 2007 : 1:06:35 PM
This is fixed in the next build, which should be posted in the next few days.
DrB Posted - Apr 12 2007 : 4:46:33 PM
Rolling back to 1544 solved this problem for me. I hope it isn't too long before this gets fixed.

Thanks!
feline Posted - Mar 31 2007 : 3:02:30 PM
I am seeing the same effect here. Thank you for the clear description.

case=5769

"Get content from default Intellisense" does not have any effect in C#, it is only used in C/C++, which is why changing this option does not help.

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