Reputation: 948
I'm looking for an equivalent feature in Visual Studio to the drag-in-drop in Eclipse's Outline View. Specifically, after opening the class you were editing in Outline View, you saw all the methods in the class in the physical order they were in (not sorted alphabetically). You could to click on Method 1 and drag it above Method 2, moving all of the code from method 1 physically above Method 2's code. This was very useful for organization.
I looked at Class View in Studio, and while Class View does list all the methods in a class, it lists them according to an order you define (which obviously can't be dragged to rearrange). Is there any feature in Studio that allows you to view the physical layout of a class and rearrange it by dragging the methods?
Thanks, Alec
Upvotes: 10
Views: 5787
Reputation: 4620
VSCommands 2010 has a file structure feature that works with different kind of files in its free version.
Upvotes: 5
Reputation: 16293
I've started using an extension called "VS10x Code Map v2" found in the extension manager. Its really nice and intuitive so far.
Upvotes: 0
Reputation: 340366
Whole Tomato's Visual Assist X has a "VA Outline" feature that has this capability:
Not free, but considered by many to be worth the cost.
Upvotes: 1
Reputation: 103375
I don't believe there is a direct equivalent in Visual Studio 2010. The closest I've found is the File Structure window, which is provided by Resharper (a great commercial plug-in). This will show you members in their actual order and let you re-arrange things.
Upvotes: 14