You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
Nels_P_Olsen
Posted - Aug 25 2008 : 11:09:50 AM I'm using build 1647 with C# in VS2008.
Inside a class, when I type "override", I get the expected suggestions plus a bunch of inappropriate code snippets. The suggestions dropdown defaults to Equals(object obj), and is followed by:
false float for () { ... } for loop forward for loop reverse foreach () {} ...
The inappropriate code snippet suggestions go away if I disable VA X.
1 L A T E S T R E P L I E S (Newest First)
feline
Posted - Aug 27 2008 : 11:15:06 AM I am seeing the same thing here. If you have turned on:
VA Options -> Advanced -> Listboxes -> Allow Acronyms and Shorthand
then it is very easy to filter out / ignore these VA snippets.
The bigger question is should they be here. Clearly the ones you have listed here are not helpful, but what if you have defined a VA snippet that inserts a useful stub / default method for overriding a common operation? I can certainly make a case that this is useful behaviour, but I am not sure it is a good case