locked
Browse information RRS feed

  • Question

  •  

    I'm trying to build a VS AddIn and have been researching how to do it.  I've been able to piece together most of it from the samples, but I haven't figured out how to do this next bit:

    I need to know what code objects (classes, methods, members, namespaces,etc.) are currently defined in all the projects in the solution.  Ideally, I'd like to know the type, name, source file and source line of all of these objects, and moreover, I'd like to be able to subscribe to an event source to let me know when that data changes.

    Is there a sample or something that shows something similar?  I've found quite a few examples of how to provide that sort of information through implementations of IVsLiteTreeList and IVsObjectList2, but my attempts at consuming these interfaces have all ended badly.

    Friday, February 23, 2007 1:28 AM