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 / IDE / September 2005

Tip: Looking for answers? Try searching our database.

AddIn vs VsPackage: Using IVsTextView to intercept intellisense ac

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott Smith - 26 Sep 2005 18:23 GMT
I need to intercept ECMD_SHOWMEMBERLIST and ECMD_COMPLETEWORD events  and
remove certain classes, methods, etc. that aren't supported for a project
subtype.

There are samples on how to do this (ProjectSubType, FigPkg), but I'd like
to target the Express products as well as Professional, and my understanding
is that the Express products don't support VsPackages, but do support AddIns.

Is it possible to accomplish this in an AddIn?

Thanks in advance.

-Scott
J - 28 Sep 2005 19:02 GMT
Scott,

This is off the top of my head, but I think I read you could
QueryInterface the DTE object for a IServiceProvider interface, and
from there get all the services and interfaces available to packages.

But, given that MS is trying to cut down on the features available in
the express editions (last time I read they didn't support macros and I
felt pity for the poor chaps using it), probably that is disabled as
well. They can easily block it.

Best,

 J

------------------------------------------
ViEmu - vi/vim emulation for Visual Studio
  http://www.ngedit.com/viemu.html

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.