Author |
Topic |
|
Chris Nahr
Ketchup Master
92 Posts |
Posted - Oct 06 2004 : 07:13:55 AM
|
Steps to reproduce in Visual Studio 2003:
1. Create new C# solution.
2. Type the following in a new line: if (foo bar >) 3. Place the cursor in front of "bar" and type an opening angle bracket (less-than sign).
4. VAX pops up a type completion list, apparently thinking that I'm about to use a C++ template.
Now you might think, who would be so insane to type things like "(foo bar >)" in the first place? Well, this actually happens quite frequently when the original line was "(bar > foo)" and I'm reversing the direction of comparison via cut & paste...
Right now, template sensing should simply be turned off in C# mode. I guess you'll have a problem when C# 2.0 is released, though, which will have generics with angle brackets like C++.
How are the C++ users dealing with this issue, by the way? Do you simply never cut & paste around greater-than comparisons? |
|
ivan
Ketchup Master
Russia
75 Posts |
Posted - Oct 06 2004 : 09:25:56 AM
|
quote: Originally posted by Chris Nahr
How are the C++ users dealing with this issue, by the way? Do you simply never cut & paste around greater-than comparisons?
Simple: VAX just doesn't show any completion lists when we do that ;) |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Oct 06 2004 : 1:17:27 PM
|
Next build will not suggest C++ templates when editing C#.
case=350 |
Edited by - support on Oct 06 2004 1:35:46 PM |
|
|
Chris Nahr
Ketchup Master
92 Posts |
Posted - Oct 08 2004 : 04:01:49 AM
|
As discussed in e-mail, this is actually a bug with the default IntelliSense of VS 2003, not VAX. Sorry! |
|
|
|
Topic |
|