无需通过鼠标或键盘箭头Visual Studio的智能感知列表滚动 [英] Scrolling through Visual Studio Intellisense list without mouse or keyboard arrows

查看:302
本文介绍了无需通过鼠标或键盘箭头Visual Studio的智能感知列表滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的智能感知在Visual Studio中重度使用者。我也是一个保持你的手在键盘上和让他们在原始位置爱好者,所以我一直在寻找方法来保持我的手集中在<大骨节病> A <大骨节病>取值 <大骨节病> D <大骨节病>˚F&NBSP;&NBSP;&NBSP; <大骨节病>Ĵ <大骨节病> K <大骨节病>→ <大骨节病>; 键尽可能



每当智能感知列表在Visual Studio中弹出,如果有列表中的多的话,下手相同的字母作为字我想选择,输入前几个字母来磨练我的选择没有帮助,因为直到我键入足够的字符,最终达到了该列表将不会跳下来我的首选选择第一个独特的性格在这个词。它通常是更快地把我的右手离开<大骨节病>Ĵ <大骨节病> K <大骨节病>→ <大骨节病>; 键达到向上/向下箭头键在列表中手动滚动。



我宁愿让我的手在家庭的位置为中心,最好使用类似<大骨节病>Ĵ和<大骨节病> K 键上下移动在智能感知列表(类似于如何<大骨节病>Ĵ和<大骨节病> K 上下移动在Vim里......和尤其是因为我使用VsVim在Visual Studio中)。



MSDN文档智能感知只列出了上/下箭头键和滚动(鼠标滚轮,<大骨节病> PgUp键 / <大骨节病> PgDn键按键等)作为这样的选项:






因此,这里是我的问题(按优先顺序排列):




  1. 有没有在Visual Studio中的任何现有键盘快捷键,让保持你的手在家里的位置,同时滚动智能感知列表?


  2. 有什么办法来图定做键盘按键(如<大骨节病>Ĵ和<大骨节病> K )做了在智能感知列表/下滚动?


  3. 有没有启用此功能的插件?


  4. 是否有任何其他方式做到这一点?



解决方案

我已经重新映射<大骨节病> CTRL + p 到Edit.LineUp和<大骨节病> CTRL + N 到Edit.LineDown和这部作品在智能感知下拉列表。出于某种原因,按<大骨节病> CTRL 因此获得一种很难看到在下拉列表中的内容时,智能感知下拉变暗了。这不是一个大问题,不过,因为你总是可以释放<大骨节病> CTRL ,它会再次亮起。我大多使用这种方法的时候,我不知道方法的名称,并希望浏览它。



如果我知道的名称或名称的一部分是往往更快只需键入一些方法名中的字母。如果我知道的例子,我想的方法的名字是GetHashCode的话,我只需要输入GEH或有还是因为这类似的会被智能感知相匹配。


I'm a heavy user of Intellisense in Visual Studio. I'm also a "keep your hands on the keyboard" and "keep them in home position" aficionado, so I'm always looking for ways to keep my hands centered on the ASDF   JKL; keys as much as possible.

Whenever the Intellisense list pops up in Visual Studio, if there are many words in the list that start with the same letters as the word I'm trying to select, typing the first few letters to hone in on my selection doesn't help, since the list won't jump down to my preferred selection until I type enough characters to finally reach the first unique character in the word. It's usually faster to take my right hand off the JKL; keys and reach for the up/down arrow keys to manually scroll through the list.

I'd rather keep my hands centered in home position, and ideally use something like the J and K keys to move up and down in the Intellisense list (similar to how J and K move up and down in Vim...and especially since I use VsVim inside Visual Studio).

The MSDN Intellisense documentation only lists the up/down arrow keys and scrolling (mouse wheel, PgUp/PgDn keys, etc.) as options for doing this:


So here are my questions (in order of preference):

  1. Are there any existing keyboard shortcuts in Visual Studio that allow keeping your hands in home position while scrolling the Intellisense list?

  2. Is there any way to custom map keyboard keys (such as J and K) to do the up/down scrolling in the Intellisense list?

  3. Are there any plugins that enable this functionality?

  4. Is there any other way to accomplish this?

解决方案

I have remapped CTRL+P to Edit.LineUp and CTRL+N to Edit.LineDown and this works in the Intellisense dropdown. For some reason the Intellisense dropdown dims out when pressing CTRL so it gets kind of hard to see the content in the dropdown. It's not a big problem though, since you can always release CTRL and it will light up again. I mostly use this method when I don't know the name of the method and want to browse for it.

If I know the name or part of the name it is often quicker to just type some of the letters in the method name. If I know for example that the name of the method I want is GetHashCode then I would just type "geh" or "has" or similar since that would be matched by intellisense.

这篇关于无需通过鼠标或键盘箭头Visual Studio的智能感知列表滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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