如何在Visual Studio 2010中禁用智能提示建议模式 [英] How to disable intellisense suggestion mode in Visual Studio 2010

查看:246
本文介绍了如何在Visual Studio 2010中禁用智能提示建议模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2010允许使用 Ctrl + Alt + Space 快捷键.我喜欢在常规完成模式下工作,但似乎我不断误按 Ctrl + Alt + Space ,听起来很傻!

Visual Studio 2010 allows toggling the Intellisense mode between the "completion mode" and the "suggestion mode" (aka "low-impact mode") using the Ctrl+Alt+Space shortcut. I like to work in the regular completion mode, but it seems I keep hitting Ctrl+Alt+Space by mistake, as silly as that sounds!

有什么方法可以禁用Intellisense建议模式(或 Ctrl + Alt + Space 快捷方式),以便我始终在常规完成模式?

Is there any way to disable the Intellisense suggestion mode (or the Ctrl+Alt+Space shortcut) so that I always work in the regular completion mode?

推荐答案

Visual Studio中的IntelliSense选项会有所不同,具体取决于您要定位的语言.

The IntelliSense options differ in Visual Studio depending on the language that you're targeting.

但是通用的,与语言无关的解决方案是完全禁用有问题的 Ctrl + Alt + Space 快捷方式(或将其重新映射为某种方式)别的).有一个广泛的UI,可用于自定义Visual Studio中内置的键盘快捷键.

But the universal, language-neutral solution is to disable the offending Ctrl+Alt+Space shortcut altogether (or remap it to something else). There is an extensive UI for customizing keyboard shortcuts built into Visual Studio.

您要查找的命令称为Edit.ToggleCompletionMode.要更改或删除附加到它的键盘快捷键,请按照下列步骤操作:

The command you're looking for is called Edit.ToggleCompletionMode. To change or remove the keyboard shortcut attached to it, follow these steps:

  1. 单击工具"菜单,然后单击选项".

  1. Click on the "Tools" menu, then click "Options".

展开环境"类别,然后单击键盘"项.

Expand the "Environment" category, and then click the "Keyboard" item.

键入要修改的命令名称的一部分.在这种情况下,键入togglecompletion就足够了.

Type in a portion of the name of the command you wish to modify. In this case, typing togglecompletion is enough.

在下面的列表(Edit.ToggleCompletionMode)中单击相关的匹配项.

Click the relevant match in the list below (Edit.ToggleCompletionMode).

组合框显示分配给该命令的所有键盘快捷键.

The combo box displays all of the keyboard shortcuts assigned to that command.

要删除一个,请确保已选中它,然后单击删除"按钮.

To remove one, ensure that it is selected and click the "Remove" button.

要分配一个新的快捷方式,请将焦点设置在标有按快捷键"的文本框中,然后键入所需的快捷键.如果该快捷方式当前正在由另一个命令使用,它将显示在下面的组合框中.要将快捷方式分配给活动命令,请单击分配"按钮.

To assign a new one, set focus to the text box labeled "Press shortcut keys" and type the desired shortcut keys. If that shortcut is currently in use by another command, it will be displayed in the combo box below. To assign a shortcut to the active command, click the "Assign" button.

  

   

这几乎是我在商用产品中见过的最复杂的对话框UI之一,而且令人难以置信地不可调整大小.加入抗议者的人群,也许希望它会改变.

It's nearly one of the most complicated dialog UIs that I've ever seen in a commercial product, and it's infuriatingly non-resizable. Join the crowd of complainers and maybe there's hope that it will change.

这篇关于如何在Visual Studio 2010中禁用智能提示建议模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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