|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Collapse to Definitions and copy/pasteI have a very large class library and I need to provide documentation. I need
a list of all methods but I don't need the underlying code so the collapse to definitions form is great. However, if I copy the code editors contents when it is collapsed then paste it into MS Word it expands into full code. Any thoughts? -- mark b You can do that easily with a macro or add-in, iteraring the files as
explained in my article: HOWTO: Navigate the files of a solution from a Visual Studio .NET macro or add-in http://www.mztools.com/articles/2006/MZ004.htm and for each ProjectItem, you use ProjectItem.FileCodeModel.CodeElements and iterate the code elements recursively. There is already a built-in feature in my add-in (below) that can help you: the Generate XML/HTML documentation feature. It works generating a XML file with all the information of your code. Then you can use a XSLT file to filter the content and render it as HTML. If you need help with either approach let me know. -- Show quoteHide quoteBest regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for Visual Studio You can code, design and document much faster: http://www.mztools.com "mark" <m***@discussions.microsoft.com> escribió en el mensaje news:55390E8E-D804-46F0-B4B0-6D1ECD6D7803@microsoft.com... >I have a very large class library and I need to provide documentation. I >need > a list of all methods but I don't need the underlying code so the collapse > to > definitions form is great. However, if I copy the code editors contents > when > it is collapsed then paste it into MS Word it expands into full code. > > Any thoughts? > > > > > > > -- > mark b
Show Modal, then Again
TopMost without SetFocus Get associated icon for a file A question about finding class methods in the Help WEBREQUEST AND WEBRESPONSE PROBLEM Assigning a Value to a Structure Pointed to by a Tag ? VB.NET profiler Listbox idiotic example progress bar right to left Importing XML File into an Empty Access Table |
|||||||||||||||||||||||