Auto generate function documentation in Visual Studio

后端 未结 8 1842
醉梦人生
醉梦人生 2020-12-13 01:43

I was wondering if there is a way (hopefully keyboard shortcut) to create auto generate function headers in visual studio.

Example:

Private Function          


        
8条回答
  •  春和景丽
    2020-12-13 01:53

    ///
    

    is the shortcut for getting the Method Description comment block. But make sure you have written the function name and signature before adding it. First write the Function name and signature.

    Then above the function name just type ///

    and you will get it automatically

提交回复
热议问题