News for hackers. Stuff that matters.
Re:Visual Studio commands by ryanmolden on Monday October 22, 2012 @11:05AM (#4683435)
>Assigning handlers to the commands defined in a VSCT file is possible through a global service that is available through the IMenuCommandService

Good high level overview, but the above quoted section is incorrect. IMenuCommandService is not a global service, in fact it is somewhat of a faux service as it is available only inside MPF derived types (WindowPane and Package) and each derived type gets its own, isolated instance. It is not how VS itself "does" commands, but rather bus convienence introduced by MPF. You can also assign handlers for commands defined by others (or the shell) in the same way, but package level handlers will only be invoked for the package that defined them.

Re:Visual Studio commands by eremeevp on Tuesday October 23, 2012 @02:14AM (#4686860)
Thanks for your feedback!