开发者

Visual Studio: automatically open Intellisense

Is there a way to make Intellisen开发者_开发技巧se(CTRL+Space) automatically open after I type a letter? Its really annoying me to have to press CTRL+Space every line of code


What you describe is the default behavior. To restore it, use:

  • Tools -> Options -> Text Editor -> C# (e.g.)
  • Statement Completion -> Auto list members: Checked

Edit:

In C++ "Auto list members" does not apply to the first identifier in an expression, that is, when the identifier could be almost anything: a global variable, a keyword, a class member, etc. It does however apply (and does work) after the ".", "->", and "::" operators.

A workaround for a very common case of desiring auto listing for class members is to use the "this->" convention in your code, which some coding standards recommend anyway. The completion list will pop up immediately upon typing "->".


Default C++ IntelliSense does not open automatically when you are typing except for after ., -> and ::. The third party commercial extension Visual Assist X does provide that behavior though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜