我最近寫了很多VC++ 2008/CLI軟件和現在用的是C#/ CLI風格的文檔:有什麼辦法讓Visual Studio 2008自動更新.net樣式的註釋?
/// <summary>
/// Function the does stuff
/// </summary>
/// <param name="someParam">Specifies some option</param>
/// <returns>true if it worked</returns>
bool DoStuff(bool someParam);
我發現自己重新輸入這些塊相當頻繁和坦率地說,它變得重複。在創建新函數定義或更新現有定義時,是否有任何方法讓Visual Studio自動創建/更新這些塊?
視覺輔助系統應該幫助:http://www.wholetomato.com/products/features/documentMethod.asp – 2010-04-07 15:28:11
這不是對於C++而言,但是對於C#和VB(以防其他人發現它有用):GhostDoc,http://submain.com/products/ghostdoc.aspx – 2010-04-07 15:35:18