When writing code in Razor, the intellisense popup does not work correctly. It will open and then close in less than a second.
This does not happen to me when I write a class or something like that, it is present only when I am working on a view.
To explain what happens when I print
- @Html.
- The Intellisense field opens and remains open.
- @ Html.DisplayFor (p => M) // The closing bracket is automatically written VS
- A window opens displaying possible inputs starting with M, but closes immediately.
- @ Html.DisplayFor (p => Model.)
- A window opens and shows the properties associated with the model, but then closes immediately.
If, however, I add a space:
- @ Html.DisplayFor (p => M)
- @ Html.DisplayFor (p => Model.)
Is there a tweak or something that does this to me?
This problem persists after closing and reopening VS, as well as for project recovery.
Using Visual Studio 2015 Professional 2015 Update 2 Working with Razor while running MVC. I also installed Web Essentials if there is a parameter in this that can cause this.
asp.net-mvc visual-studio-2015 intellisense
hcaelxxam
source share