Author |
Topic |
|
tragib
Junior Member
USA
15 Posts |
Posted - Nov 23 2005 : 10:37:27 AM
|
I'm using VAX 1432 within VS 2005 Pro in a C# project. When VAX is enabled, the IDE selects the correct types in Intellisense, but the tooltip for the type is incorrect. When I hit the tab key to insert the selection, the incorrect type is inserted. The inserted type is always off by one. It is consistantly the type previous in the list. If I disable VAX, the tooltip is correct and the proper type is inserted.
VAX Enabled
VAX Disabled
Any ideas? I've tried changing the VAX listbox property to tell it to get it's content from the default intellisense, but it doesn't make a difference.
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Nov 23 2005 : 3:24:09 PM
|
does this happen for all types? does it only happen after new? do you have the time to try the following basic experiment:
create a new C# windows form project in the main function insert "MessageBox"
do you get the correct tooltip as you type to select MessageBox in the listbox? do you have to scroll in the listbox to get the incorrect tooltip?
do you have any other addin's installed? |
zen is the art of being at one with the two'ness |
|
|
tragib
Junior Member
USA
15 Posts |
Posted - Nov 23 2005 : 5:02:14 PM
|
I found the problem. There is something odd going on with VAX and how it handles a private delegate. Consider the code below...
using System; namespace ConsoleApplication1 { class Program { private delegate void ATestDelegate();
public static void Main() { } private void Test() {
<-- Press Ctrl-Space right here to invoke intellisense... } } }
You will notice that everything up to the point where 'ATestDelegate' should be alphabetically inserted is ok. After that point, the tooltips are out of sync with the current item in the intellisense list.
I verified this occurs in C# on VS 2005 Pro as well as VS 2003 Pro on multiple computers with the exact same behavior.
VB in VS2005 exhibits the same problem as well, but not in VS 2003.
If the delegate is made public or internal, everything works fine.
HTH, Travis |
Edited by - tragib on Nov 23 2005 5:40:36 PM |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Nov 24 2005 : 3:04:18 PM
|
i am seeing the same thing, a good catch
for me in VS2003 the tooltips are off by one, but the correct item is inserted. while in VS2005 the tooltips are off by one, and the wrong item is inserted, which matches the tooltip. nasty.
case=892 |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Nov 25 2005 : 3:53:36 PM
|
Fixed in 1434. |
|
|
|
Topic |
|