Reputation: 18299
I'm using Visual Studio 2010, and am working in a large C# solution. I want to get a list of all enums in the solution. Can I do this? The object browser doesn't seem to allow me to filter to certain types of objects. (Also curious how I would get a list of all classes, interfaces, methods, etc.)
Upvotes: 4
Views: 2436
Reputation: 2203
If you need to find enum
s generically I think your best bet is Find with Look In: = "Entire Solution"(shortcut Shift+Ctrl+F). Expand "Find options" check Use: and select "Regular expressions" in the dropdown. And Find: = "(public|private|internal) enum".
Upvotes: 3
Reputation: 62265
From Visual Studio
VIEW-> CLASS VIEW , after from the filter, like from image
select only "Show only base types", and in search text box
type "enum".
Should mantion that I have Italian language Visual Studio
, so menu items I translated to english by myself, may be in English version the name is not exactly the same, but I hope it will give you a hint by the way.
Upvotes: 3
Reputation: 6612
not sure if you are looking out for this but you can view a class diagram of your project on a right-click.
http://msdn.microsoft.com/en-us/library/33864ckt.aspx
Upvotes: 0