Visual Studio for C#中XML注释的自定义架构 [英] Custom schema for XML comments in Visual Studio for C#

查看:124
本文介绍了Visual Studio for C#中XML注释的自定义架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在编辑器中键入"///"时,Visual Studio使用<创建一个空的注释主体.摘要>和其他标签.然后,我可以输入<"和VS建议推荐标签的列表

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.

如何使IntelliSense在此处建议我的自定义标签?

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

理想情况下,我想在输入"///"时扩展自己的XML文档模板

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

推荐答案

看看这个. 它主要针对VS2005 en 2008,但可能仍适用于2010,但有细微差别.

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

使用XML注释记录代码

这篇关于Visual Studio for C#中XML注释的自定义架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆