Visual Studio Add-in Exec running Automatically

Posted by NewProgrammer on Stack Overflow See other posts from Stack Overflow or by NewProgrammer
Published on 2010-06-03T18:46:40Z Indexed on 2010/06/03 18:54 UTC
Read the original article Hit count: 214

Filed under:
|
|

Hey guys, I have a dilemma that I am uncertain about, as I not sure if it's is exactly possible for a Visual Studio Add-in to run its code automatically.

I need an add-in that can run passively, like a logger for Visual Studios. However, the Exec method that I know so far can only execute commandbar functionality, but I need the code to execute when the user right-clicks, or select a line of text.

I was able to make an automatic logger if i put my code in the "querystatus", but that would be considered bad programming, and it does not log when I simply select a piece of text.

Does anyone know how to make a passive or automatic running code in Visual Studios?

© Stack Overflow or respective owner

Related posts about logging

Related posts about help