When writing code in Razor, the intellisense drop down box does not work right. It will open up and then close itself less than a second later.
This does not happen to me when I am writing a class or something to that effect, it is only present when I am working on a view.
To explain what happens as I type
- @Html.
- The Intellisense box opens and stays open.
- @Html.DisplayFor(p => M) //The closing parenthesis is automatically written by VS
- The box opens at shows possible inputs that begin with M, but immediately closes.
- @Html.DisplayFor(p => Model.)
- The box opens and shows the properties associated with the model, but then immediately closes.
If however, I add a space:
- @Html.DisplayFor(p => M )
- The box stays open.
- @Html.DisplayFor(p => Model. )
- The box stays open.
Is there a setting or something that is doing this to me?
This problem persists through closing and reopening VS, as well as rebuilding the project.
Using Visual Studio 2015 Professional 2015 Update 2 Working with Razor while doing MVC. I also have Web Essentials installed, if there is a setting in that that might be causing this.