Visual Studio's auto-documenting feature allows you to enter three slashes ('///') before the method to automatically generate XML-style documentation stubs, for example:
/// <summary> /// /// </summary> /// <param name="bar"></param> /// <param name="baz"></param> /// <returns></returns> public int foo(bool bar, string baz) { return 0; }
If I edit the signature and add a new parameter, is there a key combination for updating comments by adding a new line with the <param ...> ?
UPDATE: This feature is officially called “Smart Comment Editing,” and the full documentation for it is contained in the MSDN Programmer’s Guide under “ XML Documentation Comments ” ( Separators ). There is no mention of any “update” function, so the answer to this question is apparently “No”.
c # visual-studio-2012 keyboard-shortcuts
kmote
source share