Using ghostdoc can help us generate more complete specificationsCodeNote: If the variable naming conventions are met, you only need to press Ctrl + Shift + d (default Hot Key ), the automatically generated annotation can fully express the purpose of our creation method or attribute, without the need to manually modify the annotation. In addition, it is powerful in its customability. We can customize the annotations we need through rule definitions. The following illustration shows how to customize annotations.
Under VS 2005 tools, select the next menu item of ghostdoc to open the ghostdoc configuration panel.
Select method and click Add to add a rule.
In the select summary field, click the button that appears at the end to configure the annotation template,
Double-click to select macro variables:
One way OK.
Write a method to test... move the cursor to the method name and press Ctrl + shit + D.
The same method can be used to define attributes and parameters, and export the current configuration for use after the next reinstallation.