Juggernaut
New Member
Sweden
6 Posts |
Posted - Sep 07 2008 : 03:46:08 AM
|
Build 1647 / VStudio 2008 / C#. Sometimes I get these strange suggestions. As soon as I hit "space" my keyword is replaced with the one in suggestion box (in this case #if). (I have "complete suggestions with" - Tab only). I must press Esc (or backspace) to get rid of it, finish typing keyword, but then it pops up again on the next keyword (e.g. when I start to write "public") ____________________________________________________________
____________________________________________________________ The TNodeAttrEnum is a generic declaration, i.e. public class Foo<TNodeAttrEnum> : Base
(If I disable VA VStudio correctly supplies "abstract" as a suggestion).
|
|
feline
Whole Tomato Software
United Kingdom
19024 Posts |
Posted - Sep 10 2008 : 10:10:55 AM
|
That is a completion listbox, not a suggestion listbox. The number of items and the filtering toolbar show this. Not that this really helps explain where it came from.
Do you have:
IDE tools menu -> Options -> Text Editor -> C# -> IntelliSense -> Show completion list after a character is typed
turned on or off?
Once a completion listbox appears the IDE seems to assume that it must be correct, so it likes to accept the selected item, which is why the listbox is being accepted. The problem is that it is appearing and listing the wrong content. |
zen is the art of being at one with the two'ness |
|
|