Autocomplete intellisense not working in Visual Studio 2010 Ultimate RC

Locked Autocomplete intellisense not working in Visual Studio 2010 Ultimate RC

  • 2010年2月17日 21:04
     
     
    Using C# in Visual Studio 2010 Ultimate RC intellisense only works when I use crtl-space, When typing I do not get autocomplete and after typing "." after a method or variable I do not get a drop down list of suggestions. My settings  in Tools --> Options --> TextEditor -C# match exactly my settings in VS 2008 where intellisense works as expected.

    What can I do to correct this?

    Thanks.

すべての返信

  • 2010年2月18日 3:41
    モデレータ
     
     
    Hi SR1995,

    I am moving this thread from Base "Visual Studio Setup and Installation" forum to the "Visual Studio 2010 Setup and Installation" forum, since the issue is related to VS2010. There are more experts in the "Visual Studio 2010 Setup and Installation" forum.

    Thanks

    Best regards,
    Yichun Chen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • 2010年2月22日 2:31
    モデレータ
     
     回答済み
    Hello,

    As far as I researched, there is a known issue about the VS 2010 Intellisense. The issue can cause Intellisense dismissed or VS crashed.

    You can find more information from Scott Gu's blog,
    http://weblogs.asp.net/scottgu/archive/2010/02/15/patch-for-vs-2010-rc-intellisense-crash-issue-now-available.aspx
    , as well as a hotfix for the issue.

    If you still encounter this, I suggest you raise a feedback in connect site to report it.


    Best regards,
    Ji Zhou
    MSDN Subscriber Support in Forum
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 2010年2月24日 2:45
    モデレータ
     
     
    Hello SR1995,

    Does that hotfix work for you? What is the status of the issue in your side?


    Best regards,
    Ji Zhou
    MSDN Subscriber Support in Forum
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 2010年3月3日 22:07
     
     
    The hotfix did not correct my Intellisense problem. The situation remains as in my post of 2/17.

    Thank you.


  • 2010年3月5日 2:17
    モデレータ
     
     回答の候補
    Hello SR1995,

    I cannot reproduce the issue. Then could you please try to reset your Visual Studio by,

    1. Make sure no devenv.exe is running.
    2. Try running from Start->Run:
       devenv /resetuserdata (This causes a new devenv process run to do the resetting job)
    3. Open task manager and check that the devenv process finishes (this takes a couple of minutes)


    If this still does not resolve the issue, I suggest you submit this issue via connect site.
    https://connect.microsoft.com/VisualStudio



    Best regards,
    Ji Zhou - MSFT
    MSDN Subscriber Support in Forum


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • 回答の候補に設定 Jugal Panchal 2011年9月27日 11:27
    •  
  • 2010年3月22日 9:12
     
     回答済み

    Hello.

    I had the same problem - its not a bug and misunderstod above:

    You and I accidentally switched into low-impact IntelliSense mode by pressing Ctrl+Alt+Space. Just hit Ctrl+Alt+Space to go back to the thing you want.

    (I suppose you are not having this problem any more, but other peope might come by ;) )

    More about this problem here:

    http://social.msdn.microsoft.com/Forums/en/vseditorprerelease/thread/0b58d586-520b-49c4-bb78-e1d1eb5bd309

    Best regards.

    Anders Both - Denmark.


     

  • 2011年3月16日 14:54
     
     
    I was having the same problem this morning.  The Ctrl+Alt+Space suggestion didn't work in my case but running devenv with the /resetuserdata argument did.  Thanks for the help.
  • 2011年3月27日 1:04
     
     

    Hi Anders,

     

    Thank you very much for the info you shared.

    Ctrl+Alt+Space fixed the IntelliSense in my case.

     

    Regards,

    Deepak

  • 2011年8月10日 14:39
     
      コードあり

    none of the above solved my problem. I found out that in the web.config file, the system.web > pages > controls had several dlls that were no longer being referenced by the project (but still had 'asp' prefixes):

    When I removed the top 4 Microsoft.Web.Preview tags (carried over from several versions of code and no longer used or referenced), it suddenly worked.

     

     

        <pages theme="DefaultTheme">
          <controls>
            <add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview" />
            <add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview" />
            <add tagPrefix="asp" namespace="Microsoft.Web.Preview.Search" assembly="Microsoft.Web.Preview" />
            <add tagPrefix="asp" namespace="Microsoft.Web.Preview.Diagnostics" assembly="Microsoft.Web.Preview" />
            <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
          </controls>
        </pages>
    


     


    David
  • 2011年9月27日 11:32
     
     回答の候補
    Resetting Visual Studio as Ji.Zhou said... now it is working.
    So Reset by "devenv /resetuserdata"
  • 2011年10月2日 15:07
     
     
    This solved my problem as well, so I'd like to second the "proposed as answer".
  • 2012年1月19日 15:11
     
     
    Resolved my issue by run "devenv /resetuserdata" command
    KVReddy
  • 2012年1月29日 1:16
     
     回答の候補

    Anders,

    Ctrl-Alt-Space only turns drop-down box "automatic selection" on or off. You still get the drop down box whether this is on or off.

    BTW - the problem causing my missing intellisense was me having turned off compilation for the class I was working in - der!

    Steve 

    • 回答の候補に設定 Dave-JD 2012年3月20日 14:33
    •  
  • 2012年3月2日 10:00
     
     回答の候補

    I had the same problem, I tried different methods suggested in different discussion forms, but none worked fine in my case. But in between I found the intellisense is not working for a single solution and finally found the compilation error makes the intellisense not working. So in order to reach your problem you may go through these steps

    1. Compile the entire solution and correct the compilation error. If it is not working do the following steps too
    2. devenv.exe /ResetSettings
    3. devenv /resetuserdata
    4. Goto settings and check the following setting are there

    • 回答の候補に設定 Claudia177 2012年7月12日 19:18
    •  
  • 2012年3月12日 22:03
     
     
    Thanks it works for me :)
  • 2012年3月20日 14:34
     
     
    I had a similar problem, somehow one of my files dropped out of the project, so "String." would bring up intellisense, but "this." would not. Adding the file to the project again through Solution Explorer fixed it.
  • 2012年4月29日 15:01
     
     
    I had the same problem, but my VS 2010 was not showing the CSS classes with intellisense. This tip resolved my problem. Thank you very much.
  • 2012年4月29日 15:02
     
     
    Hello SR1995,

    I cannot reproduce the issue. Then could you please try to reset your Visual Studio by,

    1. Make sure no devenv.exe is running.
    2. Try running from Start->Run:
       devenv /resetuserdata (This causes a new devenv process run to do the resetting job)
    3. Open task manager and check that the devenv process finishes (this takes a couple of minutes)


    If this still does not resolve the issue, I suggest you submit this issue via connect site.
    https://connect.microsoft.com/VisualStudio



    Best regards,
    Ji Zhou - MSFT
    MSDN Subscriber Support in Forum


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    It works for me!
  • 2012年5月30日 6:00
     
     
    Worked for me as well !!! Thanks.
  • 2012年6月21日 20:54
     
     回答の候補
    This solution works for me Thanks Rajin.
    • 回答の候補に設定 Mulpuri 2012年6月21日 20:55
    •  
  • 2012年6月27日 14:08
     
     
    Thank you..... it worked for me
  • 2012年6月28日 21:22
     
     

    Worked for me as well, had to do the deveenv /resetuserdata.  The Ctrl+Alt+Space didn't work so did the command line solution.

    Thanks :)

  • 2012年7月17日 15:24
     
     

    I had this issue when I accidentally opened my site in VS from the folder containing the wwwroot (rather than opening the wwwroot directly).  In my case, I noticed that the page declaration was indicating an error. 

  • 2012年8月7日 18:06
     
     回答の候補

    This works for me.

    Thanks a lot.

    • 回答の候補に設定 AnithRaj 2012年10月15日 7:19
    •  
  • 2012年10月15日 7:20
     
     

    in case u have done any mistakes in the code intellisence will not work.....check the code....