Visual Studio C# IntelliSense not automatically displaying

前端 未结 17 1490
一整个雨季
一整个雨季 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:00

    I have just come to about this problem while installing one of the extensions and its file was deleted by my anti virus so I just disabled my anti virus and reinstalled visual studio. Suggestions are working properly without any changes made after installation.

    0 讨论(0)
  • 2020-11-30 04:01

    I had the file excluded from the project so i was not able to debug and have intellisense on that file. Including the file back into the project solved my problem! :)

    0 讨论(0)
  • 2020-11-30 04:02

    enter image description here


    In prose, in case you can't see the above image:

    Open Tools > Options > Text Editor. If you're only having this issue with one language, find that language; if it's for everything, click "All Languages". Right at the top, there'll be a few options labeled "Auto list members", "Hide advanced members", and "Parameter information". Make sure all of those are enabled (though the second may be disabled; if so, ignore it).

    0 讨论(0)
  • 2020-11-30 04:03

    Deleting the .vs folder in the solution solved my issue. You have to exit from Visual Studio and then delete the .vs folder and start Visual Studio again.

    0 讨论(0)
  • 2020-11-30 04:04

    [Tools -> Options -> Text Editor -> All Languages -> CodeLens] Check if check box "Enable CodeLens" is checked

    0 讨论(0)
  • 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

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