SteffenRoeber

Is there any function to find out whether or not the code model is currently up to date or not The IDE shows it in its status bar (Updating intellisense) and the object browser shows ... files to parse. So I think there should be any function, but I couldn't find.




Re: Visual Studio Extensibility Updating CodeModel/Intellisense

Carlos Quintero - MVP

That info was added for VS 2005 in the new EnvDTE80 assembly. You have:

EnvDTE80.FileCodeModel2.ParseStatus to get the status (Complete, Error)

EnvDTE80.FileCodeModel2.Synchronize() to refresh

I have not tested it, though, just some pointers.






Re: Visual Studio Extensibility Updating CodeModel/Intellisense

SteffenRoeber

Does this mean that I have to iterate over all files in a solution to get the status of the code model This is very slow, or