Configure keys that trigger intellisense completio

2019-02-16 23:29发布

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

autocomplete example

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.

2条回答
Viruses.
2楼-- · 2019-02-17 00:11

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

查看更多
smile是对你的礼貌
3楼-- · 2019-02-17 00:17

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

查看更多
登录 后发表回答