Search code examples
visual-studiooutline-view

How to show code outline in Visual Studio?


This kind of stuff exists in Eclipse:

alt text

But I've not found it in Visual Studio yet. Is there such a window to show code outline at all?

I tried both Document Outline and Class View windows. The Class View is close, but it only shows class information, can it come up with function info also?


Solution

    • not free, but if you install Visual AssistX, each document gets a dropdown box listing all methods in a file (alphabetically or in the order they occur)

    • check Class View again, it does show functions (but not per document). Also check out the Code Definition Window, extremely nice when combined with Class View.