Evgeni
Evgeni

Reputation: 3343

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 !

Upvotes: 2

Views: 59

Answers (1)

Shekhar_Pro
Shekhar_Pro

Reputation: 18420

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.

Upvotes: 1

Related Questions