在Visual Studio中配置触发智能感知完成的键 [英] Configure keys that trigger intellisense completion in Visual Studio

查看:168
本文介绍了在Visual Studio中配置触发智能感知完成的键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望Visual Studio仅在单击选项卡时自动填写智能感知菜单中的当前条目.

I would like Visual Studio to autocomplete the current entry in the intellisense menu only when I hit tab.

例如,当我按下一个句点时,触发自动完成功能,迫使我每次编写尚无法自动完成的内容时都要逃脱,以避免我输入的内容被随机输入所代替.

Autocompletion being triggered, for example, when I press a period, is forcing me to hit escape every time I'm writing something that cannot yet be autocompleted, to avoid that what I'm typing gets replaced with a random entry.

是否可以配置它?

我正在使用Visual Studio 2015,并使用C#编程.

I'm using Visual Studio 2015, and programming in C#.

示例:在这里输入Log,这是我尚未为其添加适当的using语句的类.这些建议都不是好建议.如果我现在按下.,则自动完成功能将写入EventLogProcessor,这不是我想要的.

Example: here I'm typing Log, which is a class for which I haven't yet added the appropriate using statement. None of the suggestions is the good one. If I hit . now, the autocomplete feature will write EventLogProcessor, which is not what I want.

请注意,此问题与VIM无关,这不是顶部链接的问题的重复.

Please note that this question has nothing to do with VIM, this is not a duplicate of the question linked at the top.

推荐答案

使用visual studioToggle Between suggestion and Standard completion mode选项.现在将仅suggest ..如果按Tab键,将完成选择.

Use Toggle Between suggestion and Standard completion mode option of visual studio .. It will now only suggest .. and if you press Tab it will complete your choice ..

编辑-> IntelliSense->切换

Edit -> IntelliSense -> Toggle

这篇关于在Visual Studio中配置触发智能感知完成的键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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