I was sitting and coding some razor stuff in a .cshtml
file, and must have pressed something accidentally, cause suddenly my intellisense didn't popup automatically, i have to press Ctrl+space
, but the intellisense in normal c# files like .cs
works perfectly?
BTW. i have ReSharper installed (if i might affect the answer)
Microsoft has released an update for Visual Studio 2012 to fix this issue.
Announcing release of ASP.NET and Web Tools 2013.1 for Visual Studio 2012
Fixed it by reinstalling ReSharper, removing ReSharper temp files, and disabling, then re-enable IntelliSense manually in Tools -> Options -> Text Editor -> All Languages + C#.
Open Visual Studio
If that doesn't work, try going to: \Program Files\Microsoft Visual Studio 11\Common7\IDE and execute devenv /setup from the command line and try again.
Had the exact problem. (Note I am in a VB environment)
I went into Tools-->Options-->Text Editor-->Basic I saw that under the "Statement Complete" header the following were NOT checked: [] Auto list member [] Parameter information
I went ahead and CHECKED these options and auto complete in Razor views was restored.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With