Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing Intellisense in visual studio 2012

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)

like image 948
Christian Bekker Avatar asked Jul 16 '13 12:07

Christian Bekker


4 Answers

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

like image 191
Brian Avatar answered Nov 08 '22 23:11

Brian


Fixed it by reinstalling ReSharper, removing ReSharper temp files, and disabling, then re-enable IntelliSense manually in Tools -> Options -> Text Editor -> All Languages + C#.

like image 42
Christian Bekker Avatar answered Nov 08 '22 23:11

Christian Bekker


Open Visual Studio

  1. Tools
  2. Import and Export Settings
  3. Select Reset all settings.Notice that this will reset all your settings.
  4. Now select Visual C#(or which language your prefer) Development settings
  5. Hit Finish

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.

like image 1
Teemu Tapanila Avatar answered Nov 08 '22 21:11

Teemu Tapanila


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.

like image 1
brando Avatar answered Nov 08 '22 22:11

brando