locked
VS2010 intellisense vs custom project RRS feed

  • Question

  • we have our own project type that encapsulates a C/C++ project. In Vs2010, 
    intellisense no longer works with our project type (it worked fine in VS2003, 
    VS2005, VS2008 with the same binary). Anybody have an idea what causes this?
    
    
    Here is some more detail. With intellisense logging enabled, I see this 
    output for a project where it does not work:
    [General] CCRToolMgr::Exec(nCmdID=318)
    [General] CCRToolMgr::Exec(nCmdID=2)
    [General] CViewNode::Exec(nCmdID=2)
    [General] CVsCppLangFilter::Exec(nCmdID=2)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=2)
    [General] CCRToolMgr::Exec(nCmdID=2)
    [General] CViewNode::Exec(nCmdID=2)
    [General] CVsCppLangFilter::Exec(nCmdID=2)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=2)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [WorkItem] >> [eNowQueue] class CQuickInfoWorkItem
    [WorkItem] [eNowQueue] - Executing class CQuickInfoWorkItem
    [09/02/2010 @ 09:55:50.151]  Param Help Parenthesis :  Failed  :          0 
    ms :  	GetRtThreadHandles<!>(
    }
    
    [WorkItem] [eNowQueue] - class CQuickInfoWorkItem (0ms)
    [IntelliSense] Error Update parse queued (2): 
    C:\Users\jbaan\Test\VS2010Intelli\VS2010Intelli\VS2010Intelli.c
    [WorkItem] >> [eNowQueue] class CQuickInfoWorkItem
    [WorkItem] [eNowQueue] - Executing class CQuickInfoWorkItem
    [09/02/2010 @ 09:55:51.243]  Quick Info            :  Failed  :          0 
    ms :  	GetRtThreadHandles(<!>
    }
    
    [WorkItem] [eNowQueue] - class CQuickInfoWorkItem (0ms)
    [WorkItem] >> [eParseQueue] class CPopulateWorkItem
    [WorkItem] [eParseQueue] - Executing class CPopulateWorkItem
    [WorkItem] [eParseQueue] - class CPopulateWorkItem (0ms)
    [General] CCRToolMgr::Exec(nCmdID=31)
    
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    and this is similar output for a different project where intellisencse does 
    work:
    [General] CCRToolMgr::Exec(nCmdID=318)
    [General] CCRToolMgr::Exec(nCmdID=3)
    [General] CViewNode::Exec(nCmdID=3)
    [General] CVsCppLangFilter::Exec(nCmdID=3)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=3)
    [General] Running "smart" indentation on lines 9 to 9.
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [General] CViewNode::Exec(nCmdID=1)
    [General] CVsCppLangFilter::Exec(nCmdID=1)
    [General] CVsCppLangCodeWinMgr::Exec(nCmdID=1)
    [WorkItem] >> [eNowQueue] class CQuickInfoWorkItem
    [WorkItem] [eNowQueue] - Executing class CQuickInfoWorkItem
    [IntelliSense] translation unit: 
    c:\users\jbaan\test\intelliwiin\intelliwiin\intelliwiin.cpp
    [WorkItem] [eNowQueue] - class CQuickInfoWorkItem (1ms)
    [General] [UI] - class CQuickInfoWorkItem (3ms)
    [09/02/2010 @ 11:06:59.236]  Param Help Parenthesis :  Success :          8 
    ms :  GetRtThreadHandles
    
    [IntelliSense] Error Update parse queued (28): 
    c:\Users\jbaan\Test\IntelliWIin\IntelliWIin\IntelliWIin.cpp
    [WorkItem] >> [eNowQueue] class CQuickInfoWorkItem
    [WorkItem] [eNowQueue] - Executing class CQuickInfoWorkItem
    [WorkItem] >> [eParseQueue] class CPopulateWorkItem
    [IntelliSense] GetVisibleRegion: pTS = {0, 0} - {12, 0} = (0) - (190)
    [WorkItem] [eParseQueue] - Executing class CPopulateWorkItem
    [IntelliSense] Calling UpdateRange with pos range (0, 190)
    [IntelliSense] Executing idle update parse (28): 
    c:\users\jbaan\test\intelliwiin\intelliwiin\intelliwiin.cpp
    [IntelliSense] translation unit: 
    c:\users\jbaan\test\intelliwiin\intelliwiin\intelliwiin.cpp
    [WorkItem] [eNowQueue] - class CQuickInfoWorkItem (2ms)
    [General] [UI] - class CQuickInfoWorkItem (12ms)
    [09/02/2010 @ 11:07:00.328]  Quick Info            :  Failed  :          15 
    ms :  	GetRtThreadHandles(<!>
    }
    
    [General] 	Populate: 35153    6    4 
    c:\users\jbaan\test\intelliwiin\intelliwiin\intelliwiin.cpp
    [WorkItem] [eParseQueue] - class CPopulateWorkItem (26ms)
    [General] [UI] - class CPopulateWorkItem (4ms)
    [WorkItem] >> [eSoonQueue] class CCreateProxyWorkItem
    [WorkItem] [eSoonQueue] - Executing class CCreateProxyWorkItem
    [WorkItem] [eSoonQueue] - class CCreateProxyWorkItem (22ms)
    [General] [UI] - class CCreateProxyWorkItem (1ms)
    [General] CCRToolMgr::Exec(nCmdID=31)
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    Regards, Jan
    
     Was this post helpful to you? 
    Wednesday, September 15, 2010 2:32 PM

Answers

  • Hi,

    If this is a C++/CLI based project, Intellisense might not work as the support has been removed in VS2010.

    Your issue falls into a category that we are not able to resolve using the forums. There are various support options such as advisory and per issue. Please visit the below link to see the various paid support options that are available to better meet your needs. http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone


    bill boyce
    Monday, November 1, 2010 2:44 PM

All replies

  • This is exactly what I'm trying to do!  I'm also very interested in an answer to this!
    Wednesday, September 15, 2010 8:16 PM
  • Hi,

    If this is a C++/CLI based project, Intellisense might not work as the support has been removed in VS2010.

    Your issue falls into a category that we are not able to resolve using the forums. There are various support options such as advisory and per issue. Please visit the below link to see the various paid support options that are available to better meet your needs. http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone


    bill boyce
    Monday, November 1, 2010 2:44 PM