c# - Visual Studio addin - override all existing commands? -
i had idea other day build visual studio extension on github teach people how use hotkeys. have dump of hotkeys available (thanks mads kristensen , shortcutexplorter project).
the way work (if possible) go through every command there in visual studio, , override command myself. then, when invoke it, run run original command, pop semi-transparent dialog saying hotkey use instead.
for instance, if pressing "comment" button comment out lines in visual studio, commenting, , pop dialog saying "this action can invoked via ctrl + k, c instead".
so. possible me override existing commands in visual studio somehow or context menus?
not sure if every event available lot available using envdte namespace.
e.g. (in vb but) findevents interface (provides events find-in-files operations.) ...
<system.contextstaticattribute()> public withevents findevents envdte.findevents public sub findevents_finddone(byval result envdte.vsfindresult, byval cancelled boolean) handles findevents.finddone msgbox("test") end sub
Comments
Post a Comment