VS 2015 Razor Autocomplete/Intellisense dropdown hides immediately after dropdown

后端 未结 8 509
醉酒成梦
醉酒成梦 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 07:00

    In my specific case, i was able to solve the problem by installing the latest version Microsoft ASP.NET and Web Tools.

    https://marketplace.visualstudio.com/items?itemName=JacquesEloff.MicrosoftASPNETandWebTools-9689

    Once I installed it, the problem was gone. It is likely that this update fixed something that could be fixed with an older version, but either way I'm happy.

    (I found this in Visual Studio under Tools->Extensions and Updates...->Updates->Visual Studio Gallery)

    0 讨论(0)
  • 2020-12-13 07:00

    I use ctrl+j as a temporary solution when I know the content.

    Or keep writing without right parenthesis can use the completion:

    @Html.LabelFor(m => m.Name

    0 讨论(0)
提交回复
热议问题