Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Suggesion box replaces my code with wrong keywords
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Juggernaut
New Member

Sweden
6 Posts

Posted - Sep 07 2008 :  03:46:08 AM  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000