The Object Browser: Settings
Keyboard: CTRL + ALT + J
Menu: View -> Object Browser
Command: View.ObjectBrowser
Versions: 2008,2010
Published: 8/29/2010
Code: vstipTool0080
Have you ever used the settings button on the Object Browser? It's that button to the far right that looks like a piece of paper with a check mark in it:
There is quite a bit here to look at:
Containers vs. Namespaces
View Containers (default)-sets the highest-level items in the Objects Pane to physical containers, such as components, assemblies, source browser (.bsc) files, and output type libraries (.tlb). These expand to show the namespaces that are contained:
View Namespaces-sets the highest-level items in the Objects Pane to namespaces. Namespaces stored in multiple physical containers are merged. These expand to show the items that are contained:
Base and Derived Types
Show Base Types (default)-toggles showing the Base Types folder and contents.
Show Derived Types (default)-toggles showing the Derived Types folder and contents. Available only for Visual C++ projects and the .NET Framework.
Hidden Types and Members
Show Hidden Types and Members-toggles display of hidden types in the Objects Pane and hidden members in the Members Pane. Hidden items show up as dimmed items in the lists.
Public, Protected, Private, and Other Members
Show Public Members (default)-members that are public or protected are displayed for users:
Show Protected Members (default)-members that are protected are displayed for users:
Show Private Members (default)-members of all accessibility levels are displayed for users:
Show Other Members (default)-members that do not fall into the category of public, protected, private, or inherited.
Inherited Members and Extension Methods
Show Inherited Members-toggles display of inherited members in the Members pane:
Off
On
Show Extension Methods-toggles the display of extension methods in the Members pane:
At the time or writing, I don't think this feature is working correctly in VS2010 so use at your own risk.
Comments
Anonymous
September 01, 2010
Somehow my comment get dropped... Anyway, what are hidden types and hidden members?Anonymous
September 08, 2010
Hey Daniel :) Check out this post for info on hidden members: blogs.msdn.com/.../mark-methods-and-types-as-hidden-from-intellisense-and-the-object-browser-vstiptool0088.aspxAnonymous
July 22, 2011
Show base types and Show Derived types simply doesn't show up in the class view settings or the object browser view. Is there something missing on my machine? I'm using VS 2010 Ultimate SP1.