visual-studio 用于显示 IntelliSense 的 Visual Studio 键盘快捷键

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3640544/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 12:26:04  来源:igfitidea点击:

Visual Studio keyboard shortcut to display IntelliSense

visual-studiokeyboard-shortcuts

提问by Stan

What's the keyboard shortcut for Visual Studio 2005 and Visual Studio 2008 to display the IntelliSense box if one accidentally hits ESCand wants the box come back again?

如果不小心点击ESC并希望该框再次返回,Visual Studio 2005 和 Visual Studio 2008 显示 IntelliSense 框的键盘快捷键是什么?

回答by BrunoLM

Ctrl+ Space

Ctrl+ Space

or

或者

Ctrl+ J

Ctrl+ J

You can also go to menu ToolsOptionsEnvironmentKeyboardand check what is assigned to these shortcuts. The command name should be Edit.CompleteWord.

您还可以转到菜单工具选项环境键盘并检查分配给这些快捷方式的内容。命令名称应为Edit.CompleteWord.

回答by Peter Gfader

Additionally, Ctrl+ K, Ctrl+ Ishows you Quick info (handy inside parameters)

此外,Ctrl+ K, Ctrl+I显示您的快速信息(方便的内部参数)

Ctrl+Shift+Spaceshows you parameter information.

Ctrl+ Shift+Space你显示参数信息。

回答by Alexander Chernosvitov

The most efficient one is Ctrl+ ..

最有效的一种是Ctrl+ .

It helps to automate insertions of usingdirectives. It works if the focus is on a new identifier, e.g. class name.

它有助于自动插入using指令。如果焦点在新标识符上,例如类名,它就会起作用。

回答by Leniel Maccaferri

Ctrl+Spaceshould do it.

Ctrl+Space应该这样做。

回答by GBackMania

It should be Ctrl+ J.

它应该是Ctrl+ J

回答by TTT

If you have arrived at this question because IntelliSense has stopped working properly and you are hoping to forceit to show you what you need, then most likely none of these solutions are going to work.

如果您是因为 IntelliSense 停止正常工作而遇到这个问题,并且您希望强制它显示您需要的内容,那么这些解决方案很可能都不起作用。

Closing and restarting Visual Studio should fix the problem.

关闭并重新启动 Visual Studio 应该可以解决问题。

回答by mimipofi

If you want to change whether it highlights the best fitting possibility, use:

如果要更改它是否突出显示最佳拟合可能性,请使用:

Ctrl+ Alt+ Space

Ctrl+ Alt+Space

回答by FreeAsInBeer

Alt+ Right Arrowand Alt+ Numpad 6(if Num Lock is disabled) are also possibilities.

Alt+Right ArrowAlt+ Numpad 6(如果 Num Lock 被禁用)也是可能的。

回答by Dan Bechard

In Visual Studio 2015 this shortcut opens a preview of the definition which even works through typedefs and #defines.

在 Visual Studio 2015 中,此快捷方式打开定义的预览,它甚至可以通过 typedefs 和 #defines 工作。

Ctrl+ ,(comma)

Ctrl+ ,(逗号)

Enter image description here

在此处输入图片说明

回答by Rapha?l Roux

On Visual Studio Community 7.5.3 on Mac this works for me:

在 Mac 上的 Visual Studio Community 7.5.3 上,这对我有用:

Ctrl+ Space

Ctrl+ Space