What is the best way to display the Members in the current file in VS2008?
SCENARIO: You open a file with Ctrl + D and then type “>of ” and SomeFilename, then press Enter and you end up in the newly opened file. Now if you don’t remember a method’s name or a member’s name, you might try to incrementally search (Ctrl+I) and/or various search options, but what I want to know is how can I see/open/scroll-through/etc the Member combo box (or similar alternative).
Any ideas?
EDIT: I know about the Navigation Bar (it is “on” by default for c#), and that’s exactly what I want to do, go there without using the mouse. There’s a keyboard shortcut: Window.MovetoNavigationBar
which is so far the only option i’ve found. But you need to press Tab to move from types to Members.
Andrew is right.
Alternatively, there is Object Browser. Ctrl + Alt + J
EDIT: The shortcut is Ctrl + F2.
And, you will have to hold it together for little more than a second to reach the dropdown.
You can press Alt + ↓ to drop the combobox.
While you are in the "Types" dropdown, you can press Tab to move to the "Members" dropdown.
Use the navigation bar at the top of the IDE - the one on the right hand side lists all members of the current type.
If you don't see the navigation bar then you can enable it this way:
Tools > Options > Text Editor > All Languages > Navigation Bar
Buy ReSharper and use its File Structure window. Ctrl + F11.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With