简体   繁体   中英

How to check if Visual Studio addin was called by pressing a shortcut combination?

I'm writing a little VS addin, which has a shortcut to it. It calls the Exec method fine, but I don't see a way to figure out whether it was called using a shortcut, or clicking in Tools menu. I'm sure it's there somewhere, but the documentation is lacking..

Thanks !

I checked and simply there is no simple way as of i know... and also according to normal practice and behavior addin should not behave differently. It should be independent of the way its executed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM