How do I track the method the user is looking at in VS 2010 IDE as an Addin

Posted by Rob on Stack Overflow See other posts from Stack Overflow or by Rob
Published on 2010-04-21T02:29:53Z Indexed on 2010/04/21 2:33 UTC
Read the original article Hit count: 317

Filed under:
|

I have been wandering around the object model for VS 2010 and haven't been able to work out the best method for watching what the user is looking at in the main edit window.

I know that each Class/method/property is broken down into its own . What I would ideally like is to hook to an event which says "The user has moved the cursor onto Project.Class.Method" and ideally "and is looking at line 4".

Any suggestions?

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about ide