Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn IntelliSense on in Visual Studio 2010?

I am trying to enable the intellisense for aspx file types. I checked auto list members in the texteditor options. Either checking hide advanced members or not makes no difference?

How can I enable intellisense in vs.net 2010?

like image 413
user603007 Avatar asked Jan 17 '12 21:01

user603007


2 Answers

Out of the box, IntelliSense should be enabled for ASP.NET, including .aspx files. If it stopped working you have a couple of options, listed below. Try the first or second, and only if nothing else works, try the last option.

  1. You can try this from the Visual Studio menu: Edit > IntelliSense > Refresh Local Cache

  2. Delete the files in this folder: %AppData%\Roaming\Microsoft\VisualStudio\10.0\ReflectedSchemas and restart Visual Studio

  3. If nothing else works, you type this in the Visual Studio Command Prompt (this is in your Start menu) and hit enter: devenv /resetuserdata

This last option is documented here on MSDN, with the following disclaimer:

Disclaimer: you will lose all your environment settings and customizations if you use this switch. It is for this reason that this switch is not officially supported and Microsoft does not advertise this switch to the public (you won't see this switch if you type devenv.exe /? in the command prompt). You should only use this switch as the last resort if you are experiencing an environment problem, and make sure you back up your environment settings by exporting them before using this switch.

like image 128
Michiel van Oosterhout Avatar answered Sep 21 '22 18:09

Michiel van Oosterhout


I remember a collegue having this issue a few months ago. If i remeber correctly, deleting your C:\Users\UserName\AppData\Roaming\Microsoft\VisualStudio\10.0 folder solves this issue.

Not a 100% sure though

like image 45
legrandviking Avatar answered Sep 18 '22 18:09

legrandviking