Is there a way to have a smart template access a VS tool window?

I want to add or append to the xml comments for a member or type and use the selected workitems in the Team Explorer -> My Work -> In Progress workitems list for some of the information.  

 

I can hack through the particulars, but before I get too far, is it even possible for me to do this with a template, or is another route better?

3 comments
Comment actions Permalink

Hello Andrew!

 

Thank you for contacting us.

As I understand you need integration with TFS which ReSharper doesn't provide.

Thank you.

0
Comment actions Permalink

TFS is not really what I asked about. 

 

I asked if R# smart templates can access tool windows within the IDE. Or if there is a way to invoke the DTE from a smart template in order to access the other Tool Windows. https://msdn.microsoft.com/en-us/library/ee834473.aspx

 

0
Comment actions Permalink

Thank you for clarification!

 

In theory it can be implemented by developing R# plugin and creating custom macros as a part of it. R# live template runs the macros and macros gets all neccessary information about Tool windows.

Thank you.

0

Please sign in to leave a comment.