简体   繁体   中英

Configure keys that trigger intellisense completion in 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.

Is there an option to configure this?

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

自动完成示例

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.

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

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 ..

Edit -> IntelliSense -> Toggle

For Visual Studio 2012, from the Menu Bar,

  1. Select Tools -> Options
  2. In the left pane, expand Text Editor -> C#
  3. Select InteliSense

The characters that commit are listed in a text box

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM