These are the few top solutions for getting Visual Studio 2012 intellisense back on track try them one by one, hope one of them will solve the problem: When the problem occurs next time follow these: start from #1 and Move to next when the earlier one doesn't work for you 1: Close all the tabs and open your file again. (Thanks to russds) 2: Clean the Build Close the Solution Restart Visual Studio Open the Solution again 3: Goto: Edit IntelliSense Refresh Local Cache 4: Close Visual Studio 2012 and delete this folder:%AppData% Microsoft VisualStudio 11.0 ReflectedSchemas 5: Goto: TOOLS Import and Export Settings Reset all settings 6: Delete.suo file in the project folder.
Sep 11, 2008 Refreshing the IntelliSense Cache. Is this with regards to Visual Studio? I don’t see a refresh cache option in the menu? Log in to Reply. Dan Jones MSFT says: September 16, 2008 at 9:27 pm. Hi Atul, This is the Transact-SQL IntelliSense feature within SQL Server Management Studio.
(Thanks to Jason Steele) I am hopeful your problem will get solved by any of the above six steps. But if it doesn’t after all this than I think you should consider reinstalling your VS2012.
I should first note that this hasn't happened to me since upgrading my RAM to 16GB. This seems to happen when I copy/paste controls on a page. Another side affect of this is that the designer.vb file is not updated right away and I don't have access to those controls in code behind. This is the order of steps that I go through:. If only 1 file/window appears to be affected, close/reopen that file.
In Visual Studio:. Click Tools-Options-Text Editor-All Languages-General. Uncheck 'Auto list members'. Uncheck 'Parameter information'. Check 'Auto list members' (yes, the one you just unchecked). Check 'Parameter information' (again, the one you just unchecked). Click OK If this doesn't work, here's a few more steps to try:.
If still not working, close all windows and reopen. If still not working, close/reopen solution. If still not working, restart VS. For C projects: MSDN has a few things to try: The corrupt.ncb file seems most likely. From MSDN:.
Close the solution. Delete the.ncb file. Reopen the solution. (This creates a new.ncb file.) (I haven't yet figured out why more drastic steps are required in some cases.). Tested in VS 2013/15. I haven't had this issues since upgrading my RAM.
None of the above helped to fix Intellisense on my devbox (VS2012). I even tried 'devenv /resetuserdata' which resulted in necessity to reinstall all plugins. Still, in C projects the code in #if ABC. #endif blocks stay greyed out.
As a temporary workaround I modify #if ABC into #if 1//ABC, and then revert change back after I finish editing the block. EDIT: Few hours later I found better solution. I commented out '#define ABC 1' in the header file, and added 'ABC=1;' to the Project Properties-C/C-Preprocessor-Preprocessor Definitions. Then Intellisense started working correctly! The code blocks are not greyed out.