选项卡浏览 XML 文档字段 [英] Tab through XML documentation fields

查看:19
本文介绍了选项卡浏览 XML 文档字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 VB.NET 中,您可以使用 Tab 键在 XML 成员文档中的字段之间移动:

In VB.NET, you can move through the fields in the XML member documentation with the Tab key:

这在 C# 中不起作用:

This doesn't work in C#:

还有其他方法吗(除了用鼠标将光标放在那里或用箭头键移动到字段之外)?

Is there another way (other than putting the cursor there with the mouse or moving to the field with the arrow keys)?

推荐答案

我是文档插件的作者,Atomineer专业文档 在其实时打字助手中有一个可选模式,可以使用 tab/shift-tab 在注释中的文档字段之间导航.我不知道提供此功能的任何其他扩展程序(尽管这并不意味着没有任何扩展程序!)

I'm the author of a documentation addin, Atomineer Pro Documentation which has an optional mode in its live typing helpers to use tab/shift-tab to navigate between the documentation fields in a comment. I'm not aware of any other extensions that provide this facility (although that does not mean there aren't any!)

(想想为什么默认情况下它不在 C# 编辑器中:我想(纯属猜测)这是因为使用 Tab 键来循环浏览条目意味着您不能很容易地在文档注释中输入缩进- 默认情况下,VB 对代码的自动格式化比 C# 要多得多,所以也许 VB 程序员不太愿意使用制表符来缩进他们的文本,这样他们就不会像大多数 C# 程序员那样错过它(??). 或者可能是 VB 团队和 C# 团队对这个特性有不同的看法)

这篇关于选项卡浏览 XML 文档字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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