Turn off 'Hide Advanced Members'!

I'm not sure why this is a default option for VB.NET, but if you look at VS.NET's options for VB.NET (Tools, Options, Text Editor, Basic) there's an entry "Hide Advanced Members". It's turned on by default. According to the docs:

When selected, certain members internally marked as "advanced" are hidden from view in the statement completion list. Advanced members are those that exist only for infrastructure purposes, but must be available to view. This option allows you to filter them from view if you do not need to see them.

I can't see any reason you'd want to hide a method/property/event/etc... of a class. And this came to light yesterday when I was helping someone who ran into the same problem I did with COM-Interop and Property statements. I mentioned the "let_Value" method and at his workstation we typed the object and then hit "." -- no "let_Value" method in Intellisense. I was stumped! I was positive the name of the method was "let_Value". I reviewed my blog and was correct -- it's "let_Value". Then I remembered that goofy setting. Turned that off and up popped the "let_Value" method.

One of the first things I do on a new VS.NET install is turn that option off.

1 Comment

Comments have been disabled for this content.