vb.net - 自动XML注释 - ''' - 我可以更改自动默认值吗? [英] vb.net - automatic XML comments - ''' -- Can I change the automatic defaults?

查看:160
本文介绍了vb.net - 自动XML注释 - ''' - 我可以更改自动默认值吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VB.NET中使用Visual Studio 2008 SP1

I'm using Visual Studio 2008 SP1

,当我在函数上键入'时,会出现一些自动默认的XML注释: p>

in VB.NET, when I type ''' above a function, some automatic default XML comments appear:

''' <summary>
''' 
''' </summary>
''' <remarks></remarks>

我想这是以下代替:

''' <summary></summary>
''' <remarks></remarks>

有什么方法可以改变在函数上面输入 >

Is there a way to change what appears when you type ''' above a function?

推荐答案

它们的关键是在VBXMLDoc.xml文件中。它为VB.NET中的所有XML注释提供模板。仍然没有检查是否有一个解决方案为C#。我这么长时间想要的C#,但实际上只是习惯了丑陋的默认格式。

They key is in the VBXMLDoc.xml file. It provides templating for all of the XML comments in VB.NET. Still have not checked if there is a solution for C#. I went so long in wanting it for C#, but have actually just gotten used to the ugly default format.

如何自定义由Visual Basic代码编辑器插入的XML注释?

这篇关于vb.net - 自动XML注释 - ''' - 我可以更改自动默认值吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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