Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / August 2005

Tip: Looking for answers? Try searching our database.

Intellisense

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Boni - 17 Aug 2005 16:47 GMT
Dear all,
is it possible to programatically force standard MS intellisense to reparse
file?
Thanks,
Boni
"Ed Dore [MSFT]" - 18 Aug 2005 01:01 GMT
Hi Boni,

There doesn't appear to be a way to do so. But you might want to try
explicitly flagging the document as being dirty, this might force an update
of the underlying codemodel. Possibly calling
IVsPersistDocData2::SetDocDataDirty, or IVsPersistDocData::ReloadDocData. I
haven't actually tried this though. Just a suggestion off the top of my
head.

Sincerely,
Ed Dore [MSFT]

This post is 'AS IS' with no warranties, and confers no rights.
Boni - 20 Aug 2005 12:58 GMT
Dear Ed, dear all,
thank you for the suggestion. I would like to test it. The problem is that I
am creating addin. Also Sergey mentioned a great suggestion to get from
addin to VSIP
Dim _sp As Microsoft.VisualStudio.OLE.Interop.IServiceProvider = _DTE

Now ony method of _sp I see is QI.Which interfrace do I have to query in
order to get a document, on which I can call IVsPersistDocData2? (May be
just some pseudocode or ideas would already be would be great).

Hope I don't bother you.

Thanks a lot.

Boni

> Hi Boni,
>
[quoted text clipped - 11 lines]
>
> This post is 'AS IS' with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.