VS 2015 Razor Autocomplete/Intellisense dropdown hides immediately after dropdown

后端 未结 8 512
醉酒成梦
醉酒成梦 2020-12-13 05:53

In VS 2015, only when in Razor (.cshtml) files, roughly half of the time the autocomplete/suggestion list/intellisense doesn\'t work correctly (sorry, not sure the actual te

8条回答
  •  执笔经年
    2020-12-13 06:49

    Whenever this annoying thing happens to me, I just put an extra dot and then it works. I have to put the extra dot every time. For example, if I write this and intellisence flashes and disappears:

    @Html.TextBoxFor(m => m. 
    

    then I just do this:

    @Html.TextBoxFor(m => m..
    

    And intellisense will now show after first dot. I have made this a habit until MS has a fix for it.

提交回复
热议问题