共用方式為


Add Code Wizard

Craig made a post over at his blog, giving the location of a new toy called “Add Code Wizard”. Here is a description of the sample:

https://blogs.msdn.com/craigskibo/archive/2004/04/26/120773.aspx

“Visual Studio allows you to create wizards and templates for adding new projects or adding items to a project, but it does not allow you to create templates and wizards for bits of code within a file. This Add-in enables that. Suppose you have a C++ project and you want to insert a new class into an existing file. Simply open your file, make it the active document, and select the Tools | Add Code Wizard menu item. You will be presented with an Add Item-esque dialog box where you can select a template. If the template has the .vsz extension, then the file is launched as a wizard. If the file is of any other type, then it is inserted into the text document.”

Here is the workspace:

https://www.gotdotnet.com/Community/Workspaces/Workspace.aspx?id=d15b3a8b-e363-45e2-96d4-d73a83516fdc

Here is the download location:

https://www.gotdotnet.com/Community/Workspaces/viewuploads.aspx?id=d15b3a8b-e363-45e2-96d4-d73a83516fdc