Visual Studio C# IntelliSense not automatically displaying

前端 未结 17 1674
一整个雨季
一整个雨季 2020-11-30 03:23

Just recently, my Visual Studio 2010 stopped displaying IntelliSense suggestions automatically while I am typing. I can still press ctrl+space to get it to work, but it doe

17条回答
  •  感动是毒
    2020-11-30 04:06

    I'll start off my noting that this hasn't happened since I upgraded my RAM. I was at 4GB and would often have multiple instances of VS open along with SSMS. I have since gone to 8GB and then 16GB.

    Here's the steps I go through when I lose intellisense.

    If only one file/window appears to be affected, close/reopen that file. If that doesn't work, try below.

    In Visual Studio:

    1. Click Tools->Options->Text Editor->All Languages->General
    2. Uncheck "Auto list members"
    3. Uncheck "Parameter information"
    4. Check "Auto list members" (yes, the one you just unchecked)
    5. Check "Parameter information" (again, the one you just unchecked)
    6. Click OK

    If this doesn't work, here's a few more steps to try:

    1. Close all VS documents and reopen
    2. If still not working, close/reopen solution
    3. If still not working, restart VS.

    For C++ projects:
    MSDN has a few things to try: MSDN suggestions

    The corrupt .ncb file seems most likely.

    From MSDN:

    1. Close the solution.
    2. Delete the .ncb file.
    3. Reopen the solution. (This creates a new .ncb file.)

    Notes:

    • This issue does not appear to be specific to C# as C++ and VB users report the same issue

    • Tested in VS 2013/2015

提交回复
热议问题