none
How to force intellisense update?

    Question

  • Sometimes I press right click and then "go to definition", and it goes to a wrong place. I think this is because intellisense is not update yet. If this is correct, how to force it update?

    Thanks

    Monday, August 21, 2006 2:38 AM

Answers

  • If your intellisense database is corrupt you can delete it and recreate it.  Go into the directory that contains your solution and delete the .ncb file. When visual studio starts again, it will recreate the database.
    Monday, August 21, 2006 7:19 PM

All replies

  • I used MS Visual C++ 2005.

     

    Thanks

    Monday, August 21, 2006 2:45 AM
  • A build or a save all will cause intellisense to update.
    Monday, August 21, 2006 3:21 AM
  • Hi Aarongo,

     

    Thanks for your answer, I've tried like this many times but cannot force it update. Save all, rebuild all, close VC++ and then reopen again etc. It's not work. It still goes to wrong place when click "Go to definition".

    Do you have any suggestions?

     

    Thank you very much

    Monday, August 21, 2006 10:27 AM
  • If your intellisense database is corrupt you can delete it and recreate it.  Go into the directory that contains your solution and delete the .ncb file. When visual studio starts again, it will recreate the database.
    Monday, August 21, 2006 7:19 PM
  • Thank you Aarongo, it works fine.
    Tuesday, August 22, 2006 1:56 PM