Custom schema for XML comments in Visual Studio for C#

蹲街弑〆低调 提交于 2019-12-24 11:04:23

问题


When I type "///" in the editor, Visual Studio creates an empty comment body with the < summary > and other tags. I can then type the "<" and VS suggests a list of recommended tags.

How can I make the IntelliSense to suggest my custom tags here?

Ideally, I would like to have my own XML documentation template expanded when I type "///"


回答1:


Have a look at this. It is primarily targeted at VS2005 en 2008, but it's probably still valid for 2010 with minor differences.

Documenting Your Code With XML Comments



来源:https://stackoverflow.com/questions/11929697/custom-schema-for-xml-comments-in-visual-studio-for-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!