Intellisense not working

后端 未结 16 1828
滥情空心
滥情空心 2020-12-25 13:29

I am opening files from a server ASP.net and the VB codebehind files, and my visual studio is not working correctly, Intellisense is dead and if i right click the \"Go to

相关标签:
16条回答
  • 2020-12-25 13:59

    Save your solution. Closing the VS2010 instance for this solution and re-oprning worked for me. Here I assume that Intellisense was working OK but stopped for some unknown reason without changing any default settings.

    Prabhdeep

    0 讨论(0)
  • 2020-12-25 14:00

    After uninstalling ReSharper, the squigglies that show up underneath a syntax error stopped showing up in the code editor.

    This blog post helped me fix the issue.

    0 讨论(0)
  • 2020-12-25 14:02

    Try this:

    Close any open instances of visual studio, delete the folder 10.0 inside `C:\Users[username]\AppData\Roaming\Microsoft\VisualStudio\' and restart the visual studio. Issue will be fixed.

    0 讨论(0)
  • 2020-12-25 14:03

    For me simply hitting Ctrl+Alt+Space to re-enable Autocompletion fixed it.

    0 讨论(0)
  • 2020-12-25 14:04

    In my case, none of the above worked (although I discovered that sometimes the *.suo file is the trouble maker - in those cases deleting it helps).

    I fixed it successfully the following way: Let's assume your solution has the name MySolution. Do the following:

    1. Reset the settings (as described here). Close Visual Studio 2012.
    2. Locate the file MySolution.sln.DotSettings (it is in the same folder as your MySolution.sln file)
    3. Rename or delete it (for example rename it to XMySolution.sln.DotSettingsX so VS won't read it)
    4. Open your solution by double-clicking on the MySolution.sln file

    And afterwards Intellisense was working again just fine. I assume the file MySolution.sln.DotSettings got corrupted.

    Note: The file MySolution.sln.DotSettings was created and checked in to TFS by a team colleague who had installed ReSharper. The issue occurred on a different PC without ReSharper where the same project was opened.

    0 讨论(0)
  • 2020-12-25 14:10

    For the benefit of searchers, Nicks suggestion is good, but if you don't want to reset all your settings, you could follow the recommendation in this post.

    It states - "go to "Tools | Options | Text Editor | C# | General and check the "Auto list members" and "Parameter information" checkboxes"

    0 讨论(0)
提交回复
热议问题