我如何在C#中的XML文档注释之间跳转? [英] How do I jump between XML doc comments in C#?

查看:167
本文介绍了我如何在C#中的XML文档注释之间跳转?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OK,这是一个愚蠢的问题,但使用Visual Studio的时候,如果我在Visual Basic编写XML文档注释,我可以使用TAB键在字段之间切换(例如总结到参数退换货)。在C#中,但击中Tab键插入一个标签,所以我必须要点击单个字段来找到它们(或使用箭头键)。这使得什么应该是一个简单的过程繁琐和耗时的。

OK, this is a silly question, but when using Visual Studio, if I am writing XML doc comments in Visual Basic, I can use the tab key to switch between fields (e.g. Summary to Param to Returns). In C#, however, hitting the Tab key inserts a Tab, so I have to click on the individual fields to navigate to them (or use the arrow keys). This makes what should have been a simple process tedious and time-consuming.

任何人都知道,如果有一个默认的键盘快捷键,我可以使用,或者如果有一个特定的命令,我可以映射到一个未使用的键盘快捷键?我使用Visual Studio 2010,与ReSharper的6.1。的确在SO档案一些搜索,但要么没人有这个问题,或者我不知道正确的关键字问(后者更可能)。 !在此先感谢

Anybody know if there is a default keyboard shortcut I can use, or if there is a specific command I can map to an unused keyboard shortcut? I am using Visual Studio 2010, with ReSharper 6.1. Did some searching in the SO archives, but either nobody else has this problem, or I don't know the right keywords to ask (the latter is much more likely). Thanks in advance!

编辑:我要澄清,有点。在VB中跳格的行为是原产于Visual Studio 2010中; ReSharper的安装是相当近期(后我切换到C#),我想提一提它,以防有人可能知道ReSharper的是否添加自己的导航快捷键(因为他们有万吨)这一点。再次感谢!

I should clarify, a bit. The tabbing behavior in VB is native to Visual Studio 2010; the ReSharper install is fairly recent (after I switched to C#), and I wanted to mention it in case someone might know whether ReSharper had added their own navigation shortcuts (as they have tons) for this. Thanks again!

推荐答案

我可能会被误解的问题,但也许这听起来像你可以重置您的用户设置? http://msdn.microsoft.com/en -us /库/ ms247075%28V = VS.100%29.aspx ?或者只是运行devenv的/ resetuserdata。这样做,当你启动Visual Studio中,也许选择一般的设置,而不是C#或vb.net具体的呢?

I might be misunderstanding the question, but maybe it sounds like you can just reset your user settings? http://msdn.microsoft.com/en-us/library/ms247075%28v=vs.100%29.aspx ? Or just run a devenv / resetuserdata . Do that, and when you start up visual studio, maybe choose the 'general' settings rather than the C# or vb.net specific ones?

这篇关于我如何在C#中的XML文档注释之间跳转?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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