views:

39

answers:

4

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?

UPDATE

I tried both doucument outline and class view,and class view is close,but it only shows class information,can it come up with function info also?

A: 

You can use the Class View Window, or you can use outlining to collapse the code window to definitions (Ctrl-M-O and Ctrl M-L in the standard keyboard set up)

Ray
A: 

you can have document outline window by going to view-> Other Window -> Document Outline or you can have it using Ctrl+W, U I am using VS-2008. You can have a look at the following links also:

http://wildermuth.com/2008/06/06/The_Document_Outline_in_Visual_Studio_2008
http://dotnetkicks.com/tipsandtricks/Visual_Studio_2008_Document_Outline_Split_View

Hope this answers

Mohin
+1  A: 
  • 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.

stijn
I'm also using Visual AssistX, and I can really recommend it. It's actually quite essential if you're developing C++ in Visual Studio.
Patrick
Is there a free one?
Alan
not that I know of, but as said, Class View is the closest match
stijn